summaryrefslogtreecommitdiff
path: root/dev-python/phonenumbers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/phonenumbers
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/phonenumbers')
-rw-r--r--dev-python/phonenumbers/Manifest3
-rw-r--r--dev-python/phonenumbers/metadata.xml8
-rw-r--r--dev-python/phonenumbers/phonenumbers-8.3.1.ebuild27
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
new file mode 100644
index 000000000000..088edba09660
--- /dev/null
+++ b/dev-python/phonenumbers/Manifest
@@ -0,0 +1,3 @@
+DIST phonenumbers-8.3.1.tar.gz 4718199 BLAKE2B 83e8d12f525d2dcf09f3a5c4e08d6ccac9444d47c952c79454834850c7b2c9b0272fd23e83056a2570abbf9b2edf3080021de7cbf3351c6975f0a8d03a9eabb2 SHA512 535a9ef057183c90838bb3a28982bcbb3d95fb2c85ebfb4dff9371f0f41d17e71b9ec2d833809f668a5c53ca9eacaa4f791c829c38ec42ec0ca301332213dd34
+EBUILD phonenumbers-8.3.1.ebuild 710 BLAKE2B f7b97e95a1698fc912d5c37e7a482ceca1672db2d05336d931200108fdd6fb426c70a8cc291c39e113b51ecd43fed936248902831c259755dc568e9024e4846b SHA512 fb6925cf90effe4b483ade58d03b420321433bedc0bcc9eca0c532c3bbab4243151077c9e08609b9613d6e32b9a68a1afa2b92ea7f42f7ac95dc0ec350a7be8f
+MISC metadata.xml 270 BLAKE2B e7119d6632270972a7e7609c3dc36dd5e6d7f2330dcaeca24d37fffbff7ed9e6ce6d792e72fea8f5e16f9c3492f81fcf650979ae6f9032de2fd2ae862cdee330 SHA512 c0c1f1bf8b254298ccde2d9a82ffec596806b4007090922df2686bb11af0a1fdb47f4637ec1ced0ff081e41032b2704e58fd70367a1ea7847206034f74282cf2
diff --git a/dev-python/phonenumbers/metadata.xml b/dev-python/phonenumbers/metadata.xml
new file mode 100644
index 000000000000..a00296d9a77f
--- /dev/null
+++ b/dev-python/phonenumbers/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-python/phonenumbers/phonenumbers-8.3.1.ebuild b/dev-python/phonenumbers/phonenumbers-8.3.1.ebuild
new file mode 100644
index 000000000000..77ebf1a36080
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.3.1.ebuild
@@ -0,0 +1,27 @@
+# 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
+}