dev-libs/cudnn: [QA] Fix UnderscoreInUseFlag
authorDavid Seifert <soap@gentoo.org>
Fri, 21 Feb 2020 21:04:18 +0000 (22:04 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 21 Feb 2020 21:04:18 +0000 (22:04 +0100)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
dev-libs/cudnn/cudnn-7.6.5.32-r2.ebuild [moved from dev-libs/cudnn/cudnn-7.6.5.32-r1.ebuild with 67% similarity]
dev-libs/cudnn/metadata.xml

similarity index 67%
rename from dev-libs/cudnn/cudnn-7.6.5.32-r1.ebuild
rename to dev-libs/cudnn/cudnn-7.6.5.32-r2.ebuild
index 403e64d9e5f2545b5feebdded2becb25ac5c8a07..e4c0526676b382bdda74538619e0b5637c9a651d 100644 (file)
@@ -6,8 +6,8 @@ EAPI=7
 DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library"
 HOMEPAGE="https://developer.nvidia.com/cuDNN"
 
-SRC_URI="cuda10_2? ( cudnn-10.2-linux-x64-v${PV}.tgz )
-       cuda10_1? ( cudnn-10.1-linux-x64-v${PV}.tgz )"
+SRC_URI="cuda10-2? ( cudnn-10.2-linux-x64-v${PV}.tgz )
+       cuda10-1? ( cudnn-10.1-linux-x64-v${PV}.tgz )"
 
 SLOT="0/7"
 KEYWORDS="~amd64 ~amd64-linux"
@@ -15,13 +15,13 @@ RESTRICT="fetch"
 LICENSE="NVIDIA-cuDNN"
 QA_PREBUILT="*"
 
-IUSE="+cuda10_2 cuda10_1"
-REQUIRED_USE="^^ ( cuda10_2 cuda10_1 )"
+IUSE="+cuda10-2 cuda10-1"
+REQUIRED_USE="^^ ( cuda10-2 cuda10-1 )"
 
 S="${WORKDIR}"
 
-DEPEND="cuda10_2? ( =dev-util/nvidia-cuda-toolkit-10.2* )
-       cuda10_1? ( =dev-util/nvidia-cuda-toolkit-10.1* )"
+DEPEND="cuda10-2? ( =dev-util/nvidia-cuda-toolkit-10.2* )
+       cuda10-1? ( =dev-util/nvidia-cuda-toolkit-10.1* )"
 RDEPEND="${DEPEND}"
 
 src_install() {
index 5986e2a043f309b92456501d37555ce8adf4bb7a..f40517d5d330ec924901d08ede609a571456bdb3 100644 (file)
@@ -6,7 +6,7 @@
     <name>Gentoo Science Project</name>
   </maintainer>
   <use>
-    <flag name="cuda10_2">On nVidia CUDA 10.2.</flag>
-    <flag name="cuda10_1">On nVidia CUDA 10.1.</flag>
+    <flag name="cuda10-2">On nVidia CUDA 10.2.</flag>
+    <flag name="cuda10-1">On nVidia CUDA 10.1.</flag>
   </use>
 </pkgmetadata>