lang/python port module. I've not yet come up with a port that would not need this and one can always set MODPY_TESTDEP to "no" to prevent the module from touching TEST_DEPENDS. Idea from afresh1 who pointed out the cpan module already does this. aja "I support this move." OK sthen@
33 lines
657 B
Makefile
33 lines
657 B
Makefile
# $OpenBSD: Makefile,v 1.9 2019/05/15 12:04:35 kmos Exp $
|
|
|
|
COMMENT = common base representation of Python source code
|
|
|
|
MODPY_EGG_VERSION = 1.4.9
|
|
DISTNAME = astroid-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
CATEGORIES = devel
|
|
REVISION = 2
|
|
|
|
HOMEPAGE = http://www.astroid.org/
|
|
|
|
# LGPLv2.1+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
RUN_DEPENDS = devel/py-lazy-object-proxy${MODPY_FLAVOR} \
|
|
devel/py-six${MODPY_FLAVOR} \
|
|
devel/py-wrapt${MODPY_FLAVOR}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && \
|
|
${MODPY_BIN} -m unittest discover -p "unittest*.py" -v
|
|
|
|
.include <bsd.port.mk>
|