openbsd-ports/devel/py2-setuptools/Makefile
sthen b05ab8b0e9 py2-setuptools: Remove TEST_DEPENDS. Tests are already disabled by virtue
of the conditional for MODPY_PYTEST but the deps are still listed, so
py2 flavours of those deps can't be removed until this is done. ok kmos@
2022-03-18 19:27:59 +00:00

39 lines
795 B
Makefile

COMMENT = simplified packaging system for Python modules
# Must be <45.0 to support Python 2.7
PORTROACH = limit:^44\.
MODPY_EGG_VERSION = 44.1.1
DISTNAME = setuptools-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
EPOCH = 0
REVISION = 0
CATEGORIES = devel
EXTRACT_SUFX = .zip
HOMEPAGE = https://setuptools.readthedocs.io/en/latest/
MAINTAINER = Kurt Mosiejczuk <kmos@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
NO_TEST = Yes
SUBST_VARS+ = MODPY_FLAVOR
# Override automatic py-setuptools depend to avoid recursion
MODPY_SETUPUTILS_DEPEND =
# test_virtualenv.py needs unported modules
pre-test:
rm -f ${WRKSRC}/setuptools/tests/test_virtualenv.py
.include <bsd.port.mk>