View | Details | Raw Unified | Return to bug 191659
Collapse All | Expand All

(-)b/devel/Makefile (+1 lines)
Lines 3896-3901 Link Here
3896
    SUBDIR += py-twistedCore
3896
    SUBDIR += py-twistedCore
3897
    SUBDIR += py-twistedFlow
3897
    SUBDIR += py-twistedFlow
3898
    SUBDIR += py-twistedRunner
3898
    SUBDIR += py-twistedRunner
3899
    SUBDIR += py-tzlocal
3899
    SUBDIR += py-ua_parser
3900
    SUBDIR += py-ua_parser
3900
    SUBDIR += py-ujson
3901
    SUBDIR += py-ujson
3901
    SUBDIR += py-uncompyle2
3902
    SUBDIR += py-uncompyle2
(-)b/devel/py-tzlocal/Makefile (+34 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	tzlocal
4
PORTVERSION=	1.1.1
5
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	melvyn@magemana.nl
10
COMMENT=	Returns the tzinfo object for the local timezone
11
12
LICENSE=	CC0-1.0
13
14
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz
15
16
OPTIONS_DEFINE=		TEST
17
OPTIONS_DEFAULT=	TEST
18
TEST_DESC=		Run test suite
19
20
USES=			zip
21
USE_PYTHON=		yes
22
USE_PYDISTUTILS=	yes
23
PYDISTUTILS_AUTOPLIST=	yes
24
25
.include <bsd.port.options.mk>
26
27
regression-test: build
28
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
29
30
.if !empty(PORT_OPTIONS:MTEST)
31
pre-install: regression-test
32
.endif
33
34
.include <bsd.port.mk>
(-)b/devel/py-tzlocal/distinfo (+2 lines)
Added Link Here
1
SHA256 (tzlocal-1.1.1.zip) = 696bfd8d7c888de039af6c6fdf86fd52e32508277d89c75d200eb2c150487ed4
2
SIZE (tzlocal-1.1.1.zip) = 21921
(-)b/devel/py-tzlocal/pkg-descr (+10 lines)
Added Link Here
1
This Python module returns a tzinfo object with the local timezone
2
information under Unix and Win-32. It requires pytz, and returns pytz
3
tzinfo objects.
4
5
This module attempts to fix a glaring hole in pytz, that there is no way
6
to get the local timezone information, unless you know the zoneinfo
7
name, and under several Linux distros that's hard or impossible to
8
figure out.
9
10
WWW: https://pypi.python.org/pypi/tzlocal/

Return to bug 191659