pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-trytond (devel/py-trytond) Updated 4.2.2 to 6...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cc7bee15ecdc
branches: trunk
changeset: 771700:cc7bee15ecdc
user: mef <mef%pkgsrc.org@localhost>
date: Wed Dec 22 22:33:30 2021 +0000
description:
(devel/py-trytond) Updated 4.2.2 to 6.2.2
diffstat:
devel/py-trytond/DESCR | 5 +-
devel/py-trytond/Makefile | 83 +------
devel/py-trytond/Makefile.common | 36 ++-
devel/py-trytond/PLIST | 381 ++++++++++++++++++++++++++++++++------
devel/py-trytond/distinfo | 9 +-
5 files changed, 364 insertions(+), 150 deletions(-)
diffs (truncated from 944 to 300 lines):
diff -r db7d03f8aa62 -r cc7bee15ecdc devel/py-trytond/DESCR
--- a/devel/py-trytond/DESCR Wed Dec 22 22:25:26 2021 +0000
+++ b/devel/py-trytond/DESCR Wed Dec 22 22:33:30 2021 +0000
@@ -1,4 +1,3 @@
-The server of the Tryton application platform, a three-tiers high-level general
-purpose application platform written in Python and uses PostgreSQL as main
-database engine. It is the core base of an Open Source ERP. It provides
+The server of Tryton. Tryton is business software, ideal for companies of
+any size, easy to use, complete and 100% Open Source. It provides
modularity, scalability and security.
diff -r db7d03f8aa62 -r cc7bee15ecdc devel/py-trytond/Makefile
--- a/devel/py-trytond/Makefile Wed Dec 22 22:25:26 2021 +0000
+++ b/devel/py-trytond/Makefile Wed Dec 22 22:33:30 2021 +0000
@@ -1,77 +1,28 @@
-# $NetBSD: Makefile,v 1.21 2021/12/16 14:48:11 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2021/12/22 22:33:30 mef Exp $
TRYTON_MODULE_NAME= trytond
.include "../../devel/py-trytond/Makefile.common"
-CATEGORIES= devel python
+CATEGORIES= devel python
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://www.tryton.org/
-COMMENT= Server of the Tryton application platform
+COMMENT= Tryton server
LICENSE= gnu-gpl-v3
-DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
-DEPENDS+= ${PYPKGPREFIX}-python-sql>=0.4:../../databases/py-python-sql
-DEPENDS+= ${PYPKGPREFIX}-polib-[0-9]*:../../devel/py-polib
-DEPENDS+= ${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
-DEPENDS+= ${PYPKGPREFIX}-bcrypt-[0-9]*:../../security/py-bcrypt
-DEPENDS+= ${PYPKGPREFIX}-relatorio>=0.2.0:../../textproc/py-relatorio
-DEPENDS+= ${PYPKGPREFIX}-lxml>=2.0:../../textproc/py-lxml
-DEPENDS+= ${PYPKGPREFIX}-genshi-[0-9]*:../../www/py-genshi
-DEPENDS+= ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug
-
-USE_LANGUAGES= # none
-
-REPLACE_PYTHON+= trytond/tests/run-tests.py trytond/tests/test_access.py
-REPLACE_PYTHON+= trytond/tests/test_cache.py trytond/tests/test_copy.py
-REPLACE_PYTHON+= trytond/tests/test_exportdata.py
-REPLACE_PYTHON+= trytond/tests/test_fields.py
-REPLACE_PYTHON+= trytond/tests/test_importdata.py
-REPLACE_PYTHON+= trytond/tests/test_mixins.py
-REPLACE_PYTHON+= trytond/tests/test_modelsingleton.py
-REPLACE_PYTHON+= trytond/tests/test_modelsql.py
-REPLACE_PYTHON+= trytond/tests/test_mptt.py trytond/tests/test_pyson.py
-REPLACE_PYTHON+= trytond/tests/test_sequence.py
-REPLACE_PYTHON+= trytond/tests/test_tools.py
-REPLACE_PYTHON+= trytond/tests/test_transaction.py
-REPLACE_PYTHON+= trytond/tests/test_trigger.py
-REPLACE_PYTHON+= trytond/tests/test_tryton.py
-
-PY_PATCHPLIST= yes
-PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
-
-.include "options.mk"
+DEPENDS+= # TODO: lxml>=2.0
+DEPENDS+= # TODO: relatorio[fodt]>=0.7.0
+DEPENDS+= # TODO: Genshi>=0
+DEPENDS+= # TODO: python-dateutil>=0
+DEPENDS+= # TODO: polib>=0
+DEPENDS+= # TODO: python-sql>=0.5
+DEPENDS+= # TODO: werkzeug>=0
+DEPENDS+= # TODO: wrapt>=0
+DEPENDS+= # TODO: passlib>=1.7.0
+TEST_DEPENDS+= # TODO: pillow>=0
-OPSYSVARS+= DEPENDS
-DEPENDS.Darwin+= ${PYPKGPREFIX}-py2app-[0-9]*:../../devel/py-py2app
-
-RCD_SCRIPTS= trytond
-CONFDIR= ${PKG_SYSCONFDIR}/${PKGBASE}
-EGDIR= share/examples/${PKGBASE}
-INSTALLATION_DIRS+= ${EGDIR} share/${PKGBASE}
-MESSAGE_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
-
-CONF_FILES+= ${EGDIR}/trytond.conf.example \
- ${CONFDIR}/trytond.conf
-CONF_FILES+= ${EGDIR}/logging.conf.example \
- ${CONFDIR}/logging.conf
-
-.include "../../lang/python/egg.mk"
+USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= # none
-.if ${PYPKGPREFIX} != "py27"
-pre-build:
- cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs trytond
-.endif
-
-post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/trytond-admin \
- ${DESTDIR}${PREFIX}/bin/trytond-admin${PYVERSSUFFIX} || ${TRUE}
- ${MV} ${DESTDIR}${PREFIX}/bin/trytond-cron \
- ${DESTDIR}${PREFIX}/bin/trytond-cron${PYVERSSUFFIX} || ${TRUE}
- ${MV} ${DESTDIR}${PREFIX}/bin/trytond \
- ${DESTDIR}${PREFIX}/bin/trytond${PYVERSSUFFIX} || ${TRUE}
- ${INSTALL_DATA} ${FILESDIR}/trytond.conf.example \
- ${DESTDIR}${PREFIX}/${EGDIR}/trytond.conf.example
- ${INSTALL_DATA} ${FILESDIR}/logging.conf.example \
- ${DESTDIR}${PREFIX}/${EGDIR}/logging.conf.example
-
+# TODO: Migrate MASTER_SITES to MASTER_SITE_PYPI
+.include "../../lang/python/egg.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff -r db7d03f8aa62 -r cc7bee15ecdc devel/py-trytond/Makefile.common
--- a/devel/py-trytond/Makefile.common Wed Dec 22 22:25:26 2021 +0000
+++ b/devel/py-trytond/Makefile.common Wed Dec 22 22:33:30 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2020/03/13 20:20:48 wiz Exp $
+# $NetBSD: Makefile.common,v 1.19 2021/12/22 22:33:30 mef Exp $
# used by databases/py-trytond-ldap-authentication
# used by devel/py-proteus/Makefile
@@ -112,7 +112,7 @@
# used by www/py-trytond-web-user/Makefile
# used by www/py-trytond-webdav/Makefile
-TRYTON_BASEVER= 4.2
+TRYTON_BASEVER= 6.2
# NB: the following commands can help getting a list of module revisions:
#
@@ -133,9 +133,9 @@
#
# specific module revisions:
MODULE_REVISION.proteus= 0
-MODULE_REVISION.tryton= 1
-MODULE_REVISION.trytond= 1
-MODULE_REVISION.trytond_account= 0
+MODULE_REVISION.tryton= 0
+MODULE_REVISION.trytond= 2
+MODULE_REVISION.trytond_account= 1
MODULE_REVISION.trytond_account_asset= 0
MODULE_REVISION.trytond_account_be= 0
MODULE_REVISION.trytond_account_credit_limit= 0
@@ -145,19 +145,19 @@
MODULE_REVISION.trytond_account_dunning_fee= 0
MODULE_REVISION.trytond_account_dunning_letter= 0
MODULE_REVISION.trytond_account_fr= 0
-MODULE_REVISION.trytond_account_invoice= 0
+MODULE_REVISION.trytond_account_invoice= 1
MODULE_REVISION.trytond_account_invoice_history= 0
MODULE_REVISION.trytond_account_invoice_line_standalone= 0
MODULE_REVISION.trytond_account_invoice_stock= 0
MODULE_REVISION.trytond_account_payment= 0
MODULE_REVISION.trytond_account_payment_clearing= 0
-MODULE_REVISION.trytond_account_payment_sepa= 0
+MODULE_REVISION.trytond_account_payment_sepa= 1
MODULE_REVISION.trytond_account_payment_sepa_cfonb= 0
MODULE_REVISION.trytond_account_product= 0
MODULE_REVISION.trytond_account_statement= 0
MODULE_REVISION.trytond_account_stock_anglo_saxon= 0
MODULE_REVISION.trytond_account_stock_continental= 0
-MODULE_REVISION.trytond_account_stock_landed_cost= 0
+MODULE_REVISION.trytond_account_stock_landed_cost= 1
MODULE_REVISION.trytond_account_stock_landed_cost_weight= 0
MODULE_REVISION.trytond_account_tax_rule_country= 0
MODULE_REVISION.trytond_analytic_account= 0
@@ -166,14 +166,14 @@
MODULE_REVISION.trytond_analytic_sale= 0
MODULE_REVISION.trytond_authentication_sms= 0
MODULE_REVISION.trytond_bank= 0
-MODULE_REVISION.trytond_calendar= 0
+MODULE_REVISION.trytond_calendar= 1
MODULE_REVISION.trytond_calendar_classification= 0
MODULE_REVISION.trytond_calendar_scheduling= 0
MODULE_REVISION.trytond_calendar_todo= 0
MODULE_REVISION.trytond_carrier= 0
MODULE_REVISION.trytond_carrier_percentage= 0
MODULE_REVISION.trytond_carrier_weight= 0
-MODULE_REVISION.trytond_commission= 1
+MODULE_REVISION.trytond_commission= 0
MODULE_REVISION.trytond_commission_waiting= 0
MODULE_REVISION.trytond_company= 0
MODULE_REVISION.trytond_company_work_time= 0
@@ -181,13 +181,13 @@
MODULE_REVISION.trytond_currency= 0
MODULE_REVISION.trytond_customs= 0
MODULE_REVISION.trytond_dashboard= 0
-MODULE_REVISION.trytond_google_maps= 1
+MODULE_REVISION.trytond_google_maps= 0
MODULE_REVISION.trytond_ldap_authentication= 0
-MODULE_REVISION.trytond_party= 1
+MODULE_REVISION.trytond_party= 0
MODULE_REVISION.trytond_party_relationship= 0
MODULE_REVISION.trytond_party_siret= 0
MODULE_REVISION.trytond_party_vcarddav= 0
-MODULE_REVISION.trytond_product= 1
+MODULE_REVISION.trytond_product= 0
MODULE_REVISION.trytond_product_attribute= 0
MODULE_REVISION.trytond_product_classification= 0
MODULE_REVISION.trytond_product_classification_taxonomic= 0
@@ -236,7 +236,7 @@
MODULE_REVISION.trytond_stock_split= 0
MODULE_REVISION.trytond_stock_supply= 0
MODULE_REVISION.trytond_stock_supply_day= 0
-MODULE_REVISION.trytond_stock_supply_forecast= 1
+MODULE_REVISION.trytond_stock_supply_forecast= 0
MODULE_REVISION.trytond_stock_supply_production= 0
MODULE_REVISION.trytond_timesheet= 0
MODULE_REVISION.trytond_timesheet_cost= 0
@@ -247,13 +247,17 @@
TRYTON_VERSION= ${TRYTON_BASEVER}.${MODULE_REVISION.${TRYTON_MODULE_NAME}}
+GITHUB_PROJECT= trytond
+CATEGORIES?= devel python
+
DISTNAME?= ${TRYTON_MODULE_NAME}-${TRYTON_VERSION}
PKGNAME?= ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
+#RKSRC?= ${WRKDIR}/trytond-${TRYTON_VERSION}
-TRYTON_SITES= http://downloads.tryton.org/${TRYTON_BASEVER}/
-MASTER_SITES= ${TRYTON_SITES}
+MASTER_SITES= https://downloads-cdn.tryton.org/6.2/
DIST_SUBDIR= tryton-${TRYTON_BASEVER}
+PYTHON_VERSIONS_INCOMPATIBLE= 27
# predefine these so modules don't have to.
PY_PATCHPLIST= yes
diff -r db7d03f8aa62 -r cc7bee15ecdc devel/py-trytond/PLIST
--- a/devel/py-trytond/PLIST Wed Dec 22 22:25:26 2021 +0000
+++ b/devel/py-trytond/PLIST Wed Dec 22 22:33:30 2021 +0000
@@ -1,7 +1,10 @@
-@comment $NetBSD: PLIST,v 1.7 2020/03/13 20:20:48 wiz Exp $
-bin/trytond-admin${PYVERSSUFFIX}
-bin/trytond-cron${PYVERSSUFFIX}
-bin/trytond${PYVERSSUFFIX}
+@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
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -23,16 +26,6 @@
${PYSITELIB}/trytond/backend/database.py
${PYSITELIB}/trytond/backend/database.pyc
${PYSITELIB}/trytond/backend/database.pyo
-${PYSITELIB}/trytond/backend/mysql/__init__.py
-${PYSITELIB}/trytond/backend/mysql/__init__.pyc
-${PYSITELIB}/trytond/backend/mysql/__init__.pyo
-${PYSITELIB}/trytond/backend/mysql/database.py
-${PYSITELIB}/trytond/backend/mysql/database.pyc
-${PYSITELIB}/trytond/backend/mysql/database.pyo
-${PYSITELIB}/trytond/backend/mysql/init.sql
-${PYSITELIB}/trytond/backend/mysql/table.py
-${PYSITELIB}/trytond/backend/mysql/table.pyc
-${PYSITELIB}/trytond/backend/mysql/table.pyo
${PYSITELIB}/trytond/backend/postgresql/__init__.py
${PYSITELIB}/trytond/backend/postgresql/__init__.pyc
${PYSITELIB}/trytond/backend/postgresql/__init__.pyo
@@ -56,6 +49,9 @@
${PYSITELIB}/trytond/backend/table.py
${PYSITELIB}/trytond/backend/table.pyc
${PYSITELIB}/trytond/backend/table.pyo
+${PYSITELIB}/trytond/bus.py
+${PYSITELIB}/trytond/bus.pyc
+${PYSITELIB}/trytond/bus.pyo
${PYSITELIB}/trytond/cache.py
${PYSITELIB}/trytond/cache.pyc
${PYSITELIB}/trytond/cache.pyo
@@ -65,6 +61,9 @@
${PYSITELIB}/trytond/config.py
${PYSITELIB}/trytond/config.pyc
${PYSITELIB}/trytond/config.pyo
+${PYSITELIB}/trytond/console.py
+${PYSITELIB}/trytond/console.pyc
+${PYSITELIB}/trytond/console.pyo
${PYSITELIB}/trytond/const.py
${PYSITELIB}/trytond/const.pyc
${PYSITELIB}/trytond/const.pyo
@@ -74,15 +73,15 @@
${PYSITELIB}/trytond/cron.py
${PYSITELIB}/trytond/cron.pyc
${PYSITELIB}/trytond/cron.pyo
-${PYSITELIB}/trytond/error.py
-${PYSITELIB}/trytond/error.pyc
-${PYSITELIB}/trytond/error.pyo
${PYSITELIB}/trytond/exceptions.py
${PYSITELIB}/trytond/exceptions.pyc
${PYSITELIB}/trytond/exceptions.pyo
${PYSITELIB}/trytond/filestore.py
${PYSITELIB}/trytond/filestore.pyc
${PYSITELIB}/trytond/filestore.pyo
+${PYSITELIB}/trytond/i18n.py
+${PYSITELIB}/trytond/i18n.pyc
+${PYSITELIB}/trytond/i18n.pyo
${PYSITELIB}/trytond/ir/__init__.py
${PYSITELIB}/trytond/ir/__init__.pyc
${PYSITELIB}/trytond/ir/__init__.pyo
@@ -94,9 +93,16 @@
Home |
Main Index |
Thread Index |
Old Index