mirror of
https://git.freebsd.org/ports.git
synced 2025-05-03 03:56:39 -04:00
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
27 lines
650 B
Makefile
27 lines
650 B
Makefile
PORTNAME= setuptools-pkg
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Plugin for setuptools to build FreeBSD pkg
|
|
WWW= https://github.com/kxepal/setuptools-pkg
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PY_SETUPTOOLS}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
|
|
|
NO_ARCH= yes
|
|
|
|
# Actually 2.7,3.4+
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|