ports/devel/py-virtualenv/Makefile

39 lines
958 B
Makefile
Raw Normal View History

COMMENT= virtual Python environment builder
2023-08-16 22:26:55 +00:00
MODPY_EGG_VERSION= 20.26.2
DISTNAME= virtualenv-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= devel
2023-08-16 22:26:55 +00:00
HOMEPAGE= https://virtualenv.pypa.io/
2023-08-16 22:26:55 +00:00
# MIT
PERMIT_PACKAGE= Yes
2023-08-16 22:26:55 +00:00
MODULES= lang/python
2023-08-16 22:26:55 +00:00
MODPY_PI= Yes
MODPY_PYBUILD= hatch-vcs
2023-08-16 22:26:55 +00:00
# messes up naming of packaged wheels
UPDATE_PLIST_ARGS= -i MODPY_PY_PREFIX
2023-08-16 22:26:55 +00:00
FLAVORS= python3
FLAVOR= python3
2023-08-16 22:26:55 +00:00
RUN_DEPENDS= sysutils/py-distlib${MODPY_FLAVOR} \
sysutils/py-filelock${MODPY_FLAVOR} \
sysutils/py-platformdirs${MODPY_FLAVOR}
TEST_DEPENDS= ${BUILD_PKGPATH} \
devel/py-coverage${MODPY_FLAVOR} \
devel/py-flaky${MODPY_FLAVOR} \
sysutils/py-packaging${MODPY_FLAVOR} \
devel/py-test-mock${MODPY_FLAVOR} \
devel/py-test-timeout${MODPY_FLAVOR}
2023-08-16 22:26:55 +00:00
# i think this shouldn't be needed as it seems like it should use the
# vendored copy, but pytest infrastructure in ports isn't finding it
TEST_DEPENDS+= devel/py-pip${MODPY_FLAVOR}
2023-08-16 22:26:55 +00:00
.include <bsd.port.mk>