2005-05-09 08:23:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2005/05/09 12:23:45 djm Exp $
|
2004-11-10 22:43:37 -05:00
|
|
|
|
|
|
|
COMMENT= "Python API for advanced date calculations"
|
|
|
|
|
2005-05-09 08:23:45 -04:00
|
|
|
VERSION= 0.9
|
2004-11-10 22:43:37 -05:00
|
|
|
DISTNAME= python-dateutil-${VERSION}
|
|
|
|
PKGNAME= ${DISTNAME:S/^python-/py-/}
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= https://moin.conectiva.com.br/DateUtil
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
# File is mirrored from original site (below) because it is hosted on an
|
|
|
|
# SSL server with a busted certificate
|
|
|
|
# https://moin.conectiva.com.br/DateUtil?action=AttachFile&do=get&target=python-dateutil-${VERSION}
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.mindrot.org/files/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
do-regress: fake
|
|
|
|
@cd ${WRKSRC} && ${MAKE_ENV} \
|
|
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./test.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|