1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/devel/py-babelfish/Makefile
Jan Beich 9bf6878d7b 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'
2021-07-25 16:17:04 +00:00

22 lines
515 B
Makefile

# Created by: William Grzybowski <wg@FreeBSD.org>
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
LICENSE= BSD3CLAUSE
USES= python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>