summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-22 05:50:14 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-22 05:51:19 +0100
commit17c3304b5a00cf87620c4212c3a21b69f50cfb8e (patch)
tree7771b1d8bb442a6c6b5a2d7123752ef986e1af47 /dev-python
parentdev-python/python-json-logger: Bump to 2.0.7 (diff)
downloadgentoo-17c3304b5a00cf87620c4212c3a21b69f50cfb8e.tar.gz
gentoo-17c3304b5a00cf87620c4212c3a21b69f50cfb8e.tar.bz2
gentoo-17c3304b5a00cf87620c4212c3a21b69f50cfb8e.zip
dev-python/oslo-serialization: Bump to 5.1.1
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.1.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/oslo-serialization/Manifest b/dev-python/oslo-serialization/Manifest
index 2d6c102413bc..114bc92c98b7 100644
--- a/dev-python/oslo-serialization/Manifest
+++ b/dev-python/oslo-serialization/Manifest
@@ -1,2 +1,3 @@
DIST oslo.serialization-5.0.0.tar.gz 34194 BLAKE2B abaddf813ae35bd4434c96432590ca50cabeb6d31f03a2c48eb30aba9350b74d326deb463c56e38650a1df53646043a4ee28dcba09718725f7737cd96bf0e6e1 SHA512 0e2cf4efbf9803912fa5114c76da8645db0e946d6a8c4ae2c5e2ba4f5922d956e36e25f89f0dc1d384dedefca38e6c3b0e64df7098e49d1a9d8b5f8296dacc59
DIST oslo.serialization-5.1.0.tar.gz 34274 BLAKE2B 8430af01862103e842aa0c73525a38ea4b834727d74ce25e5813cd9022ad09832dd84ca0193e55302877965c6c563decbddaf3b92d324e7f50f03a4c0900c0b8 SHA512 1fc87c2400430b9b57de4b1c80df01d80e509137ff2facd3245b4ef5852ccf26d5b57ede9a7e3a24a585ee8f193a696d9bf46207eca47c39e71d49a622fbcf9d
+DIST oslo.serialization-5.1.1.tar.gz 34306 BLAKE2B bf3f326e05ad86366eed93f144ea1c0736ac3e73f113336446bca1a73446aa913968a77c0ac5083de594244446fa6179846bca21bdf53911ee8d7cb6ba39d45d SHA512 a7a9c9d12d6ebf2c99e71f67ad304e2428e889184e0346ae606613a779990b8fa2ef272bb3aea876e8435a6e426b76b5d5a3bee2ad6b3a070c0c4a07a78ddf7c
diff --git a/dev-python/oslo-serialization/oslo-serialization-5.1.1.ebuild b/dev-python/oslo-serialization/oslo-serialization-5.1.1.ebuild
new file mode 100644
index 000000000000..552a137a31b3
--- /dev/null
+++ b/dev-python/oslo-serialization/oslo-serialization-5.1.1.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
+PYTHON_COMPAT=( python3_{9..11} )
+
+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/
+"
+SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
+S=${WORKDIR}/${P/-/.}
+
+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 rdep on pbr
+ sed -i -e '/pbr/d' requirements.txt || die
+ distutils-r1_python_prepare_all
+}