freebsd-ports/devel/py-unittest2/Makefile
Dmitry Marakasov d085d9801f devel/py-unittest2: limit supported python versions
File "/wrkdirs/usr/ports/devel/py-unittest2/work-py310/unittest2-1.1.0/unittest2/compatibility.py", line 143, in <module>
    class ChainMap(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'

Approved by:	portmgr blanket
2021-11-01 18:28:24 +03:00

23 lines
652 B
Makefile

PORTNAME= unittest2
PORTVERSION= 1.1.0
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= New features in unittest backported to Python 2
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}traceback2>=0:devel/py-traceback2@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}traceback2>=0:devel/py-traceback2@${PY_FLAVOR}
USES= python:3.6-3.9
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>