2011-09-16 05:24:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2011/09/16 09:24:56 espie Exp $
|
2004-11-10 22:35:42 -05:00
|
|
|
|
2008-04-23 12:53:46 -04:00
|
|
|
COMMENT= Python API for dealing with timezones
|
2004-11-10 22:35:42 -05:00
|
|
|
|
2011-08-18 08:53:35 -04:00
|
|
|
MODPY_EGG_VERSION= 2011h
|
2008-04-23 12:53:46 -04:00
|
|
|
DISTNAME= pytz-${MODPY_EGG_VERSION}
|
2010-08-30 18:24:14 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/^py/py-/}
|
2008-04-23 12:53:46 -04:00
|
|
|
CATEGORIES= devel
|
2011-09-16 05:24:48 -04:00
|
|
|
REVISION= 0
|
2004-11-10 22:35:42 -05:00
|
|
|
|
2008-04-23 12:53:46 -04:00
|
|
|
HOMEPAGE= http://pytz.sourceforge.net/
|
2004-11-10 22:35:42 -05:00
|
|
|
|
2008-04-23 12:53:46 -04:00
|
|
|
MAINTAINER= Damien Miller <djm@openbsd.org>
|
2004-11-10 22:35:42 -05:00
|
|
|
|
2008-04-23 12:53:46 -04:00
|
|
|
MODULES= lang/python
|
2004-11-10 22:52:30 -05:00
|
|
|
|
2004-11-10 22:50:41 -05:00
|
|
|
# BSD
|
2004-11-10 22:35:42 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-08-07 04:36:52 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytz/}
|
2004-11-10 22:35:42 -05:00
|
|
|
|
2007-04-02 03:05:08 -04:00
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
|
2004-11-10 22:35:42 -05:00
|
|
|
do-regress: fake
|
2005-07-09 02:21:18 -04:00
|
|
|
@cd ${WRKSRC}/pytz/tests && ${MAKE_ENV} \
|
2004-11-10 22:35:42 -05:00
|
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
|
|
|
|
${MODPY_BIN} ./test_tzinfo.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|