diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /dev-python/oslo-concurrency | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-python/oslo-concurrency')
-rw-r--r-- | dev-python/oslo-concurrency/Manifest | 2 | ||||
-rw-r--r-- | dev-python/oslo-concurrency/oslo-concurrency-4.5.1.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/oslo-concurrency/Manifest b/dev-python/oslo-concurrency/Manifest index 711db0358eab..5058f60ff668 100644 --- a/dev-python/oslo-concurrency/Manifest +++ b/dev-python/oslo-concurrency/Manifest @@ -1,3 +1,5 @@ DIST oslo.concurrency-4.5.0.tar.gz 58979 BLAKE2B 9e2eb4a233985a33994aeaf335c195c980e1e9dd8b48a7c4e53ae502599f12c0dc65466ee45569a97b72f1face0e80ce166922ca3e42f6ad28fd5b27bdf884a3 SHA512 13a2f4d39d3241370374e6fe4ea6047dfc4d20da6116aaebd27f085fdbce089d58b0ebab4f1224234c88237cdefafc2f96229e6527bf5cda13ef1e471e25a50c +DIST oslo.concurrency-4.5.1.tar.gz 59126 BLAKE2B 61f509b4ce76cd036b695bb5ad744374e029239a63a629a4b96d44c8ba29150095fe9d57000367c4d07dc7c358ef61cfa4868a2347f206327093ad32ffb85955 SHA512 88319915c90befb01a275666b4a760357c1e72f04d5faf27ab9c67629ecbf2dd3a73d077f3c57435231b55aa777a9642f26e91cc4cb27ad56eb801b2b98eca48 EBUILD oslo-concurrency-4.5.0-r1.ebuild 1288 BLAKE2B 979ce66648dff0255feaddbc99ada6574aef396c476a0230fca12ab4a12642b4c3f50764c64977d9bc1efaf493b0bd2be01fff2d31a9c1dc3f9a866fd31e5305 SHA512 0872c65dd1f4fd0e36382264cc2085538b22249a1040b4858ad6e8a61938aee3ddc330c0dd9d5551a3443b3319780a8f51727e7d65ba679682be46b7f0318f50 +EBUILD oslo-concurrency-4.5.1.ebuild 1285 BLAKE2B 5a796e60c803c7247cde42c3432a439e58386e54038cd4ad7072f24031bb346834772ceca403c86140ff56adddb50ebd8ab62989456116418545f17766594ebd SHA512 98e0807d1a3632b717371a9a19704397275bb155e54323d94be7de98b83ebaf30c8d79cf76960d1d35c933a981d2e04831d83705d0665d9c0277132bfe3906d8 MISC metadata.xml 540 BLAKE2B 3cf35ead27deb8915aafded620fabef948d56e3feff9a6936bf8b80cf4ca3a84a000a0f56c2fee944dbd5c0ad7fb5211656ae861c64257d2ef83629e914521ad SHA512 a10fd1f009c73620ae68719bda0304ee3d8b64c0edb05d6bc818d14475499a1a78c613815b9fd29991c9b90b830e099139f263861e10b696432651da65a7d637 diff --git a/dev-python/oslo-concurrency/oslo-concurrency-4.5.1.ebuild b/dev-python/oslo-concurrency/oslo-concurrency-4.5.1.ebuild new file mode 100644 index 000000000000..03da8577b477 --- /dev/null +++ b/dev-python/oslo-concurrency/oslo-concurrency-4.5.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Oslo Concurrency library" +HOMEPAGE="https://pypi.org/project/oslo.concurrency/ + https://github.com/openstack/oslo.concurrency" +SRC_URI="mirror://pypi/o/${PN/-/.}/${PN/-/.}-${PV}.tar.gz" +S="${WORKDIR}/${PN/-/.}-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/eventlet-0.19.0[${PYTHON_USEDEP}] + ' 3.8 3.9) + ) +" + +distutils_enable_tests unittest + +python_compile() { + distutils-r1_python_compile + if ! has "${EPYTHON}" python3.{8..9}; then + find "${BUILD_DIR}"/install -name '*eventlet*.py' -delete || die + fi +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} |