diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /dev-python/babelfish | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'dev-python/babelfish')
-rw-r--r-- | dev-python/babelfish/Manifest | 3 | ||||
-rw-r--r-- | dev-python/babelfish/babelfish-0.5.5-r1.ebuild | 22 | ||||
-rw-r--r-- | dev-python/babelfish/files/babelfish-0.5.5-py310.patch | 51 |
3 files changed, 0 insertions, 76 deletions
diff --git a/dev-python/babelfish/Manifest b/dev-python/babelfish/Manifest index 5aa47bacd824..f3e77a1c4a14 100644 --- a/dev-python/babelfish/Manifest +++ b/dev-python/babelfish/Manifest @@ -1,7 +1,4 @@ -AUX babelfish-0.5.5-py310.patch 1777 BLAKE2B 0d3871c4037f159a8e20f96e3005f5984fd9ba4cdc7364047dad74b4388b8a42bf264028f64e73de10903886bc9fb082e8eadc09268c5a2b340e11a940e92faf SHA512 194050cdfc90021d0cfdfbb3fa620f46d3fa96dd601ccd58a0eb62b75d7569952ce7560e8787a7ae51b1d86a305883bf2d13818eac62507ca4284b15a24b23a5 -DIST babelfish-0.5.5.tar.gz 90398 BLAKE2B 3266a92ba5c68d7b801fa9cd13417d04b4a4526ba9fbee34116e356e42857bc36a68b085626a084047d7f9dc512d71d45cebfd06af65ed35bd2478b6957d00d9 SHA512 71504dd0203ad85a6a69107d67df3bd5ae4193515e74c05b346a8bd0aab425fc1534d54d1c74b14e48580ee5e76f04705e35c2d359fbe46254bee37e41cb4bfa DIST babelfish-0.6.0.gh.tar.gz 90886 BLAKE2B deee75aef23cbcb7c64f385c303310e5ce1ef0a3180729e47e59b8e85015ff36360a4be74ef32869421c6d90cf185ad427a7d55b9ef3cf20f551233dae3d425f SHA512 9d3309e67815c301578533fdaf8baae946ba87148b458f7b01315203d2d4356dd770c1a0b7a0ffbba14036b77f1463d67e3b5732efa6682cb6afdae1a8fd0a4b -EBUILD babelfish-0.5.5-r1.ebuild 506 BLAKE2B 34c92e5aec893e8862ee9c9925b7cafeb72566c83ed6ed135a93ff29c002de913c9659d3494b2975c0e786cba84ef208d10eaa844b70e0eeca4fe7a10f190fbf SHA512 c5873af559df194d4eabdc5613c633799e4be5fac487e92eda693e808f252b39ed8ecf2d4fc36863c0c67507b7ed462dac571885643689bbff88dc1ffa3d2a0b EBUILD babelfish-0.6.0-r1.ebuild 605 BLAKE2B 4c4eab53a6b43ba273f635eb0638492e7fbce4a8c00ac56e5b236877b382579e5bf7d851e4aeb6ccd626dd43971683b26a6b2deb5a11fa10feebed127cc88810 SHA512 2dea366bc2cdef1042b83bc90fd30ec2d353df2cc40840b0b9e77e0aed825a03aac586b0d483d7de796456c604f08fe24db2f85eeecdc668cb742dd5949cd9cb EBUILD babelfish-9999.ebuild 538 BLAKE2B 932b02753c51a35bc7f58ac62922a037d5e60cca52f61e2c1bf2fdffd438147790a4354421a13f2bf4d5668e44b5b90fa3ecb252a4cb1b0e72120978fc9e5a28 SHA512 92a65e161e90509cc7ffe3612b1884955ca44fefd94f9bc5f37bc7c00f8b07512c4b312cfb2a465bd8fcbd1bc1c441e3c9af4a074253fa5a1ef69f5a1b826ee0 MISC metadata.xml 392 BLAKE2B 8e9836a0468f33555090d4f599f315d74a16d2eae96be0b57c7f2da8eb8c25cb9a40c7955035ff762ee9f7724794bd152641a46644572d12f938ab91c84af900 SHA512 4e969379d2c11505a8a1b59b3d7fb0380bc512059e5051f676c046521693089cec76d13888d266a75ffb2915ddc69a63e7c8e66c2a0b9c1c0d49dc249cb598da diff --git a/dev-python/babelfish/babelfish-0.5.5-r1.ebuild b/dev-python/babelfish/babelfish-0.5.5-r1.ebuild deleted file mode 100644 index 5e101e351f9b..000000000000 --- a/dev-python/babelfish/babelfish-0.5.5-r1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Python library to work with countries and languages" -HOMEPAGE="https://github.com/Diaoul/babelfish https://pypi.org/project/babelfish/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -distutils_enable_tests setup.py - -PATCHES=( - "${FILESDIR}/${P}-py310.patch" -) diff --git a/dev-python/babelfish/files/babelfish-0.5.5-py310.patch b/dev-python/babelfish/files/babelfish-0.5.5-py310.patch deleted file mode 100644 index 3acd3c55132e..000000000000 --- a/dev-python/babelfish/files/babelfish-0.5.5-py310.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 7667fb3179e421d4af78821132db8e2557fa2dc6 Mon Sep 17 00:00:00 2001 -From: Hugo <hugovk@users.noreply.github.com> -Date: Mon, 20 Jan 2020 18:14:46 +0200 -Subject: [PATCH] Fix imports for Python 3.9 - ---- - babelfish/converters/__init__.py | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -diff --git a/babelfish/converters/__init__.py b/babelfish/converters/__init__.py -index feb687b..d27f849 100644 ---- a/babelfish/converters/__init__.py -+++ b/babelfish/converters/__init__.py -@@ -2,17 +2,22 @@ - # Use of this source code is governed by the 3-clause BSD license - # that can be found in the LICENSE file. - # --import collections - from pkg_resources import iter_entry_points, EntryPoint - from ..exceptions import LanguageConvertError, LanguageReverseError - -+try: -+ # Python 3.3+ -+ from collections.abc import Mapping, MutableMapping -+except ImportError: -+ from collections import Mapping, MutableMapping -+ - - # from https://github.com/kennethreitz/requests/blob/master/requests/structures.py --class CaseInsensitiveDict(collections.MutableMapping): -+class CaseInsensitiveDict(MutableMapping): - """A case-insensitive ``dict``-like object. - - Implements all methods and operations of -- ``collections.MutableMapping`` as well as dict's ``copy``. Also -+ ``collections.abc.MutableMapping`` as well as dict's ``copy``. Also - provides ``lower_items``. - - All keys are expected to be strings. The structure remembers the -@@ -63,7 +68,7 @@ class CaseInsensitiveDict(collections.MutableMapping): - ) - - def __eq__(self, other): -- if isinstance(other, collections.Mapping): -+ if isinstance(other, Mapping): - other = CaseInsensitiveDict(other) - else: - return NotImplemented --- -2.31.1 - |