openbsd-ports/www/py-requests/Makefile
2012-12-30 17:17:28 +00:00

30 lines
590 B
Makefile

# $OpenBSD: Makefile,v 1.4 2012/12/30 17:17:28 jasper Exp $
COMMENT= elegant and simple HTTP library for Python
MODPY_EGG_VERSION=1.0.4
DISTNAME= requests-${MODPY_EGG_VERSION}
PKGNAME= py-requests-${MODPY_EGG_VERSION}
CATEGORIES= www
HOMEPAGE= http://python-requests.org/
# APLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=r/requests/}
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
#MODPY_ADJ_FILES=test_requests.py
pre-configure:
${SUBST_CMD} ${WRKSRC}/setup.py
.include <bsd.port.mk>