aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-sphinx
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-05-31 10:00:20 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-05-31 10:00:20 +0000
commitd8cff3e56b7f1643862133f4ce38dc516f62538b (patch)
tree24f5a9e916ed070890d7d4919c8341a505a53d3b /textproc/py-sphinx
parentfd68fbf5c0053862a60f5058ab2af059acae2755 (diff)
downloadports-d8cff3e56b7f1643862133f4ce38dc516f62538b.tar.gz
ports-d8cff3e56b7f1643862133f4ce38dc516f62538b.zip
Introduce PY_TYPING and simplify Makefile
Since devel/py-promise requires 3.6.4+, the minimal version is set to 3.6.4. With hat: python
Notes
Notes: svn path=/head/; revision=503133
Diffstat (limited to 'textproc/py-sphinx')
-rw-r--r--textproc/py-sphinx/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index 61a3fefddd0c..f7cf7573f7b2 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -34,6 +34,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=1.3:devel/py-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.18.1:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}imagesize>=0.7.1:graphics/py-imagesize@${PY_FLAVOR} \
+ ${PY_TYPING} \
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
@@ -44,10 +45,4 @@ USES= python
USE_PYTHON= autoplist distutils concurrent
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3500
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing>=0:devel/py-typing@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>