Lines 1-6
Link Here
|
1 |
PORTNAME= setuptools |
1 |
PORTNAME= setuptools |
2 |
PORTVERSION= 63.1.0 |
2 |
PORTVERSION= 68.0.0 |
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-31
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 |
|
|
|
18 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} |
19 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} |
20 |
|
19 |
USES= cpe python:3.7+ |
21 |
USES= cpe python:3.7+ |
20 |
USE_PYTHON= allflavors autoplist concurrent distutils |
22 |
USE_PYTHON= allflavors autoplist concurrent pep517 |
21 |
|
23 |
|
22 |
CPE_VENDOR= python |
24 |
CPE_VENDOR= python |
23 |
|
25 |
|
24 |
MAKE_ENV+= SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
|
|
25 |
NO_ARCH= yes |
26 |
NO_ARCH= yes |
26 |
PYDISTUTILS_SETUP= ${PYSETUP} |
|
|
27 |
|
28 |
PLIST_FILES= "@sample %%PYTHON_SITELIBDIR%%/easy-install.pth.dist %%PYTHON_SITELIBDIR%%/easy-install.pth" |
29 |
|
27 |
|
30 |
.include <bsd.port.pre.mk> |
28 |
.include <bsd.port.pre.mk> |
31 |
|
29 |
|
Lines 39-47
SUB_LIST+= PYTHON_VER=${PYTHON_VER}
Link Here
|
39 |
#TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} |
37 |
#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 |
38 |
# pkg install -y py38-pytest py38-mock py38-pytest-fixture-config py38-pytest-virtualenv py38-paver |
41 |
|
39 |
|
42 |
post-install: |
|
|
43 |
${INSTALL_DATA} ${FILESDIR}/easy-install.pth.dist ${STAGEDIR}${PYTHON_SITELIBDIR}/ |
44 |
|
45 |
do-test: |
40 |
do-test: |
46 |
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs |
41 |
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs |
47 |
|
42 |
|