summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-11 07:25:09 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-11 07:25:09 +0100
commit16b2e79e9dce5adad88b6aa9c4c8311c2c0dd2e9 (patch)
tree0baf4656b2dcb03a8c8ec4ab68297555c66cc403 /dev-python/oslo-log
parentdev-python/oslo-context: Bump to 5.1.0 (diff)
downloadgentoo-16b2e79e9dce5adad88b6aa9c4c8311c2c0dd2e9.tar.gz
gentoo-16b2e79e9dce5adad88b6aa9c4c8311c2c0dd2e9.tar.bz2
gentoo-16b2e79e9dce5adad88b6aa9c4c8311c2c0dd2e9.zip
dev-python/oslo-log: Bump to 5.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-log')
-rw-r--r--dev-python/oslo-log/Manifest1
-rw-r--r--dev-python/oslo-log/oslo-log-5.1.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest
index 107bb5bc3bc6..e84d443d251f 100644
--- a/dev-python/oslo-log/Manifest
+++ b/dev-python/oslo-log/Manifest
@@ -1 +1,2 @@
DIST oslo.log-5.0.2.tar.gz 96529 BLAKE2B c53de6c2b6576f4f1e1c0de8ed10639962b12a1fd0c1d40fa4c6d1c05a7d2c2cd0c3d3144336ab5984a7e5a91894d5556e20972f07abd5b66a961be63c6262f0 SHA512 1726b736f2c6797dfb65085f07768756a42397a41f7f42505e86df4c0247a3b5d1992dcf42ebd8898f9013cd9d0ecc96747eb0523911474d89f37ee94ffb7272
+DIST oslo.log-5.1.0.tar.gz 96584 BLAKE2B ced8ccc5ddaf1865e29dadf31bf7b691e2cbddfd2f1c4b2dcca36ce66e47516275058d05c11ddfb36a319efb5b220645f2c5c63ac16eaba599e4591cb09cbcfc SHA512 f4288892039f92e2cf75db79aa6cff567b5c3474a49f1d38ca7046bd00c1235afb59777c9e57b68a13b6696206527ef8f66c2a60aed8c6f8b1279f8418aba3cb
diff --git a/dev-python/oslo-log/oslo-log-5.1.0.ebuild b/dev-python/oslo-log/oslo-log-5.1.0.ebuild
new file mode 100644
index 000000000000..86ea9e922122
--- /dev/null
+++ b/dev-python/oslo-log/oslo-log-5.1.0.ebuild
@@ -0,0 +1,57 @@
+# 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
+
+DESCRIPTION="OpenStack logging config library, configuration for all openstack projects"
+HOMEPAGE="
+ https://opendev.org/openstack/oslo.log/
+ https://github.com/openstack/oslo.log/
+ https://pypi.org/project/oslo.log/
+"
+SRC_URI="mirror://pypi/o/oslo.log/oslo.log-${PV}.tar.gz"
+S="${WORKDIR}/oslo.log-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-utils-3.36.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}]
+ >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}]
+ >=dev-python/pyinotify-0.9.6[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}]
+ >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}]
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
+distutils_enable_sphinx doc/source \
+ dev-python/openstackdocstheme \
+ dev-python/oslo-config
+
+src_prepare() {
+ distutils-r1_src_prepare
+ # this is used only for eventlet, and eventlet is masked for removal
+ rm oslo_log/tests/unit/test_pipe_mutex.py || die
+}
+
+python_test() {
+ eunittest -b
+}