openbsd-ports/devel/py-tz/Makefile
2013-03-11 10:50:00 +00:00

27 lines
605 B
Makefile

# $OpenBSD: Makefile,v 1.25 2013/03/11 10:50:27 espie Exp $
COMMENT = Python API for dealing with timezones
MODPY_EGG_VERSION = 2012j
DISTNAME = pytz-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/^py/py-/}
CATEGORIES = devel
HOMEPAGE = http://pytz.sourceforge.net/
MAINTAINER = frantisek holop <minusf@obiit.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=p/pytz/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
do-test: fake
cd ${WRKSRC}/pytz/tests && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./test_tzinfo.py
.include <bsd.port.mk>