diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-29 11:14:11 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-29 11:14:11 +0100 |
commit | 4e418cde6ef9900641bc778bf185ee2e406abdb7 (patch) | |
tree | 1c39c8cbd706024712497fa8be31fd0dd0ad4c91 /dev-python/oslo-i18n | |
parent | dev-python/httpbin: Remove old (diff) | |
download | gentoo-4e418cde6ef9900641bc778bf185ee2e406abdb7.tar.gz gentoo-4e418cde6ef9900641bc778bf185ee2e406abdb7.tar.bz2 gentoo-4e418cde6ef9900641bc778bf185ee2e406abdb7.zip |
dev-python/oslo-i18n: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-i18n')
-rw-r--r-- | dev-python/oslo-i18n/Manifest | 1 | ||||
-rw-r--r-- | dev-python/oslo-i18n/files/oslo-i18n-5.1.0-fix-py3.11.patch | 23 | ||||
-rw-r--r-- | dev-python/oslo-i18n/oslo-i18n-6.1.0.ebuild | 39 |
3 files changed, 0 insertions, 63 deletions
diff --git a/dev-python/oslo-i18n/Manifest b/dev-python/oslo-i18n/Manifest index 9bb1bb7392eb..e914d3e3d826 100644 --- a/dev-python/oslo-i18n/Manifest +++ b/dev-python/oslo-i18n/Manifest @@ -1,2 +1 @@ -DIST oslo.i18n-6.1.0.tar.gz 48031 BLAKE2B da2a03eb382154be31dfc09636395cc5f1c816972e81829181b7745b5f35693069fbe68b6b6223d9188d08a0e1ba277a137290810da9aebf3af49a9b4f2069ea SHA512 6ac6a4c7ea5e43d57c04765f0b0ae90047042ead81c086aa3229d8ffe5402a836e82238f6689d6f6d1a503d8abf147605dc1aab8b8bb4d738e575fb7948fd7e3 DIST oslo.i18n-6.2.0.tar.gz 48228 BLAKE2B bb65caff703e2bbc82f4fecd4b0d491f64ec7d863f848f8f79497df9471257dec25a77ad7f084c6d88ac14a4b1a1f44fd302297e1e13919e69ebaf27c5491d6f SHA512 725d814c7db35250e8ffe06c0021fc9147bcdaa300791f1d50b0eef2897abe609b415a12b6aa58d50925516fd9e6a1ad54e141f77e11856de3ab765b4e06939b diff --git a/dev-python/oslo-i18n/files/oslo-i18n-5.1.0-fix-py3.11.patch b/dev-python/oslo-i18n/files/oslo-i18n-5.1.0-fix-py3.11.patch deleted file mode 100644 index d684cf2ed294..000000000000 --- a/dev-python/oslo-i18n/files/oslo-i18n-5.1.0-fix-py3.11.patch +++ /dev/null @@ -1,23 +0,0 @@ -On python 3.11, we have some more warnings (deprecation warnings), -so the count is >=1 - ---- a/oslo_i18n/tests/test_message.py -+++ b/oslo_i18n/tests/test_message.py -@@ -386,7 +386,7 @@ class MessageTestCase(test_base.BaseTestCase): - - self.assertEqual(default_translation, msg.translation('es')) - -- self.assertEqual(1, len(w)) -+ self.assertLessEqual(1, len(w)) - # Note(gibi): in python 3.4 str.__repr__ does not put the unicode - # marker 'u' in front of the string representations so the test - # removes that to have the same result in python 2.7 and 3.4 -@@ -394,7 +394,7 @@ class MessageTestCase(test_base.BaseTestCase): - "translated message A message in Spanish: %s %s " - "(Original: 'A message: %s'): " - "not enough arguments for format string", -- str(w[0].message).replace("u'", "'")) -+ str(w[-1].message).replace("u'", "'")) - - mock_log.debug.assert_called_with(('Failed to insert replacement ' - 'values into translated message ' diff --git a/dev-python/oslo-i18n/oslo-i18n-6.1.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-6.1.0.ebuild deleted file mode 100644 index d04a8195ae42..000000000000 --- a/dev-python/oslo-i18n/oslo-i18n-6.1.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Oslo i18n library" -HOMEPAGE=" - https://opendev.org/openstack/oslo.i18n/ - https://github.com/openstack/oslo.i18n/ - https://pypi.org/project/oslo.i18n/ -" - -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 |