commit:     8fbbedeed2c3fc951b0cb6d6a83f2b44bc25262c
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  4 15:00:58 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Aug  5 13:52:46 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbbedee

dev-python/ipaddr: version bump.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/ipaddr/Manifest            |  1 +
 dev-python/ipaddr/ipaddr-2.2.0.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/dev-python/ipaddr/Manifest b/dev-python/ipaddr/Manifest
index a3fe3ad450e..0ff11febdd8 100644
--- a/dev-python/ipaddr/Manifest
+++ b/dev-python/ipaddr/Manifest
@@ -1 +1,2 @@
 DIST ipaddr-2.1.11.tar.gz 29046 BLAKE2B 
8196898209d580ce25bc2ccb05b2e772c42c053116749bb5137a87b6648472c4fab522d76405510cb2304859b4179c593b213739e9294a1af1d9894cac7040ab
 SHA512 
a97b0f760f0d7fac549e5edf17b644c966a8858c145b8f9472ddc8bf4805c9d537f6f8755e3716d78b729b87e84149f8b73c7f98c0deee4fbf266ccb7a206bc6
+DIST ipaddr-2.2.0.tar.gz 26266 BLAKE2B 
f12807beb52c5cb3c7da2afa4b61b264fb58f0100900e5ca062127ce218f9f5710f38ac7c7183a7aa08b77757c39866d169e6e39c3bc5c6c55df003a9b414ec0
 SHA512 
5adb117c44e6e5dbdb9e96543aa7a34f35b4a4ec9baa163a25448058c34091bf4019d24f0250928291e4d4bc97dcdf75865daef739e2d94f98cc584e6e6c50dd

diff --git a/dev-python/ipaddr/ipaddr-2.2.0.ebuild 
b/dev-python/ipaddr/ipaddr-2.2.0.ebuild
new file mode 100644
index 00000000000..ed6a948969e
--- /dev/null
+++ b/dev-python/ipaddr/ipaddr-2.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Python IP address manipulation library"
+HOMEPAGE="https://github.com/google/ipaddr-py https://pypi.org/project/ipaddr/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_prepare() {
+       if python_is_python3; then
+               2to3 -n -w --no-diffs *.py || die
+       fi
+}
+
+python_test() {
+       distutils_install_for_testing
+       "${EPYTHON}" ipaddr_test.py || die "Tests fail with ${EPYTHON}"
+}

Reply via email to