commit:     d61f68d2b35dc94528deee108a850f64437fa71b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 11 04:48:29 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 11 04:55:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d61f68d2

dev-python/oslo-serialization: Bump to 5.3.0

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

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

diff --git a/dev-python/oslo-serialization/Manifest 
b/dev-python/oslo-serialization/Manifest
index 68f719b0627a..c1d28fea52a9 100644
--- a/dev-python/oslo-serialization/Manifest
+++ b/dev-python/oslo-serialization/Manifest
@@ -1 +1,2 @@
 DIST oslo.serialization-5.2.0.tar.gz 35123 BLAKE2B 
02dc1538562cdd0b5f601e9899561d44c6a651c514d3b4f00dbf05256e7109f485e1edabf1d69e578b903f177046128ddec944c85f2a2d238be9bf937bbe66d6
 SHA512 
6903b3a57ea3da75be5e22d0d9b5f14c8068be181be1845a5fed106d61e41c1f2288f9a667ec44b068670002b06f7f3f2d22821d34133fe60665f7146d133d22
+DIST oslo.serialization-5.3.0.tar.gz 35320 BLAKE2B 
4c2aa63faff4b0d8409bfaf900c1ab826e474e87491d549e4ec13b209a354a0c64950579a2d1ff70974ba303aa01c2c6e9c6de0ed238d048c4dc137646646c2b
 SHA512 
490a74993725f0a2c244ba2437c6afd414b870c469bcd29c5db260b08d449188156e453ca515cca0d104f494e8e9b5755d95dffdf800eba39396f995c4d78b85

diff --git a/dev-python/oslo-serialization/oslo-serialization-5.3.0.ebuild 
b/dev-python/oslo-serialization/oslo-serialization-5.3.0.ebuild
new file mode 100644
index 000000000000..47964539a1b2
--- /dev/null
+++ b/dev-python/oslo-serialization/oslo-serialization-5.3.0.ebuild
@@ -0,0 +1,47 @@
+# 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/pytz-2013.6[${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