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: make parallel-installable...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5262d6258c00
branches:  trunk
changeset: 771706:5262d6258c00
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 22 22:55:48 2021 +0000

description:
py-trytond: make parallel-installable again, update ALTERNATIVES

ride update

diffstat:

 devel/py-trytond/ALTERNATIVES |   5 ++++-
 devel/py-trytond/Makefile     |   8 +++++++-
 devel/py-trytond/PLIST        |  14 +++++++-------
 3 files changed, 18 insertions(+), 9 deletions(-)

diffs (54 lines):

diff -r 4d77906adfc7 -r 5262d6258c00 devel/py-trytond/ALTERNATIVES
--- a/devel/py-trytond/ALTERNATIVES     Wed Dec 22 22:54:44 2021 +0000
+++ b/devel/py-trytond/ALTERNATIVES     Wed Dec 22 22:55:48 2021 +0000
@@ -1,3 +1,6 @@
+bin/trytond @PREFIX@/bin/trytond@PYVERSSUFFIX@
 bin/trytond-admin @PREFIX@/bin/trytond-admin@PYVERSSUFFIX@
+bin/trytond-console @PREFIX@/bin/trytond-console@PYVERSSUFFIX@
 bin/trytond-cron @PREFIX@/bin/trytond-cron@PYVERSSUFFIX@
-bin/trytond @PREFIX@/bin/trytond@PYVERSSUFFIX@
+bin/trytond-stat @PREFIX@/bin/trytond-stat@PYVERSSUFFIX@
+bin/trytond-worker @PREFIX@/bin/trytond-worker@PYVERSSUFFIX@
diff -r 4d77906adfc7 -r 5262d6258c00 devel/py-trytond/Makefile
--- a/devel/py-trytond/Makefile Wed Dec 22 22:54:44 2021 +0000
+++ b/devel/py-trytond/Makefile Wed Dec 22 22:55:48 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2021/12/22 22:50:22 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2021/12/22 22:55:48 wiz Exp $
 TRYTON_MODULE_NAME=    trytond
 .include "../../devel/py-trytond/Makefile.common"
 CATEGORIES=     devel python
@@ -24,6 +24,12 @@
 USE_PKGLOCALEDIR=      yes
 USE_LANGUAGES=         # none
 
+post-install:
+.for f in trytond trytond-admin trytond-console trytond-cron trytond-stat trytond-worker
+       ${MV} ${DESTDIR}${PREFIX}/bin/${f} \
+               ${DESTDIR}${PREFIX}/bin/${f}${PYVERSSUFFIX} || ${TRUE}
+.endfor
+
 .include "../../lang/python/egg.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4d77906adfc7 -r 5262d6258c00 devel/py-trytond/PLIST
--- a/devel/py-trytond/PLIST    Wed Dec 22 22:54:44 2021 +0000
+++ b/devel/py-trytond/PLIST    Wed Dec 22 22:55:48 2021 +0000
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.8 2021/12/22 22:33:30 mef Exp $
-bin/trytond
-bin/trytond-admin
-bin/trytond-console
-bin/trytond-cron
-bin/trytond-stat
-bin/trytond-worker
+@comment $NetBSD: PLIST,v 1.9 2021/12/22 22:55:48 wiz Exp $
+bin/trytond${PYVERSSUFFIX}
+bin/trytond-admin${PYVERSSUFFIX}
+bin/trytond-console${PYVERSSUFFIX}
+bin/trytond-cron${PYVERSSUFFIX}
+bin/trytond-stat${PYVERSSUFFIX}
+bin/trytond-worker${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index