summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-28 18:18:13 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-28 18:53:06 +0200
commitbb1fe11b4e85fe01db09f09370931dc42c1b56bc (patch)
treee6dfb61cc10ce65549bfbbeebd00cdba40b60056 /dev-python/oslo-serialization
parentdev-python/oslo-utils: Bump to 6.2.1 (diff)
downloadgentoo-bb1fe11b4e85fe01db09f09370931dc42c1b56bc.tar.gz
gentoo-bb1fe11b4e85fe01db09f09370931dc42c1b56bc.tar.bz2
gentoo-bb1fe11b4e85fe01db09f09370931dc42c1b56bc.zip
dev-python/oslo-serialization: Bump to 5.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-serialization')
-rw-r--r--dev-python/oslo-serialization/Manifest1
-rw-r--r--dev-python/oslo-serialization/oslo-serialization-5.2.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/oslo-serialization/Manifest b/dev-python/oslo-serialization/Manifest
index bf67f9ba2cf1..4d951b39602c 100644
--- a/dev-python/oslo-serialization/Manifest
+++ b/dev-python/oslo-serialization/Manifest
@@ -1 +1,2 @@
DIST oslo.serialization-5.1.1.tar.gz 34306 BLAKE2B bf3f326e05ad86366eed93f144ea1c0736ac3e73f113336446bca1a73446aa913968a77c0ac5083de594244446fa6179846bca21bdf53911ee8d7cb6ba39d45d SHA512 a7a9c9d12d6ebf2c99e71f67ad304e2428e889184e0346ae606613a779990b8fa2ef272bb3aea876e8435a6e426b76b5d5a3bee2ad6b3a070c0c4a07a78ddf7c
+DIST oslo.serialization-5.2.0.tar.gz 35123 BLAKE2B 02dc1538562cdd0b5f601e9899561d44c6a651c514d3b4f00dbf05256e7109f485e1edabf1d69e578b903f177046128ddec944c85f2a2d238be9bf937bbe66d6 SHA512 6903b3a57ea3da75be5e22d0d9b5f14c8068be181be1845a5fed106d61e41c1f2288f9a667ec44b068670002b06f7f3f2d22821d34133fe60665f7146d133d22
diff --git a/dev-python/oslo-serialization/oslo-serialization-5.2.0.ebuild b/dev-python/oslo-serialization/oslo-serialization-5.2.0.ebuild
new file mode 100644
index 000000000000..d6abc530200b
--- /dev/null
+++ b/dev-python/oslo-serialization/oslo-serialization-5.2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN/-/.}
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Oslo Serialization library"
+HOMEPAGE="
+ https://opendev.org/openstack/oslo.serialization/
+ https://github.com/openstack/oslo.serialization/
+ https://pypi.org/project/oslo.serialization/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}]
+ >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
+distutils_enable_sphinx doc/source \
+ dev-python/openstackdocstheme
+
+python_prepare_all() {
+ # remove spurious rdeps on pbr and tzdata
+ sed -i -e '/pbr/d' -e '/tzdata/d' requirements.txt || die
+ distutils-r1_python_prepare_all
+}