pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-trytond py-trytond: update options.mk and act...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8bc10cacb5fc
branches: trunk
changeset: 771707:8bc10cacb5fc
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Dec 22 23:00:59 2021 +0000
description:
py-trytond: update options.mk and actually include it
diffstat:
devel/py-trytond/Makefile | 4 +++-
devel/py-trytond/options.mk | 33 ++++++---------------------------
2 files changed, 9 insertions(+), 28 deletions(-)
diffs (68 lines):
diff -r 5262d6258c00 -r 8bc10cacb5fc devel/py-trytond/Makefile
--- a/devel/py-trytond/Makefile Wed Dec 22 22:55:48 2021 +0000
+++ b/devel/py-trytond/Makefile Wed Dec 22 23:00:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2021/12/22 22:55:48 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2021/12/22 23:00:59 wiz Exp $
TRYTON_MODULE_NAME= trytond
.include "../../devel/py-trytond/Makefile.common"
CATEGORIES= devel python
@@ -30,6 +30,8 @@
${DESTDIR}${PREFIX}/bin/${f}${PYVERSSUFFIX} || ${TRUE}
.endfor
+.include "options.mk"
+
.include "../../lang/python/egg.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 5262d6258c00 -r 8bc10cacb5fc devel/py-trytond/options.mk
--- a/devel/py-trytond/options.mk Wed Dec 22 22:55:48 2021 +0000
+++ b/devel/py-trytond/options.mk Wed Dec 22 23:00:59 2021 +0000
@@ -1,21 +1,13 @@
-# $NetBSD: options.mk,v 1.17 2020/12/09 01:46:07 gutteridge Exp $
+# $NetBSD: options.mk,v 1.18 2021/12/22 23:00:59 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.py-trytond
-PKG_SUPPORTED_OPTIONS= cdecimal mysql pydot psycopg pytz simplejson sphinx
-PKG_SUGGESTED_OPTIONS+= psycopg pytz simplejson sphinx
+PKG_SUPPORTED_OPTIONS= levenshtein pydot psycopg
+PKG_SUGGESTED_OPTIONS+= levenshtein pydot psycopg
.include "../../mk/bsd.options.mk"
-# XXX Also supports converters/unoconv and textproc/py-Levenshtein options.
-
-.if !empty(PKG_OPTIONS:Mcdecimal)
-PYTHON_VERSIONS_ACCEPTED= 27 # py-cdecimal is obsolete for that version and thus not available
-DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal
-.endif
-
-.if !empty(PKG_OPTIONS:Mmysql)
-PYTHON_VERSIONS_ACCEPTED= 27 # py-mysqldb
-DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
+.if !empty(PKG_OPTIONS:Mlevenshtein)
+DEPENDS+= ${PYPKGPREFIX}-Levenshtein-[0-9]*:../../textproc/py-Levenshtein
.endif
.if !empty(PKG_OPTIONS:Mpydot)
@@ -23,18 +15,5 @@
.endif
.if !empty(PKG_OPTIONS:Mpsycopg)
-DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2:../../databases/py-psycopg2
-.endif
-
-.if !empty(PKG_OPTIONS:Mpytz)
-DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2.5:../../databases/py-psycopg2
.endif
-
-.if !empty(PKG_OPTIONS:Msimplejson)
-DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
-.endif
-
-.if !empty(PKG_OPTIONS:Msphinx)
-PYTHON_VERSIONED_DEPENDENCIES= sphinx
-.include "../../lang/python/versioned_dependencies.mk"
-.endif
Home |
Main Index |
Thread Index |
Old Index