From 914bc7f07098ac3918913e4c83951a9cbba5a949 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Feb 2024 05:40:46 +0000 Subject: gentoo auto-resync : 23:02:2024 - 05:40:46 --- dev-python/osc-lib/Manifest | 2 ++ dev-python/osc-lib/osc-lib-3.0.1.ebuild | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 dev-python/osc-lib/osc-lib-3.0.1.ebuild (limited to 'dev-python/osc-lib') diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest index c629bfc1a7f9..d7858f707130 100644 --- a/dev-python/osc-lib/Manifest +++ b/dev-python/osc-lib/Manifest @@ -1,3 +1,5 @@ DIST osc-lib-3.0.0.tar.gz 99525 BLAKE2B f18d87433c8a135f4085ca419fb874f3d84f48966b8a45523e0da3aebf698adfcec75159f8ad4b52011e6d50f56f1627a9c8e1af5a0ab6fa3c07af153a83fd9a SHA512 61a3f900464078180503ddd86a64dc59f6bdd817a318e2cb9fa61778ca830947d00e14fd82846a62d44ec171047fee5b84edf6e1011ee89f5be578867e724ee1 +DIST osc-lib-3.0.1.tar.gz 99513 BLAKE2B 8ecf2b67d5214c2f47dec6e4f2f7bb90c95e19b4c9e81fe3d33716b424ffd2419bf400a6bc3842e1744ae484653d4fcefa10ab6af53a3aafbab1e3ac707bdf04 SHA512 7b846289dd02723360cfb93d7ee5f53f3188a57af5bf7103514d22d9b3b044654d7ef05ecdfff74eb3a354d3ce8c75941632dd42af060f55f17ab0cae7aedeb1 EBUILD osc-lib-3.0.0.ebuild 1512 BLAKE2B 7ddd308457917f8ccbe434862754d56c0a9647974d4dc1edff4fe876a180e990317ec108e4367f94eb7b4887e4b79d741cf238b42626a573ee28c5e5d329ce1f SHA512 f2d13eef1b298e3293929e88737668376c825e5755ac57eedf17c1abf0716508572c101016582b6deb44ecdf2461e06193b1b3e26cf354675a6e7bcb2d8d881f +EBUILD osc-lib-3.0.1.ebuild 1515 BLAKE2B feda00ee44d0b25417d0ec0308fd370189f472408f14fb3eae0d0b47e3fb7059d177af8498bdf89f7b2be9c38b8e2fe2255119eeab65416a927ed18b1b63e7b7 SHA512 77f3c8645b00b4bf85feb5341ee3433e1ea3bfe9a5fd50ba7c6632cadf9e95cba9190566e105005dd43292a0f6446c47796aa8502895bad5d4767b33e2e89b17 MISC metadata.xml 836 BLAKE2B de71d2a55a0b65cdabf503321d91f3e708f50189e6a06e11ce96f0d273286e1a6b5a871726dfe33784b91e941463500c964cb85c583241b003d3742b1d91c92d SHA512 e132c2ed9283d65464a151c918ac4ca91793ce850c7bb0a7b63178ddd42cb59b69b036acce0a8d0078f4b1b778a2361ca6a6f6e01d83e12cdc76dd8682b5b281 diff --git a/dev-python/osc-lib/osc-lib-3.0.1.ebuild b/dev-python/osc-lib/osc-lib-3.0.1.ebuild new file mode 100644 index 000000000000..7f720b4ce2cb --- /dev/null +++ b/dev-python/osc-lib/osc-lib-3.0.1.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 +} -- cgit v1.2.3