Mon Jul 3 17:33:06 2023 UTC ()
pyt-trytond: move PYTHON_VERSIONS_INCOMPATIBLE into Makefile.common


(wiz)
diff -r1.28 -r1.29 pkgsrc/devel/py-trytond/Makefile.common
diff -r1.19 -r1.20 pkgsrc/devel/py-trytond/options.mk

cvs diff -r1.28 -r1.29 pkgsrc/devel/py-trytond/Makefile.common (expand / switch to unified diff)

--- pkgsrc/devel/py-trytond/Makefile.common 2023/07/03 17:18:05 1.28
+++ pkgsrc/devel/py-trytond/Makefile.common 2023/07/03 17:33:06 1.29
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.28 2023/07/03 17:18:05 wiz Exp $ 1# $NetBSD: Makefile.common,v 1.29 2023/07/03 17:33:06 wiz Exp $
2 2
3# used by databases/py-trytond-ldap-authentication 3# used by databases/py-trytond-ldap-authentication
4# used by devel/py-proteus/Makefile 4# used by devel/py-proteus/Makefile
5# used by devel/py-tryton/Makefile 5# used by devel/py-tryton/Makefile
6# used by devel/py-trytond/Makefile 6# used by devel/py-trytond/Makefile
7# used by finance/py-trytond-account-asset/Makefile 7# used by finance/py-trytond-account-asset/Makefile
8# used by finance/py-trytond-account-be/Makefile 8# used by finance/py-trytond-account-be/Makefile
9# used by finance/py-trytond-account-credit-limit/Makefile 9# used by finance/py-trytond-account-credit-limit/Makefile
10# used by finance/py-trytond-account-de-skr03/Makefile 10# used by finance/py-trytond-account-de-skr03/Makefile
11# used by finance/py-trytond-account-deposit/Makefile 11# used by finance/py-trytond-account-deposit/Makefile
12# used by finance/py-trytond-account-dunning/Makefile 12# used by finance/py-trytond-account-dunning/Makefile
13# used by finance/py-trytond-account-dunning-fee/Makefile 13# used by finance/py-trytond-account-dunning-fee/Makefile
14# used by finance/py-trytond-account-dunning-letter/Makefile 14# used by finance/py-trytond-account-dunning-letter/Makefile
@@ -235,20 +235,20 @@ MODULE_REVISION.trytond_web_user= 0 @@ -235,20 +235,20 @@ MODULE_REVISION.trytond_web_user= 0
235 235
236TRYTON_VERSION= ${TRYTON_BASEVER}.${MODULE_REVISION.${TRYTON_MODULE_NAME}} 236TRYTON_VERSION= ${TRYTON_BASEVER}.${MODULE_REVISION.${TRYTON_MODULE_NAME}}
237 237
238GITHUB_PROJECT= trytond 238GITHUB_PROJECT= trytond
239CATEGORIES?= devel python 239CATEGORIES?= devel python
240 240
241DISTNAME?= ${TRYTON_MODULE_NAME}-${TRYTON_VERSION} 241DISTNAME?= ${TRYTON_MODULE_NAME}-${TRYTON_VERSION}
242PKGNAME?= ${PYPKGPREFIX}-${DISTNAME:S/_/-/g} 242PKGNAME?= ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
243 243
244# TODO: use MASTER_SITES_PYPI 244# TODO: use MASTER_SITES_PYPI
245MASTER_SITES= https://downloads-cdn.tryton.org/6.2/ 245MASTER_SITES= https://downloads-cdn.tryton.org/6.2/
246 246
247DIST_SUBDIR= tryton-${TRYTON_BASEVER} 247DIST_SUBDIR= tryton-${TRYTON_BASEVER}
248PYTHON_VERSIONS_INCOMPATIBLE+= 27 248PYTHON_VERSIONS_INCOMPATIBLE+= 27 37 38
249 249
250# predefine these so modules don't have to. 250# predefine these so modules don't have to.
251PY_PATCHPLIST= yes 251PY_PATCHPLIST= yes
252PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} 252PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
253 253
254OPSYSVARS+= DEPENDS 254OPSYSVARS+= DEPENDS

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

--- pkgsrc/devel/py-trytond/options.mk 2023/07/03 17:18:05 1.19
+++ pkgsrc/devel/py-trytond/options.mk 2023/07/03 17:33:06 1.20
@@ -1,20 +1,19 @@ @@ -1,20 +1,19 @@
1# $NetBSD: options.mk,v 1.19 2023/07/03 17:18:05 wiz Exp $ 1# $NetBSD: options.mk,v 1.20 2023/07/03 17:33:06 wiz Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.py-trytond 3PKG_OPTIONS_VAR= PKG_OPTIONS.py-trytond
4PKG_SUPPORTED_OPTIONS= levenshtein pydot psycopg 4PKG_SUPPORTED_OPTIONS= levenshtein pydot psycopg
5PKG_SUGGESTED_OPTIONS+= levenshtein pydot psycopg 5PKG_SUGGESTED_OPTIONS+= levenshtein pydot psycopg
6 6
7.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
8 8
9.if !empty(PKG_OPTIONS:Mlevenshtein) 9.if !empty(PKG_OPTIONS:Mlevenshtein)
10PYTHON_VERSIONS_INCOMPATIBLE+= 27 37 38 
11DEPENDS+= ${PYPKGPREFIX}-Levenshtein-[0-9]*:../../textproc/py-Levenshtein 10DEPENDS+= ${PYPKGPREFIX}-Levenshtein-[0-9]*:../../textproc/py-Levenshtein
12.endif 11.endif
13 12
14.if !empty(PKG_OPTIONS:Mpydot) 13.if !empty(PKG_OPTIONS:Mpydot)
15DEPENDS+= ${PYPKGPREFIX}-dot-[0-9]*:../../graphics/py-dot 14DEPENDS+= ${PYPKGPREFIX}-dot-[0-9]*:../../graphics/py-dot
16.endif 15.endif
17 16
18.if !empty(PKG_OPTIONS:Mpsycopg) 17.if !empty(PKG_OPTIONS:Mpsycopg)
19DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2.5:../../databases/py-psycopg2 18DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2.5:../../databases/py-psycopg2
20.endif 19.endif