openbsd-ports/www/py-requests/Makefile
jasper 3e7b6b9535 import py-requests 0.6.2
Requests is an ISC Licensed HTTP library, written in Python, for human
beings.
Requests allow you to send HEAD, GET, POST, PUT, PATCH, and DELETE HTTP
requests. You can add headers, form data, multipart files, and
parameters with simple Python dictionaries, and access the response data
in the same way. It's powered by urllib2, but it does all the hard work
and crazy hacks for you.

fixed regress tests and ok rpointel@
2011-10-14 16:32:54 +00:00

36 lines
717 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/10/14 16:32:54 jasper Exp $
COMMENT= elegant and simple HTTP library for Python
MODPY_EGG_VERSION=0.6.2
DISTNAME= kennethreitz-requests-v${MODPY_EGG_VERSION}-0-ga8695ec
PKGNAME= py-requests-${MODPY_EGG_VERSION}
CATEGORIES= www
HOMEPAGE= http://python-requests.org/
# ISC
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://distfiles.nl/
EXTRACT_SUFX= .zip
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
#MODPY_ADJ_FILES=test_requests.py
WRKDIST= ${WRKDIR}/kennethreitz-requests-a8695ec/
post-extract:
rm ${WRKSRC}/AUTHORS.orig
pre-configure:
${SUBST_CMD} ${WRKSRC}/setup.py
.include <bsd.port.mk>