commit: 532bcfa361bc90c0049cdb48dadd8ec94f7b1390
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 4 11:31:45 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 4 12:37:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=532bcfa3
dev-python/osc-lib: Bump to 3.1.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/osc-lib/Manifest | 1 +
dev-python/osc-lib/osc-lib-3.1.0.ebuild | 51 +++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest
index 9256761c213e..45c035b15e40 100644
--- a/dev-python/osc-lib/Manifest
+++ b/dev-python/osc-lib/Manifest
@@ -1 +1,2 @@
DIST osc-lib-3.0.1.tar.gz 99513 BLAKE2B
8ecf2b67d5214c2f47dec6e4f2f7bb90c95e19b4c9e81fe3d33716b424ffd2419bf400a6bc3842e1744ae484653d4fcefa10ab6af53a3aafbab1e3ac707bdf04
SHA512
7b846289dd02723360cfb93d7ee5f53f3188a57af5bf7103514d22d9b3b044654d7ef05ecdfff74eb3a354d3ce8c75941632dd42af060f55f17ab0cae7aedeb1
+DIST osc-lib-3.1.0.tar.gz 99632 BLAKE2B
b0cbb070ae4e68d24080bea1aad7522c4ee37195f361ad1bf588e2ad7942e7a73f65dca69da8b9b0a9aaf74f503a16b26428c40b279f5cf41c7c8ef67872bbad
SHA512
51067ea92e070f478d7eaa3f3678920aa859850a3c2f9e96c8d97dd7d67dc5c26cc9c53070f7d04d5a591f181be781c9d89d78614cff57204c5a233e6f8d4ad5
diff --git a/dev-python/osc-lib/osc-lib-3.1.0.ebuild
b/dev-python/osc-lib/osc-lib-3.1.0.ebuild
new file mode 100644
index 000000000000..e3f2f2c0d00b
--- /dev/null
+++ b/dev-python/osc-lib/osc-lib-3.1.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/requests-2.14.2[${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
+}