Files
ports/devel/py-distlib/Makefile
T
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

26 lines
644 B
Makefile

PORTNAME= distlib
DISTVERSION= 0.3.9
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Low-level components of distutils2 and higher-level APIs
WWW= https://github.com/pypa/distlib
LICENSE= PSFL
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist pytest # few tests fail intermittently, see https://github.com/pypa/distlib/issues/205
NO_ARCH= yes
TEST_ENV= PYTHONHASHSEED=0 # needed for tests to succeed
.include <bsd.port.mk>