1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/py-requests-futures/Makefile
Mark Felder 94de750f21 Small add-on for the python requests http library. Makes use of python
3.2's concurrent.futures or the backport for prior versions of python.

WWW: https://github.com/ross/requests-futures
2016-05-16 02:01:28 +00:00

29 lines
578 B
Makefile

# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$
PORTNAME= requests-futures
PORTVERSION= 0.9.7
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= feld@FreeBSD.org
COMMENT= HTTP library written in Python for human beings
LICENSE= APACHE20
USES= python
USE_PYTHON= autoplist distutils
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_VER} == "2.7"
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures
.endif
.include <bsd.port.post.mk>