2007-03-18 22:06:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2007/03/19 02:06:38 djm Exp $
|
2004-11-10 22:43:37 -05:00
|
|
|
|
|
|
|
COMMENT= "Python API for advanced date calculations"
|
|
|
|
|
2007-03-18 22:06:38 -04:00
|
|
|
VERSION= 1.1
|
|
|
|
ZINFO= 2005q
|
2004-11-10 22:43:37 -05:00
|
|
|
DISTNAME= python-dateutil-${VERSION}
|
2007-03-18 22:06:38 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/^python-/py-/}
|
2004-11-10 22:43:37 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2007-03-18 22:06:38 -04:00
|
|
|
HOMEPAGE= http://labix.org/python-dateutil
|
2004-11-10 22:43:37 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2007-03-18 22:06:38 -04:00
|
|
|
MASTER_SITES= http://labix.org/download/python-dateutil/
|
2004-11-10 22:43:37 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2005-05-16 21:53:44 -04:00
|
|
|
post-install:
|
2005-09-19 06:40:12 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dateutil/zoneinfo/zoneinfo-${ZINFO}.tar.gz \
|
2005-05-16 21:53:44 -04:00
|
|
|
${PREFIX}/lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo
|
|
|
|
|
2004-11-10 22:43:37 -05:00
|
|
|
do-regress: fake
|
|
|
|
@cd ${WRKSRC} && ${MAKE_ENV} \
|
|
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./test.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|