diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2013-02-12 12:24:28 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2013-02-12 12:24:28 +0000 |
commit | 8b5096dd4327ef09c1b12d3ae16e02506d4b449e (patch) | |
tree | 46b74aab3bb99def145de21849bae12da0e5ee65 /devel/py-sanetime/Makefile | |
parent | e0805eec0d8e6f8bfb6580f11ae672b7a2442da7 (diff) | |
download | ports-8b5096dd4327ef09c1b12d3ae16e02506d4b449e.tar.gz ports-8b5096dd4327ef09c1b12d3ae16e02506d4b449e.zip |
Notes
Diffstat (limited to 'devel/py-sanetime/Makefile')
-rw-r--r-- | devel/py-sanetime/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/devel/py-sanetime/Makefile b/devel/py-sanetime/Makefile index 724bd0243926..2a0466e2ef21 100644 --- a/devel/py-sanetime/Makefile +++ b/devel/py-sanetime/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= sanetime -PORTVERSION= 4.1.9 +PORTVERSION= 4.2.3 CATEGORIES= devel python astro MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,8 +14,22 @@ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:${PORTSDIR}/devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}pytz>=2010:${PORTSDIR}/devel/py-pytz +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2:${PORTSDIR}/devel/py-unittest2 -USE_PYTHON= yes -USE_PYDISTUTILS=easy_install +OPTIONS_DEFINE= TESTS +TESTS_DESC= Include tools for unit tests +OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MTESTS} +BUILD_DEPENDS:= ${TEST_DEPENDS} +.endif + +USE_PYTHON= -2.7 +USE_PYDISTUTILS= easy_install + +regression-test: build + cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include <bsd.port.mk> |