public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipaddr/
Date: Sat, 29 Jan 2022 15:02:15 +0000 (UTC)	[thread overview]
Message-ID: <1643468217.35166b74bbb86f4234ca9caeee0c545461d9870b.mgorny@gentoo> (raw)

commit:     35166b74bbb86f4234ca9caeee0c545461d9870b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 14:56:26 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 14:56:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35166b74

dev-python/ipaddr: Switch to PEP 517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/ipaddr/ipaddr-2.2.0-r2.ebuild | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/dev-python/ipaddr/ipaddr-2.2.0-r2.ebuild b/dev-python/ipaddr/ipaddr-2.2.0-r2.ebuild
new file mode 100644
index 000000000000..cf3c4704e910
--- /dev/null
+++ b/dev-python/ipaddr/ipaddr-2.2.0-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+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 ~ppc64 ~x86"
+
+src_configure() {
+	2to3 -n -w --no-diffs *.py || die
+}
+
+python_test() {
+	"${EPYTHON}" ipaddr_test.py || die "Tests fail with ${EPYTHON}"
+}


             reply	other threads:[~2022-01-29 15:02 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29 15:02 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-31 17:43 [gentoo-commits] repo/gentoo:master commit in: dev-python/ipaddr/ Michał Górny
2022-06-01  7:55 Sam James
2022-03-15 14:10 Michał Górny
2022-03-15 11:36 Jakov Smolić
2022-01-29 22:09 Michał Górny
2021-06-05 14:17 Michał Górny
2021-03-30  9:31 David Seifert
2021-03-02  8:40 Sam James
2021-03-02  8:40 Sam James
2020-09-25 10:20 Michał Górny
2020-05-15  4:03 Patrick McLean
2020-03-25 13:00 Michał Górny
2020-03-25 13:00 Michał Górny
2020-03-25 13:00 Michał Górny
2019-12-28 22:11 Georgy Yakovlev
2019-12-03 16:08 Aaron Bauman
2018-12-03  2:43 Jonathan Callen
2018-08-05 13:53 Patrice Clement
2017-05-15 13:04 Manuel Rüger
2017-02-24 17:43 Markus Meier
2017-02-22 16:08 Agostino Sarubbo
2017-02-22 15:06 Agostino Sarubbo
2017-01-16 17:46 David Seifert
2016-12-29 17:46 Göktürk Yüksek
2016-11-24 20:59 Mike Gilbert
2016-01-05  3:01 Richard Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1643468217.35166b74bbb86f4234ca9caeee0c545461d9870b.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox