mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
37 lines
805 B
Makefile
37 lines
805 B
Makefile
COMMENT= virtual Python environment builder
|
|
|
|
MODPY_DISTV= 21.5.0
|
|
DISTNAME= virtualenv-${MODPY_DISTV}
|
|
PKGNAME= py-${DISTNAME}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= https://virtualenv.pypa.io/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_PI= Yes
|
|
MODPY_PYBUILD= hatch-vcs
|
|
|
|
# messes up naming of packaged wheels
|
|
UPDATE_PLIST_ARGS= -i MODPY_PY_PREFIX
|
|
|
|
RUN_DEPENDS= devel/py-python-discovery \
|
|
sysutils/py-distlib \
|
|
sysutils/py-filelock \
|
|
sysutils/py-platformdirs
|
|
TEST_DEPENDS= ${BUILD_PKGPATH} \
|
|
devel/py-coverage \
|
|
devel/py-flaky \
|
|
sysutils/py-packaging \
|
|
devel/py-test-mock \
|
|
devel/py-test-timeout
|
|
|
|
# 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
|
|
|
|
.include <bsd.port.mk>
|