|
Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
| 2 |
|
| 3 |
PORTNAME= treq |
| 4 |
PORTVERSION= 17.8.0 |
| 5 |
CATEGORIES= www python |
| 6 |
MASTER_SITES= CHEESESHOP |
| 7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
| 8 |
|
| 9 |
MAINTAINER= asomers@FreeBSD.org |
| 10 |
COMMENT= Requests-like API built on top of twisted.web's Agent |
| 11 |
|
| 12 |
LICENSE= MIT |
| 13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
| 14 |
|
| 15 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental |
| 16 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs \ |
| 17 |
${PYTHON_PKGNAMEPREFIX}twisted>=16.4.0:devel/py-twisted \ |
| 18 |
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six \ |
| 19 |
${PYTHON_PKGNAMEPREFIX}requests>=2.1.0:www/py-requests \ |
| 20 |
${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl \ |
| 21 |
${PYTHON_PKGNAMEPREFIX}service_identity>=16.0.0:security/py-service_identity \ |
| 22 |
${PYTHON_PKGNAMEPREFIX}idna>=2.4:dns/py-idna |
| 23 |
|
| 24 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock |
| 25 |
|
| 26 |
USES= python:2.7+ # Actually 2.7+,3.3+ |
| 27 |
USE_PYTHON= autoplist distutils |
| 28 |
|
| 29 |
NO_ARCH= yes |
| 30 |
|
| 31 |
do-test: |
| 32 |
@cd ${WRKSRC} && ${PYTHON_CMD} -m twisted.trial treq |
| 33 |
|
| 34 |
.include <bsd.port.mk> |