summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-10-21 21:08:56 +0000
committeradam <adam@pkgsrc.org>2019-10-21 21:08:56 +0000
commit30061d7581babb127c77e350279c791b2d7c86b7 (patch)
tree60cc37e35b5b16104c61c31b9cb7ca5ae7b6b885 /lang/python
parent1fa9cc6910e60f61b1f727c9b6ac786d3cfa21cb (diff)
downloadpkgsrc-30061d7581babb127c77e350279c791b2d7c86b7.tar.gz
Added sphinx to Python versioned dependencies
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/versioned_dependencies.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/python/versioned_dependencies.mk b/lang/python/versioned_dependencies.mk
index 5470727e079..804d07a9c5f 100644
--- a/lang/python/versioned_dependencies.mk
+++ b/lang/python/versioned_dependencies.mk
@@ -1,4 +1,4 @@
-# $NetBSD: versioned_dependencies.mk,v 1.33 2018/09/05 08:22:46 adam Exp $
+# $NetBSD: versioned_dependencies.mk,v 1.34 2019/10/21 21:08:56 adam Exp $
#
# This file determines which separate distribution of a Python
# package is used as dependency, depending on the Python version
@@ -9,7 +9,7 @@
# PYTHON_VERSIONED_DEPENDENCIES
# The Python package which should be added as a dependency.
#
-# Possible values: Pmw X cherrypy dialog ipython jsonlib python-digest
+# Possible values: Pmw X cherrypy dialog ipython jsonlib python-digest sphinx
# Default: (nothing)
#
@@ -23,6 +23,7 @@ _SUPPORTED_PACKAGES+= dialog devel/py-dialog2 devel/py-dialog
_SUPPORTED_PACKAGES+= ipython devel/py-ipython5 devel/py-ipython
_SUPPORTED_PACKAGES+= jsonlib textproc/py-jsonlib textproc/py-jsonlib3
_SUPPORTED_PACKAGES+= python-digest www/py-python-digest www/py-python3-digest
+_SUPPORTED_PACKAGES+= sphinx textproc/py-sphinx1 textproc/py-sphinx
.for pattern in ${PYTHON_VERSIONED_DEPENDENCIES}
_PKG_MATCHED= no
@@ -42,6 +43,8 @@ dir:= ${py3dir}
BUILD_DEPENDS:= ${BUILD_DEPENDS} ${PYPKGPREFIX}-${pkg}-[0-9]*:../../${dir}
. elif "${type}" == ":test"
TEST_DEPENDS:= ${TEST_DEPENDS} ${PYPKGPREFIX}-${pkg}-[0-9]*:../../${dir}
+. elif "${type}" == ":tool"
+TOOL_DEPENDS:= ${TOOL_DEPENDS} ${PYPKGPREFIX}-${pkg}-[0-9]*:../../${dir}
. else
DEPENDS:= ${DEPENDS} ${PYPKGPREFIX}-${pkg}-[0-9]*:../../${dir}
. endif