openbsd-ports/devel/py-tz/Makefile
ajacoutot 10fe6d903c Update to py-tz-2012c.
MAINTAINER timeout
2012-05-10 08:47:28 +00:00

32 lines
680 B
Makefile

# $OpenBSD: Makefile,v 1.21 2012/05/10 08:47:28 ajacoutot Exp $
COMMENT= Python API for dealing with timezones
MODPY_EGG_VERSION= 2012c
DISTNAME= pytz-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:S/^py/py-/}
CATEGORIES= devel
HOMEPAGE= http://pytz.sourceforge.net/
MAINTAINER= Damien Miller <djm@openbsd.org>
MODULES= lang/python
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytz/}
MODPY_SETUPTOOLS= Yes
do-regress: fake
@cd ${WRKSRC}/pytz/tests && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./test_tzinfo.py
.include <bsd.port.mk>