openbsd-ports/www/py-requests-cache/Makefile
2022-11-25 21:11:34 +00:00

29 lines
595 B
Makefile

COMMENT = transparent persistent cache for the py-requests library
MODPY_EGG_VERSION = 0.5.2
DISTNAME = requests-cache-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = www
REVISION = 3
HOMEPAGE = https://github.com/reclosedev/requests-cache
MAINTAINER = Johan Huldtgren <jhuldtgren@gmail.com>
# BSD
PERMIT_PACKAGE = Yes
MODULES = lang/python
FLAVORS = python3
FLAVOR = python3
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
# tests require network
RUN_DEPENDS = www/py-requests${MODPY_FLAVOR}>=1.1.0
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR}
.include <bsd.port.mk>