pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-trytond



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Apr 18 15:24:20 UTC 2025

Modified Files:
        pkgsrc/devel/py-trytond: Makefile PLIST
Removed Files:
        pkgsrc/devel/py-trytond: MESSAGE

Log Message:
py-trytond: convert to wheel.mk

Fix interpreter shebang.

Remove MESSAGE while here.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/py-trytond/MESSAGE
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-trytond/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-trytond/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-trytond/Makefile
diff -u pkgsrc/devel/py-trytond/Makefile:1.28 pkgsrc/devel/py-trytond/Makefile:1.29
--- pkgsrc/devel/py-trytond/Makefile:1.28       Mon Oct 23 06:37:43 2023
+++ pkgsrc/devel/py-trytond/Makefile    Fri Apr 18 15:24:20 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2023/10/23 06:37:43 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2025/04/18 15:24:20 wiz Exp $
 TRYTON_MODULE_NAME=    trytond
-PKGREVISION= 3
+PKGREVISION= 4
 .include "../../devel/py-trytond/Makefile.common"
 CATEGORIES=     devel python
 
@@ -9,6 +9,7 @@ HOMEPAGE=       https://www.tryton.org/
 COMMENT=       Tryton server
 LICENSE=       gnu-gpl-v3
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=2.0:../../textproc/py-lxml
 DEPENDS+=      ${PYPKGPREFIX}-relatorio>=0.7.0:../../textproc/py-relatorio
 DEPENDS+=      ${PYPKGPREFIX}-genshi-[0-9]*:../../www/py-genshi
@@ -21,10 +22,10 @@ DEPENDS+=   ${PYPKGPREFIX}-passlib>=1.7.0:
 DEPENDS+=      ${PYPKGPREFIX}-magic-[0-9]*:../../sysutils/py-magic
 TEST_DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
 
-USE_PKGLOCALEDIR=      yes
 USE_LANGUAGES=         # none
 
-USE_PKG_RESOURCES=     yes
+REPLACE_PYTHON+=       trytond
+REPLACE_PYTHON+=       trytond-*
 
 post-install:
 .for f in trytond trytond-admin trytond-console trytond-cron trytond-stat trytond-worker
@@ -34,7 +35,8 @@ post-install:
 
 .include "options.mk"
 
+.include "../../lang/python/application.mk"
 .include "../../lang/python/batteries-included.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-trytond/PLIST
diff -u pkgsrc/devel/py-trytond/PLIST:1.9 pkgsrc/devel/py-trytond/PLIST:1.10
--- pkgsrc/devel/py-trytond/PLIST:1.9   Wed Dec 22 22:55:48 2021
+++ pkgsrc/devel/py-trytond/PLIST       Fri Apr 18 15:24:20 2025
@@ -1,16 +1,15 @@
-@comment $NetBSD: PLIST,v 1.9 2021/12/22 22:55:48 wiz Exp $
-bin/trytond${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.10 2025/04/18 15:24:20 wiz Exp $
 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
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+bin/trytond${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/trytond/__init__.py
 ${PYSITELIB}/trytond/__init__.pyc
 ${PYSITELIB}/trytond/__init__.pyo



Home | Main Index | Thread Index | Old Index