summaryrefslogtreecommitdiff
path: root/dev-python/configshell-fb
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/configshell-fb')
-rw-r--r--dev-python/configshell-fb/Manifest6
-rw-r--r--dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild44
-rw-r--r--dev-python/configshell-fb/metadata.xml38
3 files changed, 68 insertions, 20 deletions
diff --git a/dev-python/configshell-fb/Manifest b/dev-python/configshell-fb/Manifest
index 628737f1ceba..d536704b1080 100644
--- a/dev-python/configshell-fb/Manifest
+++ b/dev-python/configshell-fb/Manifest
@@ -1,3 +1,7 @@
+DIST configshell-fb-1.1.29-replace-getargspec-1.patch 1398 BLAKE2B 650efe1dad551ad040001cb2f576311806d329bd430874e1dac38a5cb94c4801140f32b628e0089809214466613e8f207ba3aff1a87dd8ca29c05593b551e5d7 SHA512 59c320939d4590dc2933de7d0ad613efd7236868fd898ce1edadbc55d1ecd8667e28a5c03caa80ea12420db3dd0e4de8c36ef5528352920d98acfd881648154a
+DIST configshell-fb-1.1.29-replace-getargspec-2.patch 2981 BLAKE2B 88400de96d329c0efd2a9e9cb41f1c53e62c28507439c405874726fccc6093d5fe37e52b6e4b811bf0ccc7616c9a26b83b17e39a257aeab3c4114e1486a32575 SHA512 621b125cde9fcc68f46a3a32fd78190a46f900ec808233a60c4beb22c6109165f0743a341991e6c556dc5a76b7c6a42b703f2a6be91915110f196845a3fa111c
+DIST configshell-fb-1.1.29.gh.tar.gz 33192 BLAKE2B 6c9c2146a597572675611afe259122b0ec9614295c4b9b4056d7a16f35004700b1e6fc29e1bf868d9ba6291b781ca35eab77e8adf23c6d23e09de2fb94626f26 SHA512 1b5f573506317119d2420e415abbb856692caa65a7f407f741300eec302d1b442e29d2691f6a192b202b2a5731a7a179d1b03f6cd27780876194d97e4df5f7d0
DIST configshell-fb-1.1.29.tar.gz 55036 BLAKE2B 4a9a8f2573b43a9c8ddbda837e831c96b221f4499acb1aeeb990a7b1050c5572e9b745857ac9d1de4089d1758dd1284d0555da524def80e0a1caac18bb43a921 SHA512 0d7663cf58431c8b0be5618e5ef454838489e11a3074e5bd63145c3ea965065e37f1a41b5775363a35498a4d5dd86ad5453feb58dd74853cd77ae196b44c658e
+EBUILD configshell-fb-1.1.29-r1.ebuild 1376 BLAKE2B 278cac26851259efcf11278abe7ecb600a3044acd1f0edf3e72deaf7aba0063fc7a101a76efa1eda41ea7a0bee31b4bc72d39d1871d894e13d56b564ec1895ce SHA512 a4d35df1379d9751921d5cb1ccf15ecdb4c31486f34a2f16f2869aff9895209e9614505c832b9805ec38739ea190c1c388ea76a01387efcff0dce3f9137ae866
EBUILD configshell-fb-1.1.29.ebuild 573 BLAKE2B c9183cc98b502edf3b278ddadc6cb9d6a7e7336216600c5d8a1147d17dd98b40cb4548a390f5cbba84e7ef131b59d1a69af8bdb77eb4d7a48a935aa7378c3ae2 SHA512 76c285e343031bc6930d23e21612faf912b8b7d87b0f4de1de7d3004000020ae1a7ecf42e8b3e0ab9d83689811437bbe2b2e79c231526cd038283c0730f75f14
-MISC metadata.xml 770 BLAKE2B 71a53fe2d6b0b5483e9b4e962d7dac4cd13fa223c6c93a8c6cf4e5cb4c155c35f53e01cb2d0ebdd5b03ca9b3cd4ee455be6660f883815d7242ca21e6ee7e9b05 SHA512 471f78e6afd51a3d1b3c941e344d234faf0b6014c3fa6bd24906f63efa12508490d8a2a9e652b427b34aae1e4d6d83d7c28058054edc013d63a1a4de3711915b
+MISC metadata.xml 789 BLAKE2B fc1e6e767a4b869c7cfade0a030133a746acdea98b9991740eb82a74f82eb29d495807682a1d521667162ba39a68c966c78ff1e39338d1273d173915e6401a61 SHA512 76a628ddb64f2ce5e0fa09faef29cb7b643e03cee337b9b3554d3a6ac3873be64b8fc66067c93087938e71473f0e2ae3af0a50f0a3b19195b87d69680ded5cd8
diff --git a/dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild b/dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild
new file mode 100644
index 000000000000..633970b1409b
--- /dev/null
+++ b/dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="A Python library for building configuration shells"
+HOMEPAGE="
+ https://github.com/open-iscsi/configshell-fb/
+ https://pypi.org/project/configshell-fb/
+"
+SRC_URI="
+ https://github.com/open-iscsi/configshell-fb/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ https://github.com/open-iscsi/configshell-fb/commit/f3ac914861bd605e3d634aeeb5e706abdbd39259.patch
+ -> ${P}-replace-getargspec-1.patch
+ https://github.com/open-iscsi/configshell-fb/commit/50d5ffe9f213a53588cec88c9919c816b3fa7736.patch
+ -> ${P}-replace-getargspec-2.patch
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ # Python3.11 fixes of deprecated getargspec function taken from upstream:
+ # - https://github.com/open-iscsi/configshell-fb/pull/64
+ "${DISTDIR}/${P}-replace-getargspec-1.patch"
+ # - https://github.com/open-iscsi/configshell-fb/pull/65
+ "${DISTDIR}/${P}-replace-getargspec-2.patch"
+)
+
+python_test() {
+ "${EPYTHON}" examples/myshell || die "Test failed with ${EPYTHON}"
+}
diff --git a/dev-python/configshell-fb/metadata.xml b/dev-python/configshell-fb/metadata.xml
index 43d40de7baa2..847c135cf482 100644
--- a/dev-python/configshell-fb/metadata.xml
+++ b/dev-python/configshell-fb/metadata.xml
@@ -1,23 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
-<stabilize-allarches/>
-<longdescription lang="en">
- configshell-fb is a Python library that provides a framework
- for building simple but nice CLI-based applications.
-</longdescription>
-<upstream>
- <maintainer status="active">
- <email>mlombard@redhat.com</email>
- <name>Maurizio Lombardi</name>
- </maintainer>
- <maintainer>
- <email>agrover@redhat.com</email>
- <name>Andy Grover</name>
- </maintainer>
- <remote-id type="github">open-iscsi/configshell-fb</remote-id>
- <remote-id type="pypi">configshell-fb</remote-id>
- <bugs-to>https://github.com/open-iscsi/configshell-fb/issues</bugs-to>
-</upstream>
+ <!-- maintainer-needed -->
+ <stabilize-allarches/>
+ <longdescription lang="en">
+ configshell-fb is a Python library that provides a framework
+ for building simple but nice CLI-based applications.
+ </longdescription>
+ <upstream>
+ <maintainer status="active">
+ <email>mlombard@redhat.com</email>
+ <name>Maurizio Lombardi</name>
+ </maintainer>
+ <maintainer>
+ <email>agrover@redhat.com</email>
+ <name>Andy Grover</name>
+ </maintainer>
+ <remote-id type="github">open-iscsi/configshell-fb</remote-id>
+ <remote-id type="pypi">configshell-fb</remote-id>
+ <bugs-to>https://github.com/open-iscsi/configshell-fb/issues</bugs-to>
+ </upstream>
</pkgmetadata>