head	1.30;
access;
symbols
	pkgsrc-2025Q1:1.28.0.12
	pkgsrc-2025Q1-base:1.28
	pkgsrc-2024Q4:1.28.0.10
	pkgsrc-2024Q4-base:1.28
	pkgsrc-2024Q3:1.28.0.8
	pkgsrc-2024Q3-base:1.28
	pkgsrc-2024Q2:1.28.0.6
	pkgsrc-2024Q2-base:1.28
	pkgsrc-2024Q1:1.28.0.4
	pkgsrc-2024Q1-base:1.28
	pkgsrc-2023Q4:1.28.0.2
	pkgsrc-2023Q4-base:1.28
	pkgsrc-2023Q3:1.27.0.14
	pkgsrc-2023Q3-base:1.27
	pkgsrc-2023Q2:1.27.0.12
	pkgsrc-2023Q2-base:1.27
	pkgsrc-2023Q1:1.27.0.10
	pkgsrc-2023Q1-base:1.27
	pkgsrc-2022Q4:1.27.0.8
	pkgsrc-2022Q4-base:1.27
	pkgsrc-2022Q3:1.27.0.6
	pkgsrc-2022Q3-base:1.27
	pkgsrc-2022Q2:1.27.0.4
	pkgsrc-2022Q2-base:1.27
	pkgsrc-2022Q1:1.27.0.2
	pkgsrc-2022Q1-base:1.27
	pkgsrc-2021Q4:1.25.0.2
	pkgsrc-2021Q4-base:1.25
	pkgsrc-2021Q3:1.20.0.14
	pkgsrc-2021Q3-base:1.20
	pkgsrc-2021Q2:1.20.0.12
	pkgsrc-2021Q2-base:1.20
	pkgsrc-2021Q1:1.20.0.10
	pkgsrc-2021Q1-base:1.20
	pkgsrc-2020Q4:1.20.0.8
	pkgsrc-2020Q4-base:1.20
	pkgsrc-2020Q3:1.20.0.6
	pkgsrc-2020Q3-base:1.20
	pkgsrc-2020Q2:1.20.0.4
	pkgsrc-2020Q2-base:1.20
	pkgsrc-2020Q1:1.20.0.2
	pkgsrc-2020Q1-base:1.20
	pkgsrc-2019Q4:1.19.0.24
	pkgsrc-2019Q4-base:1.19
	pkgsrc-2019Q3:1.19.0.20
	pkgsrc-2019Q3-base:1.19
	pkgsrc-2019Q2:1.19.0.18
	pkgsrc-2019Q2-base:1.19
	pkgsrc-2019Q1:1.19.0.16
	pkgsrc-2019Q1-base:1.19
	pkgsrc-2018Q4:1.19.0.14
	pkgsrc-2018Q4-base:1.19
	pkgsrc-2018Q3:1.19.0.12
	pkgsrc-2018Q3-base:1.19
	pkgsrc-2018Q2:1.19.0.10
	pkgsrc-2018Q2-base:1.19
	pkgsrc-2018Q1:1.19.0.8
	pkgsrc-2018Q1-base:1.19
	pkgsrc-2017Q4:1.19.0.6
	pkgsrc-2017Q4-base:1.19
	pkgsrc-2017Q3:1.19.0.4
	pkgsrc-2017Q3-base:1.19
	pkgsrc-2017Q2:1.18.0.4
	pkgsrc-2017Q2-base:1.18
	pkgsrc-2017Q1:1.18.0.2
	pkgsrc-2017Q1-base:1.18
	pkgsrc-2016Q4:1.15.0.2
	pkgsrc-2016Q4-base:1.15
	pkgsrc-2016Q3:1.14.0.2
	pkgsrc-2016Q3-base:1.14
	pkgsrc-2016Q2:1.13.0.4
	pkgsrc-2016Q2-base:1.13
	pkgsrc-2016Q1:1.13.0.2
	pkgsrc-2016Q1-base:1.13
	pkgsrc-2015Q4:1.12.0.4
	pkgsrc-2015Q4-base:1.12
	pkgsrc-2015Q3:1.12.0.2
	pkgsrc-2015Q3-base:1.12
	pkgsrc-2015Q2:1.11.0.2
	pkgsrc-2015Q2-base:1.11
	pkgsrc-2015Q1:1.10.0.2
	pkgsrc-2015Q1-base:1.10
	pkgsrc-2014Q4:1.9.0.4
	pkgsrc-2014Q4-base:1.9
	pkgsrc-2014Q3:1.9.0.2
	pkgsrc-2014Q3-base:1.9
	pkgsrc-2014Q2:1.8.0.2
	pkgsrc-2014Q2-base:1.8
	pkgsrc-2014Q1:1.4.0.2
	pkgsrc-2014Q1-base:1.4;
locks; strict;
comment	@# @;


1.30
date	2025.05.23.13.19.08;	author wiz;	state dead;
branches;
next	1.29;
commitid	odi3NJ2dDz3x72WF;

1.29
date	2025.04.18.15.24.20;	author wiz;	state Exp;
branches;
next	1.28;
commitid	HkQojozhTJ0qWxRF;

1.28
date	2023.10.23.06.37.43;	author wiz;	state Exp;
branches;
next	1.27;
commitid	4YdPmMYgk9hutIJE;

1.27
date	2022.01.05.15.41.08;	author wiz;	state Exp;
branches;
next	1.26;
commitid	FQ77UruBIUsgzsnD;

1.26
date	2022.01.04.20.53.45;	author wiz;	state Exp;
branches;
next	1.25;
commitid	CYyhdK9qtoffkmnD;

1.25
date	2021.12.22.23.00.59;	author wiz;	state Exp;
branches;
next	1.24;
commitid	LsQbedFcuYvvsHlD;

1.24
date	2021.12.22.22.55.48;	author wiz;	state Exp;
branches;
next	1.23;
commitid	GepmYySPbzeHqHlD;

1.23
date	2021.12.22.22.50.22;	author wiz;	state Exp;
branches;
next	1.22;
commitid	awMpLmxvP3SloHlD;

1.22
date	2021.12.22.22.33.30;	author mef;	state Exp;
branches;
next	1.21;
commitid	gfLBC9bAWO57jHlD;

1.21
date	2021.12.16.14.48.11;	author wiz;	state Exp;
branches;
next	1.20;
commitid	oZlQWWB9stPkVSkD;

1.20
date	2020.01.18.23.30.39;	author rillig;	state Exp;
branches;
next	1.19;
commitid	shGUwZfkr7sleeTB;

1.19
date	2017.09.16.19.26.49;	author wiz;	state Exp;
branches;
next	1.18;
commitid	A7fIQ99zTdcMls7A;

1.18
date	2017.02.20.17.00.35;	author wiz;	state Exp;
branches;
next	1.17;
commitid	1rcVYtkuiSEheIGz;

1.17
date	2017.01.10.23.07.41;	author rodent;	state Exp;
branches;
next	1.16;
commitid	0fkIZwf12ErwztBz;

1.16
date	2017.01.03.13.23.02;	author jperkin;	state Exp;
branches;
next	1.15;
commitid	C9GLdDCVrmakywAz;

1.15
date	2016.12.04.21.12.59;	author rodent;	state Exp;
branches;
next	1.14;
commitid	xbsbRW4ydvpL6Iwz;

1.14
date	2016.08.28.15.48.31;	author wiz;	state Exp;
branches;
next	1.13;
commitid	rTBn3EBawNhbu5kz;

1.13
date	2016.02.25.12.12.49;	author jperkin;	state Exp;
branches;
next	1.12;
commitid	DLROVrVW2OU1fiWy;

1.12
date	2015.08.24.14.49.41;	author richard;	state Exp;
branches;
next	1.11;
commitid	54PZg9KGl6gy3xyy;

1.11
date	2015.04.19.00.54.30;	author rodent;	state Exp;
branches;
next	1.10;
commitid	bAuF3K2KcVi6w8iy;

1.10
date	2015.03.15.00.17.34;	author rodent;	state Exp;
branches;
next	1.9;
commitid	UHar6qtME8irqDdy;

1.9
date	2014.09.10.14.35.05;	author richard;	state Exp;
branches;
next	1.8;
commitid	oqYUE3gm2zga9OPx;

1.8
date	2014.06.25.06.00.39;	author richard;	state Exp;
branches;
next	1.7;
commitid	LBCAbQ75C4mtMRFx;

1.7
date	2014.05.09.07.37.03;	author wiz;	state Exp;
branches;
next	1.6;
commitid	wfzXpL2biguCPPzx;

1.6
date	2014.05.03.13.17.58;	author rodent;	state Exp;
branches;
next	1.5;
commitid	CvJHQpMPCVp5U5zx;

1.5
date	2014.04.13.04.47.15;	author rodent;	state Exp;
branches;
next	1.4;
commitid	MILoOydjQELkJtwx;

1.4
date	2014.02.09.16.54.12;	author wiz;	state Exp;
branches;
next	1.3;
commitid	luX9hY9456cjMrox;

1.3
date	2014.02.09.15.32.19;	author rodent;	state Exp;
branches;
next	1.2;
commitid	yh9F2pQNpzA9krox;

1.2
date	2014.01.31.19.32.04;	author wiz;	state Exp;
branches;
next	1.1;
commitid	h39M0OfRrlSfWinx;

1.1
date	2014.01.31.12.30.50;	author rodent;	state Exp;
branches;
next	;
commitid	kFdqANx3GQDTBgnx;


desc
@@


1.30
log
@*tryton*: remove

Last bigger pkgsrc update in 2016, has security problems, no users
per pkgsrc-users request two weeks ago.
@
text
@# $NetBSD: Makefile,v 1.29 2025/04/18 15:24:20 wiz Exp $
TRYTON_MODULE_NAME=	trytond
PKGREVISION= 4
.include "../../devel/py-trytond/Makefile.common"
CATEGORIES=     devel python

MAINTAINER=	pkgsrc-users@@NetBSD.org
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
DEPENDS+=	${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+=	${PYPKGPREFIX}-polib-[0-9]*:../../devel/py-polib
DEPENDS+=	${PYPKGPREFIX}-python-sql>=0.5:../../databases/py-python-sql
DEPENDS+=	${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug
DEPENDS+=	${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
DEPENDS+=	${PYPKGPREFIX}-passlib>=1.7.0:../../security/py-passlib
DEPENDS+=	${PYPKGPREFIX}-magic-[0-9]*:../../sysutils/py-magic
TEST_DEPENDS+=	${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow

USE_LANGUAGES=		# none

REPLACE_PYTHON+=	trytond
REPLACE_PYTHON+=	trytond-*

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 "options.mk"

.include "../../lang/python/application.mk"
.include "../../lang/python/batteries-included.mk"
.include "../../lang/python/wheel.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
@


1.29
log
@py-trytond: convert to wheel.mk

Fix interpreter shebang.

Remove MESSAGE while here.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2023/10/23 06:37:43 wiz Exp $
@


1.28
log
@*: update for Python base package change

Instead of depending on one of the removed packages (that are now included
in the base Python packages), include batteries-included.mk to require
a Python version that supplies them.

Remove now included packages.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2022/01/05 15:41:08 wiz Exp $
d3 1
a3 1
PKGREVISION= 3
d12 1
a24 1
USE_PKGLOCALEDIR=	yes
d27 2
a28 1
USE_PKG_RESOURCES=	yes
d38 1
d40 1
a40 1
.include "../../lang/python/egg.mk"
@


1.27
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2022/01/04 20:53:45 wiz Exp $
d3 1
a3 1
PKGREVISION= 2
a19 1
DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
d37 1
@


1.26
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2021/12/22 23:00:59 wiz Exp $
d3 1
a3 1
PKGREVISION= 1
d28 2
@


1.25
log
@py-trytond: update options.mk and actually include it
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2021/12/22 22:55:48 wiz Exp $
d3 1
@


1.24
log
@py-trytond: make parallel-installable again, update ALTERNATIVES

ride update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2021/12/22 22:50:22 wiz Exp $
d33 2
@


1.23
log
@py-trytond: fix dependencies

Fix distfile checksum. Finish update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2021/12/22 22:33:30 mef Exp $
d27 6
@


1.22
log
@(devel/py-trytond) Updated 4.2.2 to 6.2.2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2021/12/16 14:48:11 wiz Exp $
d11 12
a22 10
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
a26 1
# TODO: Migrate MASTER_SITES to MASTER_SITE_PYPI
@


1.21
log
@py-trytond: fix build with latest setuptools
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2020/01/18 23:30:39 rillig Exp $
d4 1
a4 1
CATEGORIES=	devel python
d8 1
a8 1
COMMENT=	Server of the Tryton application platform
d11 10
a20 9
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
d22 2
a23 35
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"

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
d25 1
a26 18

.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

@


1.20
log
@all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2017/09/16 19:26:49 wiz Exp $
d57 7
a76 1
.include "../../lang/python/egg.mk"
@


1.19
log
@Reset maintainer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2017/02/20 17:00:35 wiz Exp $
d7 1
a7 1
HOMEPAGE=	http://www.tryton.org/
@


1.18
log
@Switch py-dateutils to plain DEPENDS.

It supports both python 2 and 3 nowadays.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2017/01/10 23:07:41 rodent Exp $
d6 1
a6 1
MAINTAINER=	rodent@@NetBSD.org
@


1.17
log
@Update Tryton to 4.2.1. No aggregated changelog, but this fixes some bugs
that I submitted upstream. Fix variable expansion in trytond's MESSAGE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2017/01/03 13:23:02 jperkin Exp $
d11 1
a37 1
PYTHON_VERSIONED_DEPENDENCIES=	dateutil
@


1.16
log
@Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2016/12/04 21:12:59 rodent Exp $
d50 1
@


1.15
log
@
It's time to make Tryton great again. This update is YUGE. There are 71
new packages. Most of which are the remaining modules of the Tryton
platform which weren't packaged. The others are dependencies of the new
modules. This was tested on FreeBSD and is based in large part on Richard
Palo's (richard@@) work. This is the most recent release of the Tryton
platform, version 4.2. There's a very large list of changes from the 3.8
series we have in pkgsrc. If you're interested, those functional changes
can be found here:

http://www.tryton.org/posts/new-tryton-release-42.html
http://www.tryton.org/posts/new-tryton-release-40.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2016/08/28 15:48:31 wiz Exp $
d58 1
a58 1
		${DESTDIR}${PREFIX}/bin/trytond-admin${PYVERSSUFFIX}
d60 1
a60 1
		${DESTDIR}${PREFIX}/bin/trytond-cron${PYVERSSUFFIX}
d62 1
a62 1
		${DESTDIR}${PREFIX}/bin/trytond${PYVERSSUFFIX}
@


1.14
log
@Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2016/02/25 12:12:49 jperkin Exp $
d11 1
a11 1
DEPENDS+=	${PYPKGPREFIX}-python-sql>=0.2:../../databases/py-python-sql
d13 1
d17 2
d39 1
d46 10
d57 4
d63 4
@


1.13
log
@Use OPSYSVARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2015/08/24 14:49:41 richard Exp $
a35 1
PLIST_SUBST+=			PYVERSSUFFIX=${PYVERSSUFFIX}
@


1.12
log
@    Updates and additions to release 3.6

    details found here (http://www.tryton.org/posts/new-tryton-release-36.html)

    Major changes for the developer

        It is now allowed to have many times the same field in list/tree view.
        There is no more a datetime widget for list/tree, two columns with one
        widget date and one widget time should be used instead.

        A new field TimeDelta appears in this release to represent a duration. It
        replace the float_time widget which had some rounding issue. This new
        field is already used in the timesheet and project modules.

        The One2Many widget can be configured to use a Cartesian product with the
        selections of many values for Many2One or Reference fields.

        A method restore_history_before is added to ModelSQL which behaves like
        the existing restore_history but restore the records just before the datetime.

        The on_change methods have been migrated to a behaviour more consistent
        with the Active Record Pattern used in Tryton. Instead of returning a
        dictionary with the values to change, now the instance is directly changed.

        This allow to chain easily the on_change methods or reuse them in other
        methods reducing the duplication.

        The method save on ModelStorage is now a dualmethod which means that it
        can be called as usual as an instance method but also as a class method
        with a list of records. Saving many records at once this way improves the
        performance as the method will minimize the number of queries to the
        database and will validate the result by bunch.

        The Dict field received a translated method to create descriptors which
        translate the values or the keys like the same method on Selection field.

        It is now allowed to use the dotted notation in the order clause of a search.
        The ORM will automatically generate the needed joins.

        The API of the Report class has been reworked to improve the customization
        of the engine. The formatting methods are now more strict to prevent silent
        failure.

        The safe_eval (which was not sure to be safe) has been completely removed.
        In the places where the evaluated code was any way safe, the standard eval
        is used. For evaluated code from outside, a JSON notation is now used. Some
        utilities have been developed to ease the creation of JSON from XMl or in
        the views.

        A new kind of button has been added which works on non-saved record. They
        are quite similar to on_change but they are triggered by a click on a
        button instead of a change of field.

    Accounting

        A new method reverse_compute has been added to Tax which allow to compute
        the base amount from the taxed amount.
        The sign of the second currency amount is enforced to be the same as
        debit - credit.
        The analytic account management has been reworked to use a really One2Many
        instead of the pseudo-field. This simplification was possible thanks to the
        recent new features like the usage of Reference field on One2Many.

    Party

        The vat number is now stored in its compact format.

    Product

        The number of decimal for internal price calculations is now a configuration
        parameter price_decimal. This parameter is used everywhere to ensure
        consistency between all modules.

    Purchase/Sale

        Their lines support both mixed invoice type (Invoice vs Credit Note) per
        line when computing the invoiced quantity.

    Stock

        A new state staging is added to the move. Such state doesn't impact at all
        the computation of the stock level. It is used for supply on sale, to
        create moves in advance.
        Inactive products are still computed for the stock level.
        The computation of assigned move has been improved to take only in
        consideration outgoing move assigned not the incoming. This result in a
        less optimistic for the stock level and thus prevent to assign a move with
        an incoming one that is just assigned but not yet done.
        Forecasts are now automatically deactivated when their period is in the past.

    pkgsrc related updates:
    update to tryton-3.6.0
    update to trytond-3.6.0 including UTC check patch for SunOS
    update trytond modules to latest 3.6
    add meta-pkgs/py-tryton-platform
    add misc/py-trytond-party-relationship
    add misc/py-trytond-product-attribute
    add misc/py-trytond-production
    add misc/py-trytond-stock-inventory-location
    add misc/py-trytond-stock-product-location
    add finance/py-trytond-account-invoice-line-standalone
    add finance/py-trytond-account-invoice-history
    add finance/py-trytond-account-invoice-stock
    add finance/py-trytond-account-payment-clearing
    add finance/py-trytond-account-stock-continental
    add finance/py-trytond-analytic-invoice
    add finance/py-trytond-analytic-purchase
    add finance/py-trytond-analytic-sale
    add finance/py-trytond-product-price-list
    add finance/py-trytond-product-cost-fifo
    add finance/py-trytond-product-cost-history
    add finance/py-trytond-purchase
    add finance/py-trytond-purchase-invoice-line-standalone
    add finance/py-trytond-sale
    add finance/py-trytond-stock-supply
    add time/py-trytond-company-work-time
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2015/04/19 00:54:30 rodent Exp $
d40 2
a41 3
.if ${OPSYS} == "Darwin"
DEPENDS+=	${PYPKGPREFIX}-py2app-[0-9]*:../../devel/py-py2app
.endif
@


1.11
log
@Use correct bcrypt python module. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2015/03/15 00:17:34 rodent Exp $
a3 1
PKGREVISION=	1
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-py-bcrypt-[0-9]*:../../security/py-py-bcrypt
@


1.10
log
@Apply modified patch sent by palo@@ in private mail. This brings all these
packages to version 3.4.x. May this not break anything (although i feel it
might).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2014/09/10 14:35:05 richard Exp $
d4 1
d14 1
a14 1
DEPENDS+=	${PYPKGPREFIX}-bcrypt-[0-9]*:../../security/py-bcrypt
@


1.9
log
@update devel/py-trytond to 3.2.2

Changelog as generated by Mercurial:
2014-08-03  Cédric Krier  <ced@@b2ck.com>

o  	* CHANGELOG:
|  	Prepare release 3.2.2
|  	[282f764285a6] [3.2.2] <3.2>
|
2014-07-20  Cédric Krier  <ced@@b2ck.com>

o  	* trytond/modules/__init__.py:
|  	'res' should be global in load_modules
|
|  	issue4045 (grafted from d1bf8bffed36b177685d2fa29dbe3608f85b5a79)
|  	[ee24fb8ffbb1] <3.2>
|
o  	* trytond/tests/run-tests.py:
|  	Exit run-tests with correct error code
|
|  	review7411002 (grafted from
|  	ec915931bf69a18cc004d208064e14d159276972)
|  	[bc4a4b150883] <3.2>
|
2014-06-13  Cédric Krier  <ced@@b2ck.com>

o  	* trytond/model/fields/numeric.py:
|  	Fix SQLite Numeric domain value for None
|
|  	issue3930 review11281002 (grafted from
|  	b7653d96ef050a23b8d600d0eaaa99745cd03b81)
|  	[ed07a28cdd64] <3.2>
|
o  	* trytond/protocols/xmlrpc.py:
|  	XML-RPC dumps None to nil instead of bool
|
|  	issue3981 review6351003 (grafted from
|  	851a0446f64dea53fcee27dce1ea16e6f06b7b46)
|  	[78e787cd5cfc] <3.2>
|
2014-06-08  Cédric Krier  <ced@@b2ck.com>

o  	* trytond/model/fields/many2many.py, trytond/model/fields/many2one.py:
|  	Ensure ids clause is a list for concatenation
|
|  	issue3949 review11281006 (grafted from
|  	4f0c0b43e6a70823126f76e8c814c4b60cdf2bb2)
|  	[1f165de2a802] <3.2>
|
2014-07-01  Cédric Krier  <ced@@b2ck.com>

o  	* trytond/version.py:
|  	Increase version number
|  	[3f5aa86ffab6] <3.2>
|
o  	* .hgtags:
|  	Added tag 3.2.1 for changeset f239ef8edd83
|  	[25bfbef89d0e] <3.2>
|
o  	* CHANGELOG:
|  	Prepare release 3.2.1
|  	[f239ef8edd83] [3.2.1] <3.2>
|
2014-06-06  Sergi Almacellas Abellana  <sergi@@koolpi.com>

o  	* trytond/model/modelstorage.py:
|  	Fix KeyError when raising digits validation error.
|
|  	issue3970 review8411002 (grafted from
|  	8d071b3c5c7e8c0d62469c0d94ac8056da1db6fb)
|  	[5052bcaba02b] <3.2>
|
2014-05-17  Cédric Krier  <ced@@b2ck.com>

o  	* trytond/model/fields/field.py:
|  	Fix joins when ordering on ir.model.field
|
|  	issue3910 review10311002 (grafted from
|  	5754ea65653441eace71fd814b75f2174fad1e70)
|  	[e4c2d03b07e9] <3.2>
|
2014-05-09  Cédric Krier  <ced@@b2ck.com>

o  	* trytond/model/model.py:
|  	Set relation_field of one2many only when exists
|
|  	The client use this value if it exists for string concatenation, so
|  	having None fails. (grafted from
|  	070f4178a35b304b9e8f3e5e7f0a103621447dad)
|  	[70d2adcc4bfa] <3.2>
|
2014-04-21  Cédric Krier  <ced@@b2ck.com>

o  	* trytond/version.py:
|  	Increase version number
|  	[b3364dd3b39d] <3.2>
|
o  	* Create branch 3.2
|  	[736df7691a44] <3.2>
|
@
text
@d1 2
a2 2
# $NetBSD: Makefile,v 1.8 2014/06/25 06:00:39 richard Exp $
TRYTOND_MODULE_REVISION=	2
a3 2
DISTNAME=	trytond-${TRYTOND_VERSION}
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
a4 1
MASTER_SITES=	${TRYTON_SITES}
d13 1
d19 2
a20 1
REPLACE_PYTHON+=	trytond/tests/run-tests.py trytond/tests/test_access.py REPLACE_PYTHON+=	trytond/tests/test_cache.py trytond/tests/test_copy.py
@


1.8
log
@Add py-trytond/Makefile.common to simplify modules
ok wiz@@
@
text
@d1 2
a2 2
# $NetBSD: Makefile,v 1.7 2014/05/09 07:37:03 wiz Exp $

@


1.7
log
@Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2014/05/03 13:17:58 rodent Exp $
d3 2
a4 1
DISTNAME=	trytond-3.2.0
d7 1
a7 1
MASTER_SITES=	http://downloads.tryton.org/3.2/
a35 1
PYTHON_VERSIONS_INCOMPATIBLE=	26 33 34 # 26: upstream dropped support; 33: py-gtk2 via py-pycha via py-relatorio
@


1.6
log
@Update to latest release, 3.2.0. Move bin/trytond to
bin/trytond${PYVERSUFFIX} in post-install to support concurrently installed
versions of python. Upstream dropped support for py26. From CHANGELOG:

* Bug fixes (see mercurial logs for details)
* Add restore_history to ModelSQL
* Add history revisions
* Add the multi selection widget
* Add index to one2many's on_change
* Remove auto-refresh on Action Window
* Add support of domain for non-relation field
* Manage microseconds in JSON-RPC and XML-RPC
* Remove Sha field
* Add password widget
* Add Len to PYSON
* Use bcrypt to hash password if possible
* Use a sequence of ids, values to set fields
* Client side actions on button and wizard
* Add depends attribute to data tag
* Add tree_invisible attribute to button in tree view
* Drop support of Python 2.6
* Deprecate on_change, on_change_with, selection_change_with and autocomplete
  field arguments
* Add fields.depends decorator
* Add run-tests
* Validate only modified and dependant fields on model write
* Improve error messages by showing the failing value
* Remove relation field actions:
    - delete_all
    - unlink_all
    - set
* Rename relation field action unlink into remove
* Use a sequence of records, values in write
* set_context of Transaction.set_user is restricted to root
* Add a "copy" action to One2Many and Many2Many's set method
* Force UTC as timezone (migration script available on tryton-tools)
* Add relation_field for many2one
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2014/04/13 04:47:15 rodent Exp $
d35 1
a35 1
PYTHON_VERSIONS_INCOMPATIBLE=	26 33 # 26: upstream dropped support; 33: py-gtk2 via py-pycha via py-relatorio
@


1.5
log
@Version 3.0.4 - 2014-04-07
* Bug fixes (see mercurial logs for details)

Version 3.0.3 - 2014-03-22
* Bug fixes (see mercurial logs for details)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2014/02/09 16:54:12 wiz Exp $
d3 1
a3 1
DISTNAME=	trytond-3.0.4
d6 1
a6 1
MASTER_SITES=	http://downloads.tryton.org/3.0/
d20 1
a20 2
REPLACE_PYTHON+=	trytond/tests/test_access.py trytond/tests/test_cache.py
REPLACE_PYTHON+=	trytond/tests/test_copy.py
d35 3
a37 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 # py-gtk2 via py-pycha via py-relatorio
d45 4
@


1.4
log
@Fix dependency pattern.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2014/02/09 15:32:19 rodent Exp $
d3 1
a3 1
DISTNAME=	trytond-3.0.2
@


1.3
log
@DEPENDS+=devel/py2app if OPSYS == Darwin.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2014/01/31 19:32:04 wiz Exp $
d41 1
a41 1
DEPENDS+=	${PYPKGPREFIX}-py2app[0-9]*:../../devel/py-py2app
@


1.2
log
@Mark some stuff not available for python and use versioned_dependencies.mk,
so that pbulk can finish a scan again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2014/01/31 12:30:50 rodent Exp $
d40 4
@


1.1
log
@Import py27-trytond-3.0.2 as devel/py-trytond.

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
modularity, scalability and security.
@
text
@d1 1
a1 1
# $NetBSD$
d13 5
d35 3
a39 10
DEPENDS+=	${PYPKGPREFIX}-python-sql>=0.2:../../databases/py-python-sql
DEPENDS+=	${PYPKGPREFIX}-polib-[0-9]*:../../devel/py-polib
.include "../../lang/python/pyversion.mk"
.if ${PYPACKAGE} == "python27"
DEPENDS+=	${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
.else
DEPENDS+=	${PYPKGPREFIX}-dateutil2-[0-9]*:../../time/py-dateutil2
.endif
DEPENDS+=	${PYPKGPREFIX}-relatorio>=0.2.0:../../textproc/py-relatorio
DEPENDS+=	${PYPKGPREFIX}-lxml>=2.0:../../textproc/py-lxml
@

