commit: aa4fba05373e3ed6dec652b773f34b11abe1cc0e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Feb 11 06:26:09 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Feb 11 06:26:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa4fba05
dev-python/oslo-i18n: Bump to 6.0.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/oslo-i18n/Manifest | 1 + dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild | 42 +++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/oslo-i18n/Manifest b/dev-python/oslo-i18n/Manifest index 247e153e48a3..1456f2ba1e68 100644 --- a/dev-python/oslo-i18n/Manifest +++ b/dev-python/oslo-i18n/Manifest @@ -1 +1,2 @@ DIST oslo.i18n-5.1.0.tar.gz 47423 BLAKE2B 621ec835fc975978fe3da392edda66471cd85fcfbe5af8c7a1704d7422d8f52f3b61c97ac8cfbd2aca94f65c8428cc5f97b095bc116ece605a4dc325a4a0171e SHA512 b2243f22de3ef3e33609c5aff573c4448a42c74d75022e023bea97c5338608e3fcd9da92aa2d262051e6b2ccbd5a88cfb2c91da79b7e3f81420dc24117da9b1d +DIST oslo.i18n-6.0.0.tar.gz 47479 BLAKE2B c49b3b1e79a5f72d6ebaeafa3024f891c72da4058eca711400d581eb5bf0a0dfd5f87ce0685f96a54aa06140fc4a5fa213220017b26a55a8d3ef72c3db397226 SHA512 50179ada0449e216ec0a269ed928ca196158fc576a4ee9e0ab4e916fea595bec261cdba90b0adcd3cd089ada4ee47d24c756e9142ebf49e3a446472141db1638 diff --git a/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild new file mode 100644 index 000000000000..f2a20bf46956 --- /dev/null +++ b/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild @@ -0,0 +1,42 @@ +# 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_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Oslo i18n library" +HOMEPAGE=" + https://opendev.org/openstack/oslo.i18n/ + https://github.com/openstack/oslo.i18n/ + https://pypi.org/project/oslo.i18n/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-5.1.0-fix-py3.11.patch" +) + +RDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest