blob: 9a3a75467651fa8cf110a2da911d90be8f624f60 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $FreeBSD$
PORTNAME= tzlocal
PORTVERSION= 1.1.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= melvyn@magemana.nl
COMMENT= Returns the tzinfo object for the local timezone
LICENSE= CC0-1.0
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz
OPTIONS_DEFINE= TEST
OPTIONS_DEFAULT= TEST
TEST_DESC= Run test suite
USES= python zip
USE_PYTHON= distutils autoplist
.include <bsd.port.options.mk>
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.if !empty(PORT_OPTIONS:MTEST)
pre-install: regression-test
.endif
.include <bsd.port.mk>
|