1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/py-sanetime/Makefile
Kubilay Kocak f05e18c293 devel/py-sanetime: Modernize: STAGE, AUTOPLIST and more
- Enable STAGE support
- Enable AUTOPLIST, delete pkg-plist
- Deprecate easy_install target
- Deprecate OPTIONSFILE override
- pkg-descr: Tab to space in WWW:
- Remove indefinite article from COMMENT
- Sort Makefile sections
- Bump PORTREVISION
2014-02-01 08:55:13 +00:00

35 lines
833 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= sanetime
PORTVERSION= 4.2.3
PORTREVISION= 1
CATEGORIES= devel python astro
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Sane date/time Python interface, with Django support
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
OPTIONS_DEFINE= TESTS
TESTS_DESC= Include tools for unit tests
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
.include <bsd.port.options.mk>
regression-test: build
cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>