summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-11-20 08:38:48 +0100
committerMichał Górny <mgorny@gentoo.org>2024-11-20 08:56:01 +0100
commit44dffbe03f8a13354d56b9fa3f2d9323521f291f (patch)
tree9ac6d2ed4693fc93bd1e0acd05e3433388b4224d /dev-python
parentdev-python/oslo-context: Bump to 5.7.0 (diff)
downloadgentoo-44dffbe03f8a13354d56b9fa3f2d9323521f291f.tar.gz
gentoo-44dffbe03f8a13354d56b9fa3f2d9323521f291f.tar.bz2
gentoo-44dffbe03f8a13354d56b9fa3f2d9323521f291f.zip
dev-python/oslo-serialization: Bump to 5.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/oslo-serialization/Manifest1
-rw-r--r--dev-python/oslo-serialization/oslo-serialization-5.6.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/oslo-serialization/Manifest b/dev-python/oslo-serialization/Manifest
index 5a3f45fdda60..ba21926694e3 100644
--- a/dev-python/oslo-serialization/Manifest
+++ b/dev-python/oslo-serialization/Manifest
@@ -1 +1,2 @@
DIST oslo.serialization-5.5.0.tar.gz 35102 BLAKE2B 7ac9ef1d35c3f1a7396456bc9b29d8c3100d9c62e72e90dd9e75bfe27e7416bc9c31ed41155bd5197e95536400b409d7f878819535511b2c805d2bb4111ea880 SHA512 51043ae3d27c5a9dc482234a95a175722d56dc35294cb34845e8d34e6de5d1b49a16a1cd5c84a4d51b595be77c76e9bb322054f61d6e5e5948f8fc48a8dd3294
+DIST oslo.serialization-5.6.0.tar.gz 35308 BLAKE2B 3344ba3f2e848abba0c9528ee1e31d63c1adcc91476814ab2fb910defc50812c38c95bce8ce4c0b1afd0df81f9bdea4f54832944ecba5d06e1064371e1567b94 SHA512 76068799e59218ac3fe243cb931e00636733f71e152898bc57953e6ff849b941be5aae86936931f0ae4107fd183b08f73d4520e8b7e4f5fdc395804ee3fd6499
diff --git a/dev-python/oslo-serialization/oslo-serialization-5.6.0.ebuild b/dev-python/oslo-serialization/oslo-serialization-5.6.0.ebuild
new file mode 100644
index 000000000000..d14414d55783
--- /dev/null
+++ b/dev-python/oslo-serialization/oslo-serialization-5.6.0.ebuild
@@ -0,0 +1,46 @@
+# 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
+PYPI_PN=${PN/-/.}
+PYTHON_COMPAT=( python3_{10..13} )
+
+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/tzdata[${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 rdep on pbr
+ sed -i -e '/pbr/d' requirements.txt || die
+ distutils-r1_python_prepare_all
+}