From aa47868356ed14c3fc4d9500eae0469f2250ddb1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 5 Aug 2022 14:08:02 +0100 Subject: gentoo auto-resync : 05:08:2022 - 14:08:02 --- dev-python/oslo-utils/Manifest | 2 +- dev-python/oslo-utils/oslo-utils-6.0.0-r1.ebuild | 58 +++++++++++++++++++++ dev-python/oslo-utils/oslo-utils-6.0.0.ebuild | 64 ------------------------ 3 files changed, 59 insertions(+), 65 deletions(-) create mode 100644 dev-python/oslo-utils/oslo-utils-6.0.0-r1.ebuild delete mode 100644 dev-python/oslo-utils/oslo-utils-6.0.0.ebuild (limited to 'dev-python/oslo-utils') diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest index 20bed5b3ac38..b5a44911ed53 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1,3 +1,3 @@ DIST oslo.utils-6.0.0.tar.gz 101261 BLAKE2B 8a659b4bedf49e40c85ee40fe026205964d2f4a919170e4700c85e754f4bbffdf5bb9305aea00f7b36233feec93e42bf5e0c72591eeedc02709a7fcdba64d9b6 SHA512 9f9dcd585419372711af69917daf717d7c694cc604aed4db242e508ca6bdea3db9a52a29c354dbb5c80473a819c80dec9eccad7e6f6ca297c3469bcd2db5c7d5 -EBUILD oslo-utils-6.0.0.ebuild 1669 BLAKE2B aecfa7811dad0fcb5c0180a8e86ecfc20b8e60e648721152ef120a026afcd4d31716741be279fe3223447af4f71493c5b850a626485636d0d5f04598238ec263 SHA512 0cca0fc1a84172a466c93337ebba68c78be54a85f2a71f2017c6cfd53e02621c34c2693bfa21770966079ca83d9593519e7a93ac740562120a26373f2c020026 +EBUILD oslo-utils-6.0.0-r1.ebuild 1560 BLAKE2B e4ac7798dd4599106bb264400992e62debcf55c75ea69e539671782cc0f96e1055701596adfe509cab13397e3c4144f9799a0c63fdf3baee5d29145871a2e4ae SHA512 8b8d50d22380b1c7a00585f945a40b043aaa9f85d71a0823055bd27a8ea2c847bf4bbf3e92036d3ccf1741a7d89c78a582464c82a6503df6df8ecaff2f3dd173 MISC metadata.xml 607 BLAKE2B 4bbcd1e819a4bd7ce0fd4f13d70dfa686c1731f4e7b73d49dbe9dad97d91d6d3bf8c323d0aa167a8ae94b037ef7ef70150debb5a45fc8ba0121e94b02bc688ca SHA512 2a1d9a822c4b6ee4a1cedd2e11970e04ac7ed0639fe6163196874784867a7b2796b840a46338ef53a748b9b6e2dbc6526798124f576a0017c0fe65ec5d46aca8 diff --git a/dev-python/oslo-utils/oslo-utils-6.0.0-r1.ebuild b/dev-python/oslo-utils/oslo-utils-6.0.0-r1.ebuild new file mode 100644 index 000000000000..628697fb08ba --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-6.0.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="Oslo Utility library" +HOMEPAGE="https://launchpad.net/oslo" +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/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${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}] + >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + >=dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] + ' python3_{8..9}) + >=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}] + ) +" + +distutils_enable_tests unittest + +python_compile() { + distutils-r1_python_compile + if ! has "${EPYTHON}" python3.{8..9}; then + find "${BUILD_DIR}"/install -name '*eventletutils*' -delete || die + fi +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} diff --git a/dev-python/oslo-utils/oslo-utils-6.0.0.ebuild b/dev-python/oslo-utils/oslo-utils-6.0.0.ebuild deleted file mode 100644 index c5ae6d386410..000000000000 --- a/dev-python/oslo-utils/oslo-utils-6.0.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 - -MY_P=${P/-/.} -DESCRIPTION="Oslo Utility library" -HOMEPAGE="https://launchpad.net/oslo" -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/iso8601-0.1.11[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${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}] - >=dev-python/packaging-20.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] - test? ( - $(python_gen_cond_dep ' - >=dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] - ' python3_{8..9}) - >=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}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # spurious rdep - sed -i -e '/pbr/d' requirements.txt || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - if ! has "${EPYTHON}" python3.{8..9}; then - find "${BUILD_DIR}"/install -name '*eventletutils*.py' -delete || die - fi -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} -- cgit v1.2.3