commit:     47123bf46736a09803cf8439d73c795ffed5ea41
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 03:25:08 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 03:37:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47123bf4

dev-python/oslo-serialization: Bump to 5.4.0

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

 dev-python/oslo-serialization/Manifest             |  1 +
 .../oslo-serialization-5.4.0.ebuild                | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/oslo-serialization/Manifest 
b/dev-python/oslo-serialization/Manifest
index e535706ef634..f2259db45b9a 100644
--- a/dev-python/oslo-serialization/Manifest
+++ b/dev-python/oslo-serialization/Manifest
@@ -1 +1,2 @@
 DIST oslo.serialization-5.3.0.tar.gz 35320 BLAKE2B 
4c2aa63faff4b0d8409bfaf900c1ab826e474e87491d549e4ec13b209a354a0c64950579a2d1ff70974ba303aa01c2c6e9c6de0ed238d048c4dc137646646c2b
 SHA512 
490a74993725f0a2c244ba2437c6afd414b870c469bcd29c5db260b08d449188156e453ca515cca0d104f494e8e9b5755d95dffdf800eba39396f995c4d78b85
+DIST oslo.serialization-5.4.0.tar.gz 35070 BLAKE2B 
2a6af45234083f57d964f18d36eb00b59ce6f32927fd93696bbfaa705b574a8c335db9583b2d6fb72d8b6712b1b5e6b30c943a4130b5ff3fc5766c3fce09e4a5
 SHA512 
00c9dae7cf254fe0fba49b25bb2d150902bd3a0a88cff922853358374bc855e8b79bef111065aaf62966c98a97605d0a0f18b5d007f36a943d9bdeb8ca69783b

diff --git a/dev-python/oslo-serialization/oslo-serialization-5.4.0.ebuild 
b/dev-python/oslo-serialization/oslo-serialization-5.4.0.ebuild
new file mode 100644
index 000000000000..3a806bd91546
--- /dev/null
+++ b/dev-python/oslo-serialization/oslo-serialization-5.4.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..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/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
+}

Reply via email to