freebsd-ports/www/py-grequests/Makefile
Kubilay Kocak 1d9d400a8d www/py-grequests: Update to 0.2.0, use github and setuptools
- Update to 0.2.0
- Update pkg-plist
- Use GITHUB for distfiles
- Use setuptools
- Update requests minimum version in RUN_DEPENDS
- Add regression-test: target
- Re-patch setup.py to hook in unit tests
- pkg-descr: Tab->space in WWW:

Approved by:	eadler, rm (mentors, implicit)
2013-04-29 10:43:25 +00:00

28 lines
649 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= grequests
PORTVERSION= 0.2.0
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Requests with Gevent to make asyncronous HTTP requests
LICENSE= BSD
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>0:${PORTSDIR}/devel/py-gevent \
${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:${PORTSDIR}/www/py-requests
USE_GITHUB= yes
GH_ACCOUNT= kennethreitz
GH_TAGNAME= v${DISTVERSION}
GH_COMMIT= aee3be6
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>