aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-07-25 14:48:43 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-07-25 16:17:04 +0000
commit9bf6878d7bbfcf4f03c2ba78c41ed5d5638bb811 (patch)
tree0dbdcd7b261d5f8c1a47d1e412218e198b6b7d8e
parentd94bd64c4fdd2ef7bbcb8f4909fdf1cec579e3f2 (diff)
downloadports-9bf6878d7bbfcf4f03c2ba78c41ed5d5638bb811.tar.gz
ports-9bf6878d7bbfcf4f03c2ba78c41ed5d5638bb811.zip
devel/py-babelfish: unbreak with python310
>>> import babelfish Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.10/site-packages/babelfish/__init__.py", line 20, in <module> from .converters import (LanguageConverter, LanguageReverseConverter, LanguageEquivalenceConverter, CountryConverter, File "/usr/local/lib/python3.10/site-packages/babelfish/converters/__init__.py", line 11, in <module> class CaseInsensitiveDict(collections.MutableMapping): AttributeError: module 'collections' has no attribute 'MutableMapping'
-rw-r--r--devel/py-babelfish/Makefile4
-rw-r--r--devel/py-babelfish/distinfo3
2 files changed, 7 insertions, 0 deletions
diff --git a/devel/py-babelfish/Makefile b/devel/py-babelfish/Makefile
index a5cb29c7cd88..dbfdfc0362db 100644
--- a/devel/py-babelfish/Makefile
+++ b/devel/py-babelfish/Makefile
@@ -2,10 +2,14 @@
PORTNAME= babelfish
PORTVERSION= 0.5.5
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PATCH_SITES= https://github.com/Diaoul/${PORTNAME}/commit/
+PATCHFILES+= 7667fb3179e4.patch:-p1 # https://github.com/Diaoul/babelfish/pull/29
+
MAINTAINER= wg@FreeBSD.org
COMMENT= Module to work with countries and languages
diff --git a/devel/py-babelfish/distinfo b/devel/py-babelfish/distinfo
index 9672b2abd88f..047efd50958d 100644
--- a/devel/py-babelfish/distinfo
+++ b/devel/py-babelfish/distinfo
@@ -1,2 +1,5 @@
+TIMESTAMP = 1446295117
SHA256 (babelfish-0.5.5.tar.gz) = 8380879fa51164ac54a3e393f83c4551a275f03617f54a99d70151358e444104
SIZE (babelfish-0.5.5.tar.gz) = 90398
+SHA256 (7667fb3179e4.patch) = 7f86e3500efc63a975871e4b9a7822e2583908335d9c81ab556f46100271c038
+SIZE (7667fb3179e4.patch) = 1733