From 21435953e16cda318a82334ddbadb3b5c36d9ea7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Jan 2020 15:51:32 +0000 Subject: gentoo resync : 15.01.2020 --- dev-python/oslo-utils/Manifest | 6 +- dev-python/oslo-utils/oslo-utils-3.40.4.ebuild | 102 ------------------------ dev-python/oslo-utils/oslo-utils-3.41.3.ebuild | 6 +- dev-python/oslo-utils/oslo-utils-3.41.4.ebuild | 104 +++++++++++++++++++++++++ 4 files changed, 110 insertions(+), 108 deletions(-) delete mode 100644 dev-python/oslo-utils/oslo-utils-3.40.4.ebuild create mode 100644 dev-python/oslo-utils/oslo-utils-3.41.4.ebuild (limited to 'dev-python/oslo-utils') diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest index a84f8e937813..e2a40a0297df 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1,5 +1,5 @@ -DIST oslo-utils-3.40.4.tar.gz 90174 BLAKE2B 63c419c7925d58bdf73e3a1aaa683141f5e91d2b70a7e27db44a49ef5c662e7e1ff45016edc51eb73892ddebb45f6bcf4d8c1066d2eb6c6ebafa7f6a1be662b0 SHA512 d5df70052f0c4931fb5e9e89b6edf98ec2435a319157e04f53bf486f54e855ab178825772d405c2121cd2a2cfb894abfa35afe11edbe6b5b8030cbb915f841ab DIST oslo-utils-3.41.3.tar.gz 91174 BLAKE2B 9783360e5328083b5cfb2813f388ea29ca8876ce01cbcba5a25e0706766aab87d28f7683c4a9ef43ad9a0a4756403d2f35dc61ad170ada33e0dab67e5d5a6af4 SHA512 b8efc1ee5e22a0f224a48406208424d75ae1b9eb2b740bd2ac57e172f23f2d7e3f2ae712a006f89b4a64e0b6a619858908540b729705285d0aa99a8d5081495f -EBUILD oslo-utils-3.40.4.ebuild 3017 BLAKE2B cb2d7b8fcac3f53295a2252c458d247f56d1d6a17f98e96ae6d877c6f7a21bbdcbb6cf19f6776c79f585c32ba3b953aa3d40356c009c3e4233fc6fe4510c6b13 SHA512 38125e1978e9151a1d61eaab5ffff2385f3a221289499a62f32e25732408221d9b25a4690bb3fd01c92b335771710b23eecbd392511f4af24abe849a9707e355 -EBUILD oslo-utils-3.41.3.ebuild 3144 BLAKE2B 7c13e371828c4bc8a7ce5ffdef292461ac33a4213ededfb7d273a12543fe53cf88737da03051ee7e62b2bfa96ba3e1bdecae191a735e750b83f087b0f3f4008c SHA512 734c2a72918b11a5ce9498d0b8fa3427375291ff333036f43cbed245c5fb4fb87ae534fe7dffc19503172faaab027f7d598d10677e4e92b849e2d062b001c7fa +DIST oslo-utils-3.41.4.tar.gz 91178 BLAKE2B fe3292b2f60021f6c7cff0a2f6444a8d906586278b4560422e7296e996ac2322973f98902b11b72e6d543a18693c5f10a02629c2fa741e36a8338ff3f53de8f5 SHA512 ea12199b583a83b408fdbe4874162689038936a08d2a362e4adc9074da623c38a1642861ad83833c63988298e2efd11c2242bf69090da03d6358856e6e287acd +EBUILD oslo-utils-3.41.3.ebuild 3130 BLAKE2B a612f10cca203ab9da819cda28a80f3140bc44d422893dfa9b34547d50e4222f117e41fe1bebc04ac65b25945777357a1e4ba7c5e6e15a15a62271bc7eb1cf4a SHA512 97edf9bcb1baba5dfe63f3d6318fced2aba3c8b242e93fbf195e440e5547f7f69430bae71a47ce70305faa843525cb770dad7e82703afbf9771c2f46481e2770 +EBUILD oslo-utils-3.41.4.ebuild 3132 BLAKE2B 6cc5585a5ae665ca105156ce5cc04873ab21691528663ca3431b51e214062ee0798c0e97a65e14df3cf1d16616e7aa089c03b2aa1a4ccdeed75f9ae7a1b65f25 SHA512 0eee022263230c646f37c6448f4139ffd0fc8b915d5d5a083bc2c22161021d7167a584b0f880f42b9ab06699263a4e6295d03e77e4e76608a348922dec2de554 MISC metadata.xml 366 BLAKE2B 010fcdab42d0fe2eccb1f10ae80b99f55bbd6aee2f8d8760512a92d4d23a81899c75496fa84e098447072ca005eb5a2d309628d6e3351370913d3e1aa2dc8e34 SHA512 58767ee794b3ff97f10711ffc71318ad02a6674731364b592f30fa95d84471fcf48fd2bacf8032c4ad28c2ec0144dd35fcbc4533d2181c7aa3b94bb2ca03d8fe diff --git a/dev-python/oslo-utils/oslo-utils-3.40.4.ebuild b/dev-python/oslo-utils/oslo-utils-3.40.4.ebuild deleted file mode 100644 index f51d62068460..000000000000 --- a/dev-python/oslo-utils/oslo-utils-3.40.4.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} - -DESCRIPTION="Oslo Utility library" -HOMEPAGE="https://launchpad.net/oslo" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - ${CDEPEND} - test? ( - >=dev-python/eventlet-0.18.2[${PYTHON_USEDEP}] - !~dev-python/eventlet-0.18.3[${PYTHON_USEDEP}] - !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] - !~dev-python/eventlet-0.21.0[${PYTHON_USEDEP}] - !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/coverage-4.0.0[${PYTHON_USEDEP}] - !~dev-python/coverage-4.4.0[${PYTHON_USEDEP}] - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}] - ) - doc? ( - >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] - !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}] - !~dev-python/sphinx-1.6.7[${PYTHON_USEDEP}] - >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}] - >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - ) -" -RDEPEND=" - ${CDEPEND} - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - virtual/python-funcsigs[${PYTHON_USEDEP}] - >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/monotonic-0.6[${PYTHON_USEDEP}] - >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] - >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] - >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] -" - -python_prepare_all() { - sed -i '/^hacking/d' test-requirements.txt || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && esetup.py build_sphinx -} - -# Note: Tests fail due to requiring installation -# -# Installation appears to fail due to the use of namespace packages but root -# cause was never truly established. -# -# Tests fail with: -# ImportError: No module named 'oslo.utils - -#RESTRICT="test" - -python_test() { - distutils_install_for_testing - - cd "${TEST_DIR}"/lib || die - - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" - - testr init || die "testr init failed under ${EPYTHON}" - testr run || die "testr run failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/oslo-utils/oslo-utils-3.41.3.ebuild b/dev-python/oslo-utils/oslo-utils-3.41.3.ebuild index 8d52d7df921e..b3a3b972d712 100644 --- a/dev-python/oslo-utils/oslo-utils-3.41.3.ebuild +++ b/dev-python/oslo-utils/oslo-utils-3.41.3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/dev-python/oslo-utils/oslo-utils-3.41.4.ebuild b/dev-python/oslo-utils/oslo-utils-3.41.4.ebuild new file mode 100644 index 000000000000..8fb0bddeb33c --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-3.41.4.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} + +DESCRIPTION="Oslo Utility library" +HOMEPAGE="https://launchpad.net/oslo" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/eventlet-0.18.2[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.18.3[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.21.0[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] + >=dev-python/coverage-4.0.0[${PYTHON_USEDEP}] + !~dev-python/coverage-4.4.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}] + =dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.6.7[${PYTHON_USEDEP}] + =dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]' python2_7) + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${CDEPEND} + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + virtual/python-funcsigs[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/monotonic-0.6[${PYTHON_USEDEP}] + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] +" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +# Note: Tests fail due to requiring installation +# +# Installation appears to fail due to the use of namespace packages but root +# cause was never truly established. +# +# Tests fail with: +# ImportError: No module named 'oslo.utils + +#RESTRICT="test" + +python_test() { + distutils_install_for_testing + + cd "${TEST_DIR}"/lib || die + + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" + + testr init || die "testr init failed under ${EPYTHON}" + testr run || die "testr run failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + + distutils-r1_python_install_all +} -- cgit v1.2.3