diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-27 08:03:16 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-27 08:03:16 +0000 |
| commit | 71bb9f6a7996d2ad1869b6b6e404c242e5f4d98a (patch) | |
| tree | 86a46cfd3a28e0f1907db7565044d7daf59c281e /dev-python/configshell-fb | |
| parent | 531bf63307dcef64d742189d5f1ace5050169a76 (diff) | |
| download | baldeagleos-repo-71bb9f6a7996d2ad1869b6b6e404c242e5f4d98a.tar.gz baldeagleos-repo-71bb9f6a7996d2ad1869b6b6e404c242e5f4d98a.tar.xz baldeagleos-repo-71bb9f6a7996d2ad1869b6b6e404c242e5f4d98a.zip | |
Adding metadata
Diffstat (limited to 'dev-python/configshell-fb')
| -rw-r--r-- | dev-python/configshell-fb/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/configshell-fb/configshell-fb-1.1.29-r1.ebuild | 44 | ||||
| -rw-r--r-- | dev-python/configshell-fb/metadata.xml | 6 |
3 files changed, 50 insertions, 3 deletions
diff --git a/dev-python/configshell-fb/Manifest b/dev-python/configshell-fb/Manifest index 13fc21a18c1e..be1b38506a9b 100644 --- a/dev-python/configshell-fb/Manifest +++ b/dev-python/configshell-fb/Manifest @@ -1 +1,4 @@ +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 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..23e24466800d --- /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_{7,8,9,10,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 2c507661c3a1..face9cecc117 100644 --- a/dev-python/configshell-fb/metadata.xml +++ b/dev-python/configshell-fb/metadata.xml @@ -2,9 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <longdescription lang="en"> - configshell-fb is a Python library that provides a framework - for building simple but nice CLI-based applications. -</longdescription> + 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> |
