pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Switch py-dateutils to plain DEPENDS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c11e6eb87a34
branches: trunk
changeset: 358805:c11e6eb87a34
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Feb 20 17:00:35 2017 +0000
description:
Switch py-dateutils to plain DEPENDS.
It supports both python 2 and 3 nowadays.
diffstat:
databases/py-barman/Makefile | 6 ++----
databases/py-sqlalchemy-utils/options.mk | 8 +++-----
devel/py-freezegun/Makefile | 6 ++----
devel/py-proteus/Makefile | 6 ++----
devel/py-tryton/Makefile | 6 ++----
devel/py-trytond/Makefile | 4 ++--
doc/guide/files/creating.xml | 4 ++--
editors/nts/Makefile | 5 ++---
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 ++----
graphics/py-matplotlib/Makefile | 6 ++----
lang/python/versioned_dependencies.mk | 5 ++---
math/py-pandas/Makefile | 6 ++----
misc/calibre/Makefile | 7 ++-----
misc/calibre1/Makefile | 6 ++----
misc/py-trytond-stock-forecast/Makefile | 6 ++----
net/syncthing-gtk/Makefile | 5 ++---
textproc/py-ejson/Makefile | 5 ++---
time/etm/Makefile | 5 ++---
time/khal/Makefile | 6 ++----
time/py-arrow/Makefile | 7 +++----
time/py-icalendar/Makefile | 6 ++----
time/py-trytond-calendar-scheduling/Makefile | 6 ++----
time/py-trytond-calendar-todo/Makefile | 6 ++----
time/py-trytond-calendar/Makefile | 6 ++----
time/py-trytond-timesheet/Makefile | 6 ++----
www/py-django-tastypie/Makefile | 6 ++----
www/py-wtforms-components/options.mk | 8 +++-----
31 files changed, 65 insertions(+), 117 deletions(-)
diffs (truncated from 862 to 300 lines):
diff -r 322a355598c9 -r c11e6eb87a34 databases/py-barman/Makefile
--- a/databases/py-barman/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/databases/py-barman/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2016/06/06 14:56:16 fhajny Exp $
+# $NetBSD: Makefile,v 1.9 2017/02/20 17:00:35 wiz Exp $
DISTNAME= barman-1.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -13,10 +13,9 @@
DEPENDS+= ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete
DEPENDS+= ${PYPKGPREFIX}-argh>=0.21.2:../../devel/py-argh
DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= rsync-[0-9]*:../../net/rsync
-PYTHON_VERSIONED_DEPENDENCIES= dateutil
-
USE_LANGUAGES= # none
CONF_FILES+= share/examples/barman/barman.conf \
@@ -54,5 +53,4 @@
${DESTDIR}${PREFIX}/share/examples/barman/barman.conf
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 322a355598c9 -r c11e6eb87a34 databases/py-sqlalchemy-utils/options.mk
--- a/databases/py-sqlalchemy-utils/options.mk Mon Feb 20 15:27:56 2017 +0000
+++ b/databases/py-sqlalchemy-utils/options.mk Mon Feb 20 17:00:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2015/04/13 23:12:40 rodent Exp $
+# $NetBSD: options.mk,v 1.4 2017/02/20 17:00:35 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.py-sqlalchemy-utils
PKG_SUPPORTED_OPTIONS= arrow babel color furl intervals ipaddress json password
@@ -7,8 +7,6 @@
.include "../../mk/bsd.options.mk"
-.include "../../lang/python/versioned_dependencies.mk"
-
.if !empty(PKG_OPTIONS:Marrow)
DEPENDS+= ${PYPKGPREFIX}-arrow>=0.3.4:../../time/py-arrow
.endif
@@ -63,9 +61,9 @@
DEPENDS+= ${PYPKGPREFIX}-anyjson>=0.3.3:../../textproc/py-anyjson
DEPENDS+= ${PYPKGPREFIX}-passlib>=1.6<2.0:../../security/py-passlib
DEPENDS+= ${PYPKGPREFIX}-phonenumbers>=5.9.2:../../textproc/py-phonenumbers
-PYTHON_VERSIONED_DEPENDENCIES+= dateutil
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
.endif
.if !empty(PKG_OPTIONS:Mtimezone)
-PYTHON_VERSIONED_DEPENDENCIES+= dateutil
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
.endif
diff -r 322a355598c9 -r c11e6eb87a34 devel/py-freezegun/Makefile
--- a/devel/py-freezegun/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/devel/py-freezegun/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/11/14 14:26:51 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2017/02/20 17:00:35 wiz Exp $
DISTNAME= freezegun-0.3.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,14 +11,12 @@
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
BUILD_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
-PYTHON_VERSIONED_DEPENDENCIES= dateutil
-
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 322a355598c9 -r c11e6eb87a34 devel/py-proteus/Makefile
--- a/devel/py-proteus/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/devel/py-proteus/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2017/01/04 23:45:27 rodent Exp $
+# $NetBSD: Makefile,v 1.3 2017/02/20 17:00:35 wiz Exp $
TRYTON_MODULE_NAME= proteus
.include "../../devel/py-trytond/Makefile.common"
CATEGORIES= devel python
@@ -8,11 +8,10 @@
COMMENT= Library to access Tryton's models like a client
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-[0-9]*:../../devel/py-trytond
-PYTHON_VERSIONED_DEPENDENCIES= dateutil
-
USE_LANGUAGES= # none
.include "options.mk"
@@ -22,5 +21,4 @@
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 322a355598c9 -r c11e6eb87a34 devel/py-tryton/Makefile
--- a/devel/py-tryton/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/devel/py-tryton/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2017/02/12 06:25:13 ryoon Exp $
+# $NetBSD: Makefile,v 1.28 2017/02/20 17:00:35 wiz Exp $
TRYTON_MODULE_NAME= tryton
PKGREVISION= 2
.include "../../devel/py-trytond/Makefile.common"
@@ -11,13 +11,12 @@
USE_LANGUAGES= # none
-PYTHON_VERSIONED_DEPENDENCIES= dateutil
-
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36
.include "options.mk"
DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS.Darwin+= ${PYPKGPREFIX}-py2app-[0-9]*:../../devel/py-py2app
post-install:
@@ -27,5 +26,4 @@
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 322a355598c9 -r c11e6eb87a34 devel/py-trytond/Makefile
--- a/devel/py-trytond/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/devel/py-trytond/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2017/01/10 23:07:41 rodent Exp $
+# $NetBSD: Makefile,v 1.18 2017/02/20 17:00:35 wiz Exp $
TRYTON_MODULE_NAME= trytond
.include "../../devel/py-trytond/Makefile.common"
CATEGORIES= devel python
@@ -8,6 +8,7 @@
COMMENT= Server 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}-polib-[0-9]*:../../devel/py-polib
DEPENDS+= ${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
@@ -34,7 +35,6 @@
REPLACE_PYTHON+= trytond/tests/test_trigger.py
REPLACE_PYTHON+= trytond/tests/test_tryton.py
-PYTHON_VERSIONED_DEPENDENCIES= dateutil
PY_PATCHPLIST= yes
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
diff -r 322a355598c9 -r c11e6eb87a34 doc/guide/files/creating.xml
--- a/doc/guide/files/creating.xml Mon Feb 20 15:27:56 2017 +0000
+++ b/doc/guide/files/creating.xml Mon Feb 20 17:00:35 2017 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: creating.xml,v 1.22 2017/01/09 05:03:19 sevan Exp $ -->
+<!-- $NetBSD: creating.xml,v 1.23 2017/02/20 17:00:35 wiz Exp $ -->
<chapter id="creating">
<title>Creating a new pkgsrc package from scratch</title>
@@ -190,7 +190,7 @@
then the pkgsrc infrastructure will depend on the appropriate package
version. For example:
<programlisting>
-PYTHON_VERSIONED_DEPENDENCIES=dateutil
+PYTHON_VERSIONED_DEPENDENCIES=gobject
</programlisting>
Look inside <filename>versioned_dependencies.mk</filename> for a list
of supported packages.</para>
diff -r 322a355598c9 -r c11e6eb87a34 editors/nts/Makefile
--- a/editors/nts/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/editors/nts/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2017/01/01 14:43:38 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2017/02/20 17:00:35 wiz Exp $
DISTNAME= nts-78
PKGREVISION= 1
@@ -10,9 +10,9 @@
COMMENT= Simple GUI note taking application
LICENSE= gnu-gpl-v2
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-wxWidgets>=2.8.7:../../x11/py-wxWidgets
-PYTHON_VERSIONED_DEPENDENCIES= dateutil
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-wxWidgets
USE_LANGUAGES= # none
@@ -21,5 +21,4 @@
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 322a355598c9 -r c11e6eb87a34 finance/py-trytond-account-asset/Makefile
--- a/finance/py-trytond-account-asset/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/finance/py-trytond-account-asset/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -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 @@
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 @@
USE_LANGUAGES= # none
-PYTHON_VERSIONED_DEPENDENCIES= dateutil
-
REPLACE_PYTHON+= tests/test_account_asset.py tests/tools.py
.include "../../lang/python/application.mk"
diff -r 322a355598c9 -r c11e6eb87a34 finance/py-trytond-account-deposit/Makefile
--- a/finance/py-trytond-account-deposit/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/finance/py-trytond-account-deposit/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -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 @@
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-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 -r 322a355598c9 -r c11e6eb87a34 finance/py-trytond-account-invoice/Makefile
--- a/finance/py-trytond-account-invoice/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/finance/py-trytond-account-invoice/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -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 @@
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 @@
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 -r 322a355598c9 -r c11e6eb87a34 finance/py-trytond-account/Makefile
--- a/finance/py-trytond-account/Makefile Mon Feb 20 15:27:56 2017 +0000
+++ b/finance/py-trytond-account/Makefile Mon Feb 20 17:00:35 2017 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index