summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-11 07:23:18 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-11 07:23:18 +0100
commit4bc67c4ba6dcb91671d472a76698d24c68af5d08 (patch)
tree7913a771287c042f91d7fbfb9a263813ccab99a3 /dev-python/oslo-serialization
parentdev-python/oslo-concurrency: Bump to 5.1.0 (diff)
downloadgentoo-4bc67c4ba6dcb91671d472a76698d24c68af5d08.tar.gz
gentoo-4bc67c4ba6dcb91671d472a76698d24c68af5d08.tar.bz2
gentoo-4bc67c4ba6dcb91671d472a76698d24c68af5d08.zip
dev-python/oslo-serialization: Bump to 5.1.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.1.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/oslo-serialization/Manifest b/dev-python/oslo-serialization/Manifest
index 327a3cf39668..2d6c102413bc 100644
--- a/dev-python/oslo-serialization/Manifest
+++ b/dev-python/oslo-serialization/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-python/oslo-serialization/oslo-serialization-5.1.0.ebuild b/dev-python/oslo-serialization/oslo-serialization-5.1.0.ebuild
new file mode 100644
index 000000000000..88b873ff048c
--- /dev/null
+++ b/dev-python/oslo-serialization/oslo-serialization-5.1.0.ebuild
@@ -0,0 +1,47 @@
+# 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
+
+MY_P=${P/-/.}
+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="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_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
+}