openbsd-ports/devel/py-tz/Makefile
2011-06-08 17:31:05 +00:00

33 lines
691 B
Makefile

# $OpenBSD: Makefile,v 1.18 2011/06/08 17:39:26 jasper Exp $
COMMENT= Python API for dealing with timezones
MODPY_EGG_VERSION= 2008i
DISTNAME= pytz-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:S/^py/py-/}
REVISION = 2
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>