From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6E956138331 for ; Fri, 25 May 2018 10:04:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 561D3E0821; Fri, 25 May 2018 10:04:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F111E0821 for ; Fri, 25 May 2018 10:04:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C44D335C8D for ; Fri, 25 May 2018 10:04:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AC022A9 for ; Fri, 25 May 2018 10:04:40 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1527242115.9a3e66ab55e6e95b6c8cc775ea8ee94f3517f623.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild X-VCS-Directories: dev-libs/amdgpu-pro-opencl/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 9a3e66ab55e6e95b6c8cc775ea8ee94f3517f623 X-VCS-Branch: master Date: Fri, 25 May 2018 10:04:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 354cf85c-6121-4929-b412-b471f2a55668 X-Archives-Hash: 1926893ac31c46fae4dc6ecc33c745fa commit: 9a3e66ab55e6e95b6c8cc775ea8ee94f3517f623 Author: Marek Szuba gentoo org> AuthorDate: Fri May 25 09:55:15 2018 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri May 25 09:55:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3e66ab dev-libs/amdgpu-pro-opencl: switch from versionator to eapi7-ver Package-Manager: Portage-2.3.39, Repoman-2.3.9 .../amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild index a8eb4c59e2a..e822eb2d141 100644 --- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild +++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit unpacker versionator +inherit unpacker eapi7-ver SUPER_PN='amdgpu-pro' -MY_PV=$(replace_version_separator 2 '-') +MY_PV=$(ver_rs 2 '-') DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs" HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx" @@ -26,7 +26,7 @@ QA_PREBUILT="/opt/${SUPER_PN}/lib*/*" S="${WORKDIR}/${SUPER_PN}-${MY_PV}" pkg_nofetch() { - local pkgver=$(get_version_component_range 1-2) + local pkgver=$(ver_cut 1-2) einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu from" einfo " ${HOMEPAGE}" einfo "The archive should then be placed into ${DISTDIR}." @@ -37,7 +37,7 @@ src_unpack() { local ids_ver="1.0.0" local libdrm_ver="2.4.82" - local patchlevel=$(get_version_component_range 3) + local patchlevel=$(ver_cut 3) cd "${S}" || die unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb unpack_deb libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb