summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Schmitz <ercpe@gentoo.org>2016-01-16 17:08:18 +0100
committerJohann Schmitz <ercpe@gentoo.org>2016-01-16 17:27:44 +0100
commitbe7cc2d32c9813249a10859bbd7825e1dfe7d230 (patch)
treee6626d446582dca1b45fa2391770d2bdf5da0260
parentmedia-sound/dagrab: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics (diff)
downloadgentoo-be7cc2d32c9813249a10859bbd7825e1dfe7d230.tar.gz
gentoo-be7cc2d32c9813249a10859bbd7825e1dfe7d230.tar.bz2
gentoo-be7cc2d32c9813249a10859bbd7825e1dfe7d230.zip
dev-python/phonenumbers: New ebuild (https://github.com/daviddrysdale/python-phonenumbers)
Dependency of django-two-factor-auth 1.3.0 Package-Manager: portage-2.2.26
-rw-r--r--dev-python/phonenumbers/Manifest1
-rw-r--r--dev-python/phonenumbers/metadata.xml11
-rw-r--r--dev-python/phonenumbers/phonenumbers-7.2.3.ebuild26
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
new file mode 100644
index 00000000000..f6145fbc283
--- /dev/null
+++ b/dev-python/phonenumbers/Manifest
@@ -0,0 +1 @@
+DIST phonenumbers-7.2.3.tar.gz 4252048 SHA256 7a9735fc1083ddf161e4eb2800cab11abd98b06b4f384c405e4752d654f0aab3 SHA512 73d544c963e4cf33b8cd2d73ba9e4df0c3c77bc2718358ef686a549a5c11d326c4fd73dd11cea97d814732d41021c51e0675d483d133bd44be38eb65ff443689 WHIRLPOOL c455961517ef805f246e8c65ed95a868da9b1c05a20a0d33024cd9435d751c1410dbcde5fbc6520df8ac322785c4339a46db79410e430d61b8ecf852e782c41e
diff --git a/dev-python/phonenumbers/metadata.xml b/dev-python/phonenumbers/metadata.xml
new file mode 100644
index 00000000000..13f6795bf79
--- /dev/null
+++ b/dev-python/phonenumbers/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>ercpe@gentoo.org</email>
+ <name>Johann Schmitz (ercpe)</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">daviddrysdale/python-phonenumbers</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/phonenumbers/phonenumbers-7.2.3.ebuild b/dev-python/phonenumbers/phonenumbers-7.2.3.ebuild
new file mode 100644
index 00000000000..e56e0fad2e7
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-7.2.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
+
+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/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+S="${WORKDIR}/python-${PN}-release-${PV}"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ esetup.py test
+} \ No newline at end of file