1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/www/py-txrequests/Makefile
Muhammad Moinur Rahman bc808e2bff */*: Take maintainership
2022-03-07 20:09:57 -06:00

29 lines
685 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
PORTNAME= txrequests
PORTVERSION= 0.9.6
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Asynchronous Python HTTP for Humans
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.2.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twisted>=9.0.0:devel/py-twisted@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
TEST_ENV= PYTHONPATH=${TEST_WRKSRC}
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/trial ${WRKSRC}/test_txrequests.py
.include <bsd.port.mk>