freebsd-ports/www/py-cheroot/Makefile
Sunpoet Po-Chuan Hsieh 6abf2d8218 Update to 8.3.0
Changes:	https://github.com/cherrypy/cheroot/releases
PR:		244419
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 27 days)
2020-03-28 13:33:57 +00:00

43 lines
1.3 KiB
Makefile

# Created by: Keith Gaughan <k@stereochro.me>
# $FreeBSD$
PORTNAME= cheroot
PORTVERSION= 8.3.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= k@stereochro.me
COMMENT= Highly-optimized, pure-python HTTP server
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3300
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>0:devel/py-backports.functools_lru_cache@${PY_FLAVOR}
.endif
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}more-itertools5>=2.6:devel/py-more-itertools5@${PY_FLAVOR}
.else
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}more-itertools>=2.6:devel/py-more-itertools@${PY_FLAVOR}
.endif
.if ${PYTHON_REL} < 3600
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}jaraco.functools2>=0:devel/py-jaraco.functools2@${PY_FLAVOR}
.else
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}jaraco.functools>=0:devel/py-jaraco.functools@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>