diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-11-21 06:32:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-11-21 06:40:23 +0100 |
commit | 38fed94921bf3cce30c94c334b3ae97195f63869 (patch) | |
tree | 2edc14ac58d51b22891f7ee8059c0f6eea2ddd48 | |
parent | dev-python/aiohttp-socks: Bump to 0.9.1 (diff) | |
download | gentoo-38fed94921bf3cce30c94c334b3ae97195f63869.tar.gz gentoo-38fed94921bf3cce30c94c334b3ae97195f63869.tar.bz2 gentoo-38fed94921bf3cce30c94c334b3ae97195f63869.zip |
dev-python/osc-lib: Bump to 3.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/osc-lib/Manifest | 1 | ||||
-rw-r--r-- | dev-python/osc-lib/osc-lib-3.2.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest index 5be1260cb631..c58aad4b83cf 100644 --- a/dev-python/osc-lib/Manifest +++ b/dev-python/osc-lib/Manifest @@ -1 +1,2 @@ DIST osc-lib-3.1.0.tar.gz 99632 BLAKE2B b0cbb070ae4e68d24080bea1aad7522c4ee37195f361ad1bf588e2ad7942e7a73f65dca69da8b9b0a9aaf74f503a16b26428c40b279f5cf41c7c8ef67872bbad SHA512 51067ea92e070f478d7eaa3f3678920aa859850a3c2f9e96c8d97dd7d67dc5c26cc9c53070f7d04d5a591f181be781c9d89d78614cff57204c5a233e6f8d4ad5 +DIST osc-lib-3.2.0.tar.gz 99180 BLAKE2B dfa1bb53245599154feea88733e9bfda0251ccf21aaa1e661f862215e3dc0105fdfaf2d916e2454b93bbe8c5c76f70cdf8bf0fb7a3f71756e51c3b3d3159abd7 SHA512 3942ebfa17b2f292c3703dae9f9edf4b8fef256fbd9f3df4be71451b2920f37720b195d25b945be0f69cb8c93cda1652926c7015a511a3e8e92833be3623f295 diff --git a/dev-python/osc-lib/osc-lib-3.2.0.ebuild b/dev-python/osc-lib/osc-lib-3.2.0.ebuild new file mode 100644 index 000000000000..610d97559111 --- /dev/null +++ b/dev-python/osc-lib/osc-lib-3.2.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..13} ) + +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 +} |