From d6f96489a0adf6ef1185a53a15074577080379df Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 20 Feb 2017 17:00:35 +0000 Subject: Switch py-dateutils to plain DEPENDS. It supports both python 2 and 3 nowadays. --- finance/py-trytond-account-asset/Makefile | 5 ++--- finance/py-trytond-account-deposit/Makefile | 6 ++---- finance/py-trytond-account-invoice/Makefile | 6 ++---- finance/py-trytond-account/Makefile | 6 ++---- finance/py-trytond-analytic-account/Makefile | 6 ++---- 5 files changed, 10 insertions(+), 19 deletions(-) (limited to 'finance') diff --git a/finance/py-trytond-account-asset/Makefile b/finance/py-trytond-account-asset/Makefile index 21ac0ec2481..1a6495b6aba 100644 --- a/finance/py-trytond-account-asset/Makefile +++ b/finance/py-trytond-account-asset/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2016/12/04 21:13:00 rodent Exp $ +# $NetBSD: Makefile,v 1.5 2017/02/20 17:00:35 wiz Exp $ TRYTON_MODULE_NAME= trytond_account_asset .include "../../devel/py-trytond/Makefile.common" CATEGORIES= finance python @@ -9,6 +9,7 @@ COMMENT= Account_asset module of the Tryton application platform LICENSE= gnu-gpl-v3 DEPENDS+= ${PYPKGPREFIX}-cached-property-[0-9]*:../../devel/py-cached-property +DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil DEPENDS+= ${PYPKGPREFIX}-trytond-account>=${TRYTON_BASEVER}:../../finance/py-trytond-account DEPENDS+= ${PYPKGPREFIX}-trytond-account-product>=${TRYTON_BASEVER}:../../finance/py-trytond-account-product DEPENDS+= ${PYPKGPREFIX}-trytond-account-invoice>=${TRYTON_BASEVER}:../../finance/py-trytond-account-invoice @@ -17,8 +18,6 @@ DEPENDS+= ${PYPKGPREFIX}-trytond>=${TRYTON_BASEVER}:../../devel/py-trytond USE_LANGUAGES= # none -PYTHON_VERSIONED_DEPENDENCIES= dateutil - REPLACE_PYTHON+= tests/test_account_asset.py tests/tools.py .include "../../lang/python/application.mk" diff --git a/finance/py-trytond-account-deposit/Makefile b/finance/py-trytond-account-deposit/Makefile index 49bdc5f9243..048d5b53cb3 100644 --- a/finance/py-trytond-account-deposit/Makefile +++ b/finance/py-trytond-account-deposit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/12/04 21:13:00 rodent Exp $ +# $NetBSD: Makefile,v 1.2 2017/02/20 17:00:35 wiz Exp $ TRYTON_MODULE_NAME= trytond_account_deposit .include "../../devel/py-trytond/Makefile.common" CATEGORIES= finance python @@ -8,6 +8,7 @@ HOMEPAGE= http://www.tryton.org/ COMMENT= The account_deposit module of the Tryton application platform LICENSE= gnu-gpl-v3 +DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil DEPENDS+= ${PYPKGPREFIX}-python-sql>=0.4:../../databases/py-python-sql DEPENDS+= ${PYPKGPREFIX}-trytond-account>=${TRYTON_BASEVER}:../../finance/py-trytond-account DEPENDS+= ${PYPKGPREFIX}-trytond-account-invoice>=${TRYTON_BASEVER}:../../finance/py-trytond-account-invoice @@ -15,11 +16,8 @@ DEPENDS+= ${PYPKGPREFIX}-trytond-company>=${TRYTON_BASEVER}:../../misc/py-tryton DEPENDS+= ${PYPKGPREFIX}-trytond-party>=${TRYTON_BASEVER}:../../misc/py-trytond-party DEPENDS+= ${PYPKGPREFIX}-trytond>=${TRYTON_BASEVER}:../../devel/py-trytond -PYTHON_VERSIONED_DEPENDENCIES+= dateutil - USE_LANGUAGES= # none .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/finance/py-trytond-account-invoice/Makefile b/finance/py-trytond-account-invoice/Makefile index 1d8a40ce51a..fd1f9997025 100644 --- a/finance/py-trytond-account-invoice/Makefile +++ b/finance/py-trytond-account-invoice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2016/12/04 21:13:00 rodent Exp $ +# $NetBSD: Makefile,v 1.10 2017/02/20 17:00:36 wiz Exp $ TRYTON_MODULE_NAME= trytond_account_invoice .include "../../devel/py-trytond/Makefile.common" CATEGORIES= finance python @@ -8,6 +8,7 @@ HOMEPAGE= http://www.tryton.org/ COMMENT= Account invoice module of the Tryton application platform LICENSE= gnu-gpl-v3 +DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil DEPENDS+= ${PYPKGPREFIX}-python-sql-[0-9]*:../../databases/py-python-sql DEPENDS+= ${PYPKGPREFIX}-trytond-account-product>=${TRYTON_BASEVER}:../../finance/py-trytond-account-product DEPENDS+= ${PYPKGPREFIX}-trytond-account>=${TRYTON_BASEVER}:../../finance/py-trytond-account @@ -19,11 +20,8 @@ DEPENDS+= ${PYPKGPREFIX}-trytond>=${TRYTON_BASEVER}:../../devel/py-trytond USE_LANGUAGES= # none -PYTHON_VERSIONED_DEPENDENCIES= dateutil - REPLACE_PYTHON+= tests/test_account_invoice.py tests/tools.py .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/finance/py-trytond-account/Makefile b/finance/py-trytond-account/Makefile index d66ea38ad97..ee5c3092952 100644 --- a/finance/py-trytond-account/Makefile +++ b/finance/py-trytond-account/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2016/12/04 21:12:59 rodent Exp $ +# $NetBSD: Makefile,v 1.10 2017/02/20 17:00:36 wiz Exp $ TRYTON_MODULE_NAME= trytond_account .include "../../devel/py-trytond/Makefile.common" CATEGORIES= finance python @@ -8,6 +8,7 @@ HOMEPAGE= http://www.tryton.org/ COMMENT= Account module of the Tryton application platform LICENSE= gnu-gpl-v3 +DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil DEPENDS+= ${PYPKGPREFIX}-python-sql-[0-9]*:../../databases/py-python-sql DEPENDS+= ${PYPKGPREFIX}-simpleeval-[0-9]*:../../math/py-simpleeval DEPENDS+= ${PYPKGPREFIX}-trytond-company>=${TRYTON_BASEVER}:../../misc/py-trytond-company @@ -17,11 +18,8 @@ DEPENDS+= ${PYPKGPREFIX}-trytond>=${TRYTON_BASEVER}:../../devel/py-trytond USE_LANGUAGES= # none -PYTHON_VERSIONED_DEPENDENCIES= dateutil - REPLACE_PYTHON+= tests/test_account.py tests/tools.py .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/finance/py-trytond-analytic-account/Makefile b/finance/py-trytond-analytic-account/Makefile index fef58c3854e..8f1341ca8cb 100644 --- a/finance/py-trytond-analytic-account/Makefile +++ b/finance/py-trytond-analytic-account/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2016/12/04 21:13:02 rodent Exp $ +# $NetBSD: Makefile,v 1.4 2017/02/20 17:00:36 wiz Exp $ TRYTON_MODULE_NAME= trytond_analytic_account .include "../../devel/py-trytond/Makefile.common" CATEGORIES= finance python @@ -8,6 +8,7 @@ HOMEPAGE= http://www.tryton.org/ COMMENT= The analytic_account module of the Tryton application platform LICENSE= gnu-gpl-v3 +DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil DEPENDS+= ${PYPKGPREFIX}-trytond-account>=${TRYTON_BASEVER}:../../finance/py-trytond-account DEPENDS+= ${PYPKGPREFIX}-trytond-company>=${TRYTON_BASEVER}:../../misc/py-trytond-company DEPENDS+= ${PYPKGPREFIX}-trytond-party>=${TRYTON_BASEVER}:../../misc/py-trytond-party @@ -16,11 +17,8 @@ DEPENDS+= ${PYPKGPREFIX}-trytond>=${TRYTON_BASEVER}:../../devel/py-trytond USE_LANGUAGES= # none -PYTHON_VERSIONED_DEPENDENCIES= dateutil - REPLACE_PYTHON+= tests/test_analytic_account.py .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3