freebsd-ports/www/py-restclient/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

24 lines
539 B
Makefile

# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
# $FreeBSD$
PORTNAME= restclient
PORTVERSION= 0.11.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Convenient library for writing REST clients
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>=0:www/py-httplib2@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
post-patch:
${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py
.include <bsd.port.mk>