summaryrefslogtreecommitdiff
path: root/dev-python/oslo-i18n
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-14 06:17:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-14 06:17:35 +0000
commitc24da107a8903eb6e86d811f19448c01fa81ba15 (patch)
tree18d4e577f4494130eaebf6bad5507ccc61b6ee78 /dev-python/oslo-i18n
parent55b20c97078ded20d0e7c6b3ef33d673c861d8b4 (diff)
gentoo auto-resync : 14:03:2023 - 06:17:35
Diffstat (limited to 'dev-python/oslo-i18n')
-rw-r--r--dev-python/oslo-i18n/Manifest4
-rw-r--r--dev-python/oslo-i18n/oslo-i18n-5.1.0-r1.ebuild42
-rw-r--r--dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild9
3 files changed, 4 insertions, 51 deletions
diff --git a/dev-python/oslo-i18n/Manifest b/dev-python/oslo-i18n/Manifest
index 35c800aa2c9b..174f4d4d7d96 100644
--- a/dev-python/oslo-i18n/Manifest
+++ b/dev-python/oslo-i18n/Manifest
@@ -1,6 +1,4 @@
AUX oslo-i18n-5.1.0-fix-py3.11.patch 1196 BLAKE2B 08d78934986b45d23095e73cd1f465c371372de3fe3f2681bd087a00556fda60b719a40471638423df109be55929c34602bdc589c256421bc89d5c2a0dfcbcfd SHA512 214f367932692c4910b4285df1c05ceb7389bdbf9821e6287df33c9a07e81990a00ce9514e6b53e9f562ae3647aa198247808a2e10f1a746ebdeff169b6c4749
-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
-EBUILD oslo-i18n-5.1.0-r1.ebuild 836 BLAKE2B 9a9f2009f5c1ca5fc811b7c7e92a18432d3736fb5654396248e736b454592faa71bf72d7e02f601bb7ba4aaf76421eb218dfc130a93a4b7f27e6416f19ca865f SHA512 845d50e05a3435375445265afc174ea42fb1e2cc09d4462bc80dbbd30620bfe0f068aed3f2bce448d1a7f5a6f5141ae2fc96e3aa9ab80d7a26176bc34a3f1ac7
-EBUILD oslo-i18n-6.0.0.ebuild 836 BLAKE2B 9a9f2009f5c1ca5fc811b7c7e92a18432d3736fb5654396248e736b454592faa71bf72d7e02f601bb7ba4aaf76421eb218dfc130a93a4b7f27e6416f19ca865f SHA512 845d50e05a3435375445265afc174ea42fb1e2cc09d4462bc80dbbd30620bfe0f068aed3f2bce448d1a7f5a6f5141ae2fc96e3aa9ab80d7a26176bc34a3f1ac7
+EBUILD oslo-i18n-6.0.0.ebuild 799 BLAKE2B 3cd73c46a413fa95ad409384ab4608c076273b0c4d37c32597c204b2406c9a15c1000760fe3c68ff8516c448e0c371a3d6680aeb11b67a4746f248ccb75cc27f SHA512 1a75b3d3dcf5bef850039daa5f272de3b54af3f0ef4c9ac5c5d34aea397d925d3e296c5806dbce0ffdfbe207f403ed68e867effe6847a84a4eec0220945a5b93
MISC metadata.xml 665 BLAKE2B 8890b37ab4cb0fce66a2e6f8be6da304a0c28d75d203a4413d6c8062a984a52b4c6004145992d3e00dd156ffd64a2bbb6b75eba85954de9fabcd88d24e925cc6 SHA512 b4a5778815e857a638e0ca9c9d228e9c941f9b541d667c7e4fcf6ef4814c8b24cbf0c8d24317ffbc7e65e25326f5043a546f42b7982f355551d1b0d0351472b0
diff --git a/dev-python/oslo-i18n/oslo-i18n-5.1.0-r1.ebuild b/dev-python/oslo-i18n/oslo-i18n-5.1.0-r1.ebuild
deleted file mode 100644
index af940e767e5e..000000000000
--- a/dev-python/oslo-i18n/oslo-i18n-5.1.0-r1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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
diff --git a/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild
index af940e767e5e..aa429dc1edf5 100644
--- a/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild
+++ b/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild
@@ -6,10 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-MY_PN=${PN/-/.}
-MY_P=${MY_PN}-${PV}
+inherit distutils-r1 pypi
DESCRIPTION="Oslo i18n library"
HOMEPAGE="
@@ -17,8 +14,8 @@ HOMEPAGE="
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}
+SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
+S=${WORKDIR}/${P/-/.}
LICENSE="Apache-2.0"
SLOT="0"