kmos 2795ba2341 Bump the REVISION on all ports that use the python2 version of
py-setuptools.

Also change the lang/python module to use the new
devel/py2-setuptools for python2 ports

ok sthen@
2021-05-21 19:50:21 +00:00

27 lines
543 B
Makefile

# $OpenBSD: Makefile,v 1.9 2021/05/21 19:50:25 kmos Exp $
COMMENT= Python function signatures from PEP362 for 2.6, 2.7, 3.2+
MODPY_EGG_VERSION= 1.0.2
DISTNAME= funcsigs-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= devel
REVISION= 3
# MIT
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
MODPY_PI= Yes
MODPY_SETUPTOOLS= Yes
pre-test:
cd ${WRKSRC}/tests && perl -i -pe 's/unittest2/unittest/g' *.py
do-test:
cd ${WRKSRC} && ${MODPY_BIN} -m unittest discover
.include <bsd.port.mk>