1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/py-tox/Makefile
Kubilay Kocak 3c8c08961c devel/py-tox: Update to 1.5.0, Update LICENSE (MIT)
- Update to 1.5.0
- Update LICENSE (MIT)
- Update minimum versions in RUN_DEPENDS
- Tweak PYTEST option description

Changes: http://tox.readthedocs.org/en/latest/changelog.html

portlint: OK - looks fine.
porttest: OK - 9-STABLE amd64, clang
testport: OK - poudriere, all versions/archs
unittest: OK - 142 passed, 3 skipped in 24.36 seconds
2013-07-07 07:37:19 +00:00

41 lines
995 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= tox
PORTVERSION= 1.5.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python virtualenv-based automation of test activities
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>=1.9.1:${PORTSDIR}/devel/py-virtualenv \
${PYTHON_PKGNAMEPREFIX}pylib>=1.4.15:${PORTSDIR}/devel/py-pylib
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
OPTIONS_DEFINE= PYTEST
PYTEST_DESC= Include the pytest test runner
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTEST}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
.endif
.include <bsd.port.pre.mk>
.if ${PYTHON_VER} <= 3.2
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse
.endif
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.post.mk>