commit:     07b11ebf52e39a6b43b0cb4e909589e8786cbb84
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 21 05:29:34 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 21 06:47:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b11ebf

dev-python/osc-lib: Bump to 2.6.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/osc-lib/Manifest             |  1 +
 dev-python/osc-lib/osc-lib-2.6.0.ebuild | 47 +++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest
index 148f3cf6b894..21c09ae4e888 100644
--- a/dev-python/osc-lib/Manifest
+++ b/dev-python/osc-lib/Manifest
@@ -1 +1,2 @@
 DIST osc-lib-2.5.0.tar.gz 97942 BLAKE2B 
92c2d80463d966c96b3aa18edefc6044a8f20c21484a6ce52e81b57d7e1cf9ea4f3fc5d4a95f01a23c5480a4c4fa06c29d492d48a36f3b6a8df5608203d82045
 SHA512 
00351402b1048f3efaff2d21673c5dfc9cb41683a0ccb40defb6e8aeedd60271172e63fe25394f048dd4aed22a6bd185946d4d324b30ce111264fa6fd85acfd5
+DIST osc-lib-2.6.0.tar.gz 98452 BLAKE2B 
b22bcce4a0cdc787422f4fa2d63cae8a289801f5e04bbb2623f261017887e936d2514016ee38aa5b2e4f6e87f137f1d9f59a289b589cd0d6ccce21c54065ccd1
 SHA512 
b97935da923bbd802ba32a70a91084ca60377a0995b1b204053409c87865dda2a88e8bbf9adf3ed6fb05169448a9d1793a9ea00bc0199f17f86201989159621a

diff --git a/dev-python/osc-lib/osc-lib-2.6.0.ebuild 
b/dev-python/osc-lib/osc-lib-2.6.0.ebuild
new file mode 100644
index 000000000000..1a9f3f2779ef
--- /dev/null
+++ b/dev-python/osc-lib/osc-lib-2.6.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A package of common support modules for writing OSC plugins"
+HOMEPAGE="https://github.com/openstack/osc-lib";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+       >=dev-python/cliff-3.2.0[${PYTHON_USEDEP}]
+       >=dev-python/keystoneauth-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
+}

Reply via email to