freebsd-ports/www/py-requests/Makefile
Kubilay Kocak c7f67e9541 www/py-requests: Update to 2.7.0
- Update to 2.7.0
- Update regression-test to canonical test invocation [1]
- Patch setup.py to add tests dependencies and support test command [1]

Changes:

  https://github.com/kennethreitz/requests/blob/v2.7.0/HISTORY.rst

[1] https://github.com/kennethreitz/requests/pull/2630
2015-06-05 04:43:14 +00:00

26 lines
604 B
Makefile

# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
# $FreeBSD$
PORTNAME= requests
PORTVERSION= 2.7.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= HTTP library written in Python for human beings
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.3.4:${PORTSDIR}/devel/py-pytest
USES= python
USE_PYTHON= autoplist distutils
CONFLICTS_INSTALL= py*-requests1-*
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>