freebsd-ports/devel/py-aspectlib/Makefile
Charlie Li 9a80a6ee5e
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.

With hat: python
PR: 270510, 270358
2023-07-17 20:53:09 -04:00

24 lines
674 B
Makefile

PORTNAME= aspectlib
DISTVERSION= 2.0.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Aspect-oriented programming, monkey-patch and decorators library
WWW= https://github.com/ionelmc/python-aspectlib
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 cython autoplist pytest # tests fail to start, see https://github.com/ionelmc/python-aspectlib/issues/27
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
NO_ARCH= yes
.include <bsd.port.mk>