dev-python/netcdf4-python: Remove Python 2
authorMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 05:17:48 +0000 (06:17 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 05:17:48 +0000 (06:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/netcdf4-python/netcdf4-python-1.2.2-r1.ebuild

index 6496b83526975d27d57b87f44f59623355b03aa6..04caabe5fdf333f183ca86d044a210848ace5750 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
@@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND="
-       dev-python/numpy
+       dev-python/numpy[${PYTHON_USEDEP}]
        sci-libs/hdf5
        sci-libs/netcdf:=[hdf,hdf5]"
 BDEPEND="${RDEPEND}"