summaryrefslogtreecommitdiff
path: root/dev-python/netaddr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-10 11:34:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-10 11:34:01 +0000
commitcc901a8ce7c6bfe97e3b4f048619693d360ae348 (patch)
treec250ff07a4d508fa08b487b616e0ae8aff2f0d8e /dev-python/netaddr
parentc9badf79e4669147edb94182af5776072f2ffaea (diff)
gentoo auto-resync : 10:02:2024 - 11:34:00
Diffstat (limited to 'dev-python/netaddr')
-rw-r--r--dev-python/netaddr/Manifest4
-rw-r--r--dev-python/netaddr/metadata.xml3
-rw-r--r--dev-python/netaddr/netaddr-1.0.0.ebuild37
3 files changed, 43 insertions, 1 deletions
diff --git a/dev-python/netaddr/Manifest b/dev-python/netaddr/Manifest
index 24f42fae5ae9..9401d0811e3f 100644
--- a/dev-python/netaddr/Manifest
+++ b/dev-python/netaddr/Manifest
@@ -1,3 +1,5 @@
DIST netaddr-0.10.1.tar.gz 2225283 BLAKE2B 1e350909779af0bf48d74834194358386cf4f8e11fa7b03c971b3011bcec437cc39feb72e7e79d55eb330e6ee138d15bb6dba9293667e1adb4ed1c6d42a35d78 SHA512 ca04171d5cbfd569d4f262f4870610edfd98be35899cb70983dbff5f37add963e05987ddbe1ab22d9b615580ac1abe96a8c2903681b18af8c9f2f96899b618ff
+DIST netaddr-1.0.0.tar.gz 2233464 BLAKE2B c79e7dafe81219f39d97d1d7e5f320d8082e9a967edb9faf9345aac9f58d9deb37152d4d1583bd869594531c98f27bb4bbd3e439c217152b188b03cb7b82b8d0 SHA512 0eb27a655c03ea2a26ea11b88324f6c1c15b6458abd0ba056a4651038261038c8c852a866b5c45e96a87f107a2b23ec259c868c2122ae450b31b4fff91ea9962
EBUILD netaddr-0.10.1.ebuild 652 BLAKE2B 4dc1debe113519a1a60ccc4e9054d06374395962f0d0566c0b68fe8284b4fab390b425edb16ed8c33ddfccd1264d8ce30118486a589b86701ef63a6d0597da1e SHA512 7dd192046c075ae9628e42582adf933a10ec8eb8ded10a57931bcb64adb4cb580b07d4334b2e9c333d11f545dae655d4970a2c70352229e31d4c77f1ac009978
-MISC metadata.xml 580 BLAKE2B fa813dd9ba11bbe59493df919e010a21ccc3d94a3683e5687953eb6bf6b759b61e03de1d4f7810cc7f2d189fe936c7fab754713ac315c06f7a24c86c0c7da67d SHA512 bd4d624a37b55968e2ac085f7f254343a6e2903ce50c0a54244238a0f436b67ef6a13e60f39c6cee4c043312602f19cdca6b6d67ac9a75677e7af8f14afeed1b
+EBUILD netaddr-1.0.0.ebuild 772 BLAKE2B 829ac3364ac5021682357262561aee21a2bc23d5a46c70c39fd7b93ebffa9fabf1b1f891f7b70414f65259f8299bda85e6633613e4239e5301794dcff0271e97 SHA512 8f7d2828eacedbffa6f0c1d18dcbf688658d890ad1723ee5fe356df0dd567a7395b87e452eeaca9bdc90dd1a49e6cebd495eb6c904a8324f12904a0397e22214
+MISC metadata.xml 654 BLAKE2B 5029e99b0ca0571eeb4bb5b6676488825249d91f67c8809db9ed4c4203517ef2fbe9529fe9c19f08aaa079fad7cc01a4e597db1d08197c68ab6409ef1da5edb0 SHA512 cd98f38b05445bcd55e6c62c4f685cc5a291544afff161ac65258481aad196629f82e19fc6f79711f86470f0aa2cb93ee8f6148095446b4ecce15519c499055a
diff --git a/dev-python/netaddr/metadata.xml b/dev-python/netaddr/metadata.xml
index c2c2e497ab05..15bf8f3ccb7c 100644
--- a/dev-python/netaddr/metadata.xml
+++ b/dev-python/netaddr/metadata.xml
@@ -13,4 +13,7 @@
<changelog>https://github.com/netaddr/netaddr/blob/master/CHANGELOG</changelog>
<doc>https://netaddr.readthedocs.io/</doc>
</upstream>
+ <use>
+ <flag name="cli">Provide a command-line interface</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-python/netaddr/netaddr-1.0.0.ebuild b/dev-python/netaddr/netaddr-1.0.0.ebuild
new file mode 100644
index 000000000000..e853a21da5ec
--- /dev/null
+++ b/dev-python/netaddr/netaddr-1.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Network address representation and manipulation library"
+HOMEPAGE="
+ https://github.com/netaddr/netaddr/
+ https://pypi.org/project/netaddr/
+ https://netaddr.readthedocs.io/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="cli"
+
+RDEPEND="
+ cli? ( dev-python/ipython[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_sphinx docs/source \
+ dev-python/furo
+distutils_enable_tests pytest
+
+src_prepare() {
+ if ! use cli; then
+ sed -i -e '/netaddr\.cli/d' pyproject.toml || die
+ fi
+
+ distutils-r1_src_prepare
+}