pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python Added sphinx to Python versioned dependencies



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1b8a3c8ba84
branches:  trunk
changeset: 403108:d1b8a3c8ba84
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 21 21:08:56 2019 +0000

description:
Added sphinx to Python versioned dependencies

diffstat:

 lang/python/versioned_dependencies.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 8f69267cb544 -r d1b8a3c8ba84 lang/python/versioned_dependencies.mk
--- a/lang/python/versioned_dependencies.mk     Mon Oct 21 21:06:04 2019 +0000
+++ b/lang/python/versioned_dependencies.mk     Mon Oct 21 21:08:56 2019 +0000
@@ -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+=  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 @@
 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



Home | Main Index | Thread Index | Old Index