From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15FCD138334 for ; Sun, 5 Aug 2018 13:53:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36A3BE07D7; Sun, 5 Aug 2018 13:53:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE574E07D7 for ; Sun, 5 Aug 2018 13:53:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0764335CCD for ; Sun, 5 Aug 2018 13:53:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38183395 for ; Sun, 5 Aug 2018 13:53:15 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1533477166.8fbbedeed2c3fc951b0cb6d6a83f2b44bc25262c.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipaddr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ipaddr/Manifest dev-python/ipaddr/ipaddr-2.2.0.ebuild X-VCS-Directories: dev-python/ipaddr/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 8fbbedeed2c3fc951b0cb6d6a83f2b44bc25262c X-VCS-Branch: master Date: Sun, 5 Aug 2018 13:53:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0a331a64-c199-4bf4-8654-3120f6d535b0 X-Archives-Hash: 2a69dff848ee6495001b76cc14754833 commit: 8fbbedeed2c3fc951b0cb6d6a83f2b44bc25262c Author: Patrice Clement gentoo org> AuthorDate: Sat Aug 4 15:00:58 2018 +0000 Commit: Patrice Clement gentoo 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}" +}