Lines 1-6
Link Here
|
1 |
PORTNAME= setuptools |
1 |
PORTNAME= setuptools |
2 |
PORTVERSION= 63.1.0 |
2 |
PORTVERSION= 68.2.2 |
3 |
PORTREVISION= 1 |
|
|
4 |
CATEGORIES= devel python |
3 |
CATEGORIES= devel python |
5 |
MASTER_SITES= PYPI |
4 |
MASTER_SITES= PYPI |
6 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 16-33
WWW= https://pypi.org/project/setuptools/
Link Here
|
16 |
LICENSE= MIT |
15 |
LICENSE= MIT |
17 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
16 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
18 |
|
17 |
|
19 |
USES= cpe python |
18 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} |
20 |
USE_PYTHON= allflavors autoplist concurrent distutils |
19 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} |
21 |
|
20 |
|
|
|
21 |
USES= cpe python |
22 |
CPE_VENDOR= python |
22 |
CPE_VENDOR= python |
|
|
23 |
USE_PYTHON= allflavors autoplist concurrent pep517 |
23 |
|
24 |
|
24 |
MAKE_ENV+= SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
|
|
25 |
NO_ARCH= yes |
25 |
NO_ARCH= yes |
26 |
PYDISTUTILS_SETUP= ${PYSETUP} |
|
|
27 |
|
26 |
|
28 |
PLIST_FILES= "@sample %%PYTHON_SITELIBDIR%%/easy-install.pth.dist %%PYTHON_SITELIBDIR%%/easy-install.pth" |
27 |
.include <bsd.port.options.mk> |
29 |
|
|
|
30 |
.include <bsd.port.pre.mk> |
31 |
|
28 |
|
32 |
.if ${FLAVOR} != ${FLAVORS:[1]} |
29 |
.if ${FLAVOR} != ${FLAVORS:[1]} |
33 |
SUB_FILES+= pkg-message |
30 |
SUB_FILES+= pkg-message |
Lines 39-48
SUB_LIST+= PYTHON_VER=${PYTHON_VER}
Link Here
|
39 |
#TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} |
36 |
#TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} |
40 |
# pkg install -y py38-pytest py38-mock py38-pytest-fixture-config py38-pytest-virtualenv py38-paver |
37 |
# pkg install -y py38-pytest py38-mock py38-pytest-fixture-config py38-pytest-virtualenv py38-paver |
41 |
|
38 |
|
42 |
post-install: |
|
|
43 |
${INSTALL_DATA} ${FILESDIR}/easy-install.pth.dist ${STAGEDIR}${PYTHON_SITELIBDIR}/ |
44 |
|
45 |
do-test: |
39 |
do-test: |
46 |
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs |
40 |
cd ${WRKSRC} && \ |
|
|
41 |
${PYTHON_CMD} -m pytest -v -rs |
47 |
|
42 |
|
48 |
.include <bsd.port.post.mk> |
43 |
.include <bsd.port.mk> |