1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/www/py-httmock/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

28 lines
550 B
Makefile

# $FreeBSD$
PORTNAME= httmock
PORTVERSION= 1.4.0
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dereks@lifeofadishwasher.com
COMMENT= Mocking library for requests
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR}
USES= python:3.6+
USE_GITHUB= yes # tests missing from PyPI sdist
USE_PYTHON= distutils autoplist
GH_ACCOUNT= patrys
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>