diff options
Diffstat (limited to 'dev-python/geoip-python')
| -rw-r--r-- | dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild b/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild index cb3c41df42d9..921147eee26d 100644 --- a/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild +++ b/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 @@ -12,6 +13,7 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="Python bindings for GeoIP" HOMEPAGE="https://github.com/maxmind/geoip-api-python" SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-2+" SLOT="0" @@ -20,19 +22,11 @@ IUSE="examples test" RESTRICT="!test? ( test )" RDEPEND=">=dev-libs/geoip-1.4.8" -DEPEND=" - ${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] ) -" - -S="${WORKDIR}/${MY_P}" +DEPEND="${RDEPEND}" DOCS=( README.rst ChangeLog.md ) -python_test() { - esetup.py test -} +distutils_enable_tests nose python_install_all() { if use examples; then |
