openbsd-ports/devel/py-dateutil/Makefile
2005-09-19 10:42:45 +00:00

39 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2005/09/19 10:42:45 djm Exp $
COMMENT= "Python API for advanced date calculations"
VERSION= 1.0
ZINFO= 2005k
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://www2.mindrot.org/files/
EXTRACT_SUFX= .tar.bz2
post-install:
${INSTALL_DATA} ${WRKSRC}/dateutil/zoneinfo/zoneinfo-${ZINFO}.tar.gz \
${PREFIX}/lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo
do-regress: fake
@cd ${WRKSRC} && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./test.py
.include <bsd.port.mk>