Files
ports/www/py-httmock/Makefile
T
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

28 lines
588 B
Makefile

PORTNAME= httmock
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dereks@lifeofadishwasher.com
COMMENT= Mocking library for requests
WWW= https://github.com/patrys/httmock
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR}
USES= python
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>