DIST phonenumbers-7.7.5.tar.gz 4639483 SHA256 dba4d75250ac66e3cbea3a4d8434db5d0baded6d8a670835622b2d649ce49753 SHA512 af7d573cc2a230a9f2fb06cdc4db0d9f424110fb37382eab2f4f0e91801d910f923f87518c5fc99b400a1e99bf61c516d111ae3dbc71a6bb9c4841a067e6012a WHIRLPOOL 9ff10771e3aad307fda023dbbe1956db0eec6a5b1f3b6116eb84747dbbaefc85db4136d2f05460797b11388c5ce3a74b8cf867541da32e572f316c46728213af
+DIST phonenumbers-8.3.1.tar.gz 4718199 SHA256 cf69268771975af524d6f59dbbc976d2738f6a0d32984437897a23123b4300aa SHA512 535a9ef057183c90838bb3a28982bcbb3d95fb2c85ebfb4dff9371f0f41d17e71b9ec2d833809f668a5c53ca9eacaa4f791c829c38ec42ec0ca301332213dd34 WHIRLPOOL 97a198ecd437e56880a201891c73d4630440c31ff6f8f8166238b1f8818222c19bedd9490e28d0226eb3f008d10ce0a61116b4d9b64a0b249dcd6a68e10e9d1c
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+S="${WORKDIR}/python-${PN}-${PV}"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+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
+}