openbsd-ports/devel/py-tz/Makefile

31 lines
638 B
Makefile

# $OpenBSD: Makefile,v 1.10 2007/04/02 07:05:08 steven Exp $
COMMENT= "Python API for dealing with timezones"
DISTNAME= pytz-2006p
PKGNAME= ${DISTNAME:S/^py/py-/}p1
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_SOURCEFORGE:=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>