switch ports using command-line tools from py-sphinx that don't need a py2 version of it to py3-sphinx
36 lines
770 B
Makefile
36 lines
770 B
Makefile
# $OpenBSD: Makefile,v 1.11 2021/02/19 23:13:03 sthen Exp $
|
|
|
|
COMMENT = virtualenv-based automation of test activities
|
|
|
|
MODPY_EGG_VERSION = 2.6.0
|
|
DISTNAME = tox-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
CATEGORIES = devel
|
|
REVISION = 2
|
|
|
|
HOMEPAGE = https://tox.readthedocs.io/en/latest/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
RUN_DEPENDS = devel/py-py${MODPY_FLAVOR} \
|
|
devel/py-pluggy${MODPY_FLAVOR} \
|
|
devel/py-virtualenv${MODPY_FLAVOR}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
# some tests need HOME to be writable
|
|
PORTHOME = /tmp
|
|
|
|
post-install:
|
|
mv ${PREFIX}/bin/tox ${PREFIX}/bin/tox${MODPY_BIN_SUFFIX}
|
|
mv ${PREFIX}/bin/tox-quickstart ${PREFIX}/bin/tox-quickstart${MODPY_BIN_SUFFIX}
|
|
|
|
.include <bsd.port.mk>
|