summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-13 08:10:29 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-13 09:20:02 +0100
commitb4fb1b340a3ff93c4f35f07a7118771b4db65eb7 (patch)
tree025693600647b64c4601dfe6dc3f2bd043931905 /dev-python/osc-lib
parentdev-python/stripe: Bump to 7.12.0 (diff)
downloadgentoo-b4fb1b340a3ff93c4f35f07a7118771b4db65eb7.tar.gz
gentoo-b4fb1b340a3ff93c4f35f07a7118771b4db65eb7.tar.bz2
gentoo-b4fb1b340a3ff93c4f35f07a7118771b4db65eb7.zip
dev-python/osc-lib: Bump to 3.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/osc-lib')
-rw-r--r--dev-python/osc-lib/Manifest1
-rw-r--r--dev-python/osc-lib/osc-lib-3.0.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest
index 3e78ac437fb8..af6ee1296908 100644
--- a/dev-python/osc-lib/Manifest
+++ b/dev-python/osc-lib/Manifest
@@ -1 +1,2 @@
DIST osc-lib-2.9.0.tar.gz 99122 BLAKE2B 1b92c5dae95612373f8c204ad6f115b8a6728e8d193098388cad5be6514c117001f9a222c40eaa22939a53d16b02b8dee68e79ff6292e296bfbe8252ad1fa755 SHA512 253cffd491843acaa728a4361b52d9738d2eabfc82e49bb5bca0a8da583809b494161d91f243dbe92e3b0855a5b74e178fd1a5ad46c5ac69b235ad88265b0ece
+DIST osc-lib-3.0.0.tar.gz 99525 BLAKE2B f18d87433c8a135f4085ca419fb874f3d84f48966b8a45523e0da3aebf698adfcec75159f8ad4b52011e6d50f56f1627a9c8e1af5a0ab6fa3c07af153a83fd9a SHA512 61a3f900464078180503ddd86a64dc59f6bdd817a318e2cb9fa61778ca830947d00e14fd82846a62d44ec171047fee5b84edf6e1011ee89f5be578867e724ee1
diff --git a/dev-python/osc-lib/osc-lib-3.0.0.ebuild b/dev-python/osc-lib/osc-lib-3.0.0.ebuild
new file mode 100644
index 000000000000..7f720b4ce2cb
--- /dev/null
+++ b/dev-python/osc-lib/osc-lib-3.0.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A package of common support modules for writing OSC plugins"
+HOMEPAGE="
+ https://opendev.org/openstack/osc-lib/
+ https://github.com/openstack/osc-lib/
+ https://pypi.org/project/osc-lib/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-python/cliff-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/keystoneauth1-3.14.0[${PYTHON_USEDEP}]
+ >=dev-python/openstacksdk-0.15.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
+ >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
+ >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}]
+ >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}]
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ # need to skip all tests under TestTagHelps class
+ # checks exact help message, based on another unittest runner
+ sed -e '179,$s/test_add_tag_/_&/' -i osc_lib/tests/utils/test_tags.py || die
+ distutils-r1_src_prepare
+}