summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2019-09-14 15:53:22 +0200
committerCédric Krier <cedk@gentoo.org>2019-09-14 15:54:19 +0200
commit37364d7ad956a8765b40ec3196afcd756d812ca8 (patch)
tree556bd7ad3669fb22376a9ff9b0747a903fbf2d97 /dev-python/phonenumbers
parentpackage.mask: Last rite net-misc/pump (diff)
downloadgentoo-37364d7ad956a8765b40ec3196afcd756d812ca8.tar.gz
gentoo-37364d7ad956a8765b40ec3196afcd756d812ca8.tar.bz2
gentoo-37364d7ad956a8765b40ec3196afcd756d812ca8.zip
dev-python/phonenumbers: Version bumps
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Cédric Krier <cedk@gentoo.org>
Diffstat (limited to 'dev-python/phonenumbers')
-rw-r--r--dev-python/phonenumbers/Manifest2
-rw-r--r--dev-python/phonenumbers/metadata.xml12
-rw-r--r--dev-python/phonenumbers/phonenumbers-8.10.18.ebuild (renamed from dev-python/phonenumbers/phonenumbers-8.3.1.ebuild)14
3 files changed, 15 insertions, 13 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index 7738568c9997..bf224349d2c9 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1 +1 @@
-DIST phonenumbers-8.3.1.tar.gz 4718199 BLAKE2B 83e8d12f525d2dcf09f3a5c4e08d6ccac9444d47c952c79454834850c7b2c9b0272fd23e83056a2570abbf9b2edf3080021de7cbf3351c6975f0a8d03a9eabb2 SHA512 535a9ef057183c90838bb3a28982bcbb3d95fb2c85ebfb4dff9371f0f41d17e71b9ec2d833809f668a5c53ca9eacaa4f791c829c38ec42ec0ca301332213dd34
+DIST phonenumbers-8.10.18.tar.gz 2307397 BLAKE2B 13e39a6fbb1a3d08dfbd373f1e425a8dd7fc7199e9cf0eb4386bf9cf1dcdaa6e90ff9cf1aa5ae9296397f827e8db1f02d740bcffba40810f4e6d74563b398dc5 SHA512 001c549d561770d1e0cbe6c8b15b091fad0eb362d5893b4d066f773ef497ed3b2b27c3a85f7114c1d8b41a16614005b8947ee5189b5bebfc6ee044cd3f0fa30b
diff --git a/dev-python/phonenumbers/metadata.xml b/dev-python/phonenumbers/metadata.xml
index a00296d9a77f..39e65b3ef9f0 100644
--- a/dev-python/phonenumbers/metadata.xml
+++ b/dev-python/phonenumbers/metadata.xml
@@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">daviddrysdale/python-phonenumbers</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>cedk@gentoo.org</email>
+ <name>Cédric Krier</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">phonenumbers</remote-id>
+ <remote-id type="github">daviddrysdale/python-phonenumbers</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-python/phonenumbers/phonenumbers-8.3.1.ebuild b/dev-python/phonenumbers/phonenumbers-8.10.18.ebuild
index 6a52d104a1a6..663edcd69404 100644
--- a/dev-python/phonenumbers/phonenumbers-8.3.1.ebuild
+++ b/dev-python/phonenumbers/phonenumbers-8.10.18.ebuild
@@ -1,27 +1,25 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Python port of Google's libphonenumber"
HOMEPAGE="https://github.com/daviddrysdale/python-phonenumbers"
-SRC_URI="https://github.com/daviddrysdale/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
-S="${WORKDIR}/python-${PN}-${PV}"
-
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DOCS="README.rst"
+
python_test() {
- # the locale test compiles and runs a .java file
- sed -i -r 's/^(alldata:.*)locale/\1/g' tools/python/makefile || die
- emake -C tools/python test
+ esetup.py test
}