sthen 40e0752a76 tempita: run 2to3 in post-patch instead of using setuptools use_2to3 which
is going away

tests fail the same as they did before..
2022-08-15 23:00:14 +00:00

33 lines
530 B
Makefile

COMMENT = very small text templating language
MODPY_EGG_VERSION = 0.5.2
DISTNAME = Tempita-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
REVISION = 7
CATEGORIES = www
HOMEPAGE = http://pythonpaste.org/tempita/
# MIT
PERMIT_PACKAGE = Yes
MODPY_PI = Yes
MODULES = lang/python
FLAVORS = python3
FLAVOR = python3
MODPY_SETUPTOOLS = Yes
TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR}
post-patch:
cd ${WRKSRC}; 2to3 -w tempita/*py
do-test:
cd ${WRKSRC}; ${LOCALBASE}/bin/nosetests${MODPY_BIN_SUFFIX}
.include <bsd.port.mk>