Wed Dec 9 01:46:07 2020 UTC ()
Update a couple of comments that reference Python packages

Those comments were written before converters/unoconv and textproc/
py-Levenshtein were imported. Point to what's in pkgsrc, rather than to
upstream URLs (in the case of py-Levenshtein, an older, unmaintained
version). (I'm not going to change anything to do with Tryton right
now, given the recent related build breakage.)


(gutteridge)
diff -r1.10 -r1.11 pkgsrc/devel/py-proteus/options.mk
diff -r1.16 -r1.17 pkgsrc/devel/py-trytond/options.mk

cvs diff -r1.10 -r1.11 pkgsrc/devel/py-proteus/options.mk (expand / switch to unified diff)

--- pkgsrc/devel/py-proteus/options.mk 2019/11/03 10:18:29 1.10
+++ pkgsrc/devel/py-proteus/options.mk 2020/12/09 01:46:07 1.11
@@ -1,21 +1,20 @@ @@ -1,21 +1,20 @@
1# $NetBSD: options.mk,v 1.10 2019/11/03 10:18:29 rillig Exp $ 1# $NetBSD: options.mk,v 1.11 2020/12/09 01:46:07 gutteridge Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.py-proteus 3PKG_OPTIONS_VAR= PKG_OPTIONS.py-proteus
4PKG_SUPPORTED_OPTIONS+= cdecimal simplejson 4PKG_SUPPORTED_OPTIONS+= cdecimal simplejson
5# track py-trytond for cdecimal suggested option selection 5# track py-trytond for cdecimal suggested option selection
6PKG_SUGGESTED_OPTIONS+= ${PKG_DEFAULT_OPTIONS:Mcdecimal} ${PKG_OPTIONS.py-trytond:Mcdecimal} 6PKG_SUGGESTED_OPTIONS+= ${PKG_DEFAULT_OPTIONS:Mcdecimal} ${PKG_OPTIONS.py-trytond:Mcdecimal}
7PKG_SUGGESTED_OPTIONS+= simplejson 7PKG_SUGGESTED_OPTIONS+= simplejson
8 8
9.include "../../mk/bsd.options.mk" 9.include "../../mk/bsd.options.mk"
10 10
11# XXX Supports unoconv http://dag.wieers.com/home-made/unoconv/) and 11# XXX Also supports converters/unoconv and textproc/py-Levenshtein options.
12# XXX python-Levenshtein (http://github.com/miohtama/python-Levenshtein) options 
13 12
14.if !empty(PKG_OPTIONS:Mcdecimal) 13.if !empty(PKG_OPTIONS:Mcdecimal)
15PYTHON_VERSIONS_ACCEPTED= 27 # py-cdecimal is obsolete for that version and thus not available 14PYTHON_VERSIONS_ACCEPTED= 27 # py-cdecimal is obsolete for that version and thus not available
16DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal 15DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal
17.endif 16.endif
18 17
19.if !empty(PKG_OPTIONS:Msimplejson) 18.if !empty(PKG_OPTIONS:Msimplejson)
20DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson 19DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
21.endif 20.endif

cvs diff -r1.16 -r1.17 pkgsrc/devel/py-trytond/options.mk (expand / switch to unified diff)

--- pkgsrc/devel/py-trytond/options.mk 2019/10/21 21:45:40 1.16
+++ pkgsrc/devel/py-trytond/options.mk 2020/12/09 01:46:07 1.17
@@ -1,23 +1,22 @@ @@ -1,23 +1,22 @@
1# $NetBSD: options.mk,v 1.16 2019/10/21 21:45:40 adam Exp $ 1# $NetBSD: options.mk,v 1.17 2020/12/09 01:46:07 gutteridge Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.py-trytond 3PKG_OPTIONS_VAR= PKG_OPTIONS.py-trytond
4PKG_SUPPORTED_OPTIONS= cdecimal mysql pydot psycopg pytz simplejson sphinx 4PKG_SUPPORTED_OPTIONS= cdecimal mysql pydot psycopg pytz simplejson sphinx
5PKG_SUGGESTED_OPTIONS+= psycopg pytz simplejson sphinx 5PKG_SUGGESTED_OPTIONS+= psycopg pytz simplejson sphinx
6 6
7.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
8 8
9# XXX: Supports unoconv http://dag.wieers.com/home-made/unoconv/) option and 9# XXX Also supports converters/unoconv and textproc/py-Levenshtein options.
10# XXX: python-Levenshtein (http://github.com/miohtama/python-Levenshtein) option 
11 10
12.if !empty(PKG_OPTIONS:Mcdecimal) 11.if !empty(PKG_OPTIONS:Mcdecimal)
13PYTHON_VERSIONS_ACCEPTED= 27 # py-cdecimal is obsolete for that version and thus not available 12PYTHON_VERSIONS_ACCEPTED= 27 # py-cdecimal is obsolete for that version and thus not available
14DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal 13DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal
15.endif 14.endif
16 15
17.if !empty(PKG_OPTIONS:Mmysql) 16.if !empty(PKG_OPTIONS:Mmysql)
18PYTHON_VERSIONS_ACCEPTED= 27 # py-mysqldb 17PYTHON_VERSIONS_ACCEPTED= 27 # py-mysqldb
19DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb 18DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
20.endif 19.endif
21 20
22.if !empty(PKG_OPTIONS:Mpydot) 21.if !empty(PKG_OPTIONS:Mpydot)
23DEPENDS+= ${PYPKGPREFIX}-dot-[0-9]*:../../graphics/py-dot 22DEPENDS+= ${PYPKGPREFIX}-dot-[0-9]*:../../graphics/py-dot