dev-python/basemap: Switch to python-single-r1

basemap needs to be single-r1 since its dependency sci-libs/geos is.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-02-08 12:26:34 +01:00
parent d9e2995129
commit ab0afda12a
2 changed files with 30 additions and 26 deletions

View File

@@ -3,6 +3,7 @@
EAPI=5
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 flag-o-matic
@@ -16,20 +17,21 @@ SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
LICENSE="MIT GPL-2"
CDEPEND="sci-libs/shapelib
|| (
>=dev-python/matplotlib-python2-0.98[${PYTHON_USEDEP}]
>=dev-python/matplotlib-0.98[${PYTHON_USEDEP}]
)
>=sci-libs/geos-3.3.1[python(-),${PYTHON_USEDEP}]"
DEPEND="sci-libs/shapelib
$(python_gen_cond_dep '
|| (
>=dev-python/matplotlib-python2-0.98[${PYTHON_MULTI_USEDEP}]
>=dev-python/matplotlib-0.98[${PYTHON_MULTI_USEDEP}]
)
')
>=sci-libs/geos-3.3.1[python(-),${PYTHON_SINGLE_USEDEP}]"
DEPEND="${CDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}
>=dev-python/pupynere-1.0.8[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
dev-python/dap[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
$(python_gen_cond_dep '
>=dev-python/pupynere-1.0.8[${PYTHON_MULTI_USEDEP}]
dev-python/httplib2[${PYTHON_MULTI_USEDEP}]
dev-python/dap[${PYTHON_MULTI_USEDEP}]
')"
DOCS="FAQ API_CHANGES"
#REQUIRED_USE="test? ( examples )"

View File

@@ -3,6 +3,7 @@
EAPI=5
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 flag-o-matic
@@ -16,20 +17,21 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="MIT GPL-2"
CDEPEND="sci-libs/shapelib
|| (
>=dev-python/matplotlib-python2-0.98[${PYTHON_USEDEP}]
>=dev-python/matplotlib-0.98[${PYTHON_USEDEP}]
)
>=sci-libs/geos-3.3.1[python(-),${PYTHON_USEDEP}]"
DEPEND="sci-libs/shapelib
$(python_gen_cond_dep '
|| (
>=dev-python/matplotlib-python2-0.98[${PYTHON_MULTI_USEDEP}]
>=dev-python/matplotlib-0.98[${PYTHON_MULTI_USEDEP}]
)
')
>=sci-libs/geos-3.3.1[python(-),${PYTHON_SINGLE_USEDEP}]"
DEPEND="${CDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}
>=dev-python/pupynere-1.0.8[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
dev-python/dap[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
$(python_gen_cond_dep '
>=dev-python/pupynere-1.0.8[${PYTHON_MULTI_USEDEP}]
dev-python/httplib2[${PYTHON_MULTI_USEDEP}]
dev-python/dap[${PYTHON_MULTI_USEDEP}]
')"
DOCS="FAQ API_CHANGES"
#REQUIRED_USE="test? ( examples )"