summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2018-05-25 10:55:15 +0100
committerMarek Szuba <marecki@gentoo.org>2018-05-25 10:55:15 +0100
commit9a3e66ab55e6e95b6c8cc775ea8ee94f3517f623 (patch)
tree2db68d57b74a09234a8349a5e14c6167bbdc1dc3 /dev-libs/amdgpu-pro-opencl
parentdev-libs/amdgpu-pro-opencl: remove old (diff)
downloadgentoo-9a3e66ab55e6e95b6c8cc775ea8ee94f3517f623.tar.gz
gentoo-9a3e66ab55e6e95b6c8cc775ea8ee94f3517f623.tar.bz2
gentoo-9a3e66ab55e6e95b6c8cc775ea8ee94f3517f623.zip
dev-libs/amdgpu-pro-opencl: switch from versionator to eapi7-ver
Package-Manager: Portage-2.3.39, Repoman-2.3.9
Diffstat (limited to 'dev-libs/amdgpu-pro-opencl')
-rw-r--r--dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild10
1 files 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 a8eb4c59e2aa..e822eb2d141e 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