diff options
author | Sam James <sam@gentoo.org> | 2021-03-04 03:03:37 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-04 03:03:37 +0000 |
commit | 5b5ecf4c7257efd69bff134e23c7427907b10d1d (patch) | |
tree | 9189ed893061083957d0f6b2e40a9276b77eaa74 /dev-python/geoip-python | |
parent | dev-python/guzzle_sphinx_theme: add Python 3.9 (diff) | |
download | gentoo-5b5ecf4c7257efd69bff134e23c7427907b10d1d.tar.gz gentoo-5b5ecf4c7257efd69bff134e23c7427907b10d1d.tar.bz2 gentoo-5b5ecf4c7257efd69bff134e23c7427907b10d1d.zip |
dev-python/geoip-python: add Python 3.9
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/geoip-python')
-rw-r--r-- | dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild | 20 |
1 files changed, 7 insertions, 13 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 04f3cb2e12c9..6097ed5189aa 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,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python3_{7,8} pypy3 ) +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} 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 |