Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id B4CDA7A1F5 for ; Fri, 21 Apr 2017 09:14:03 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 2315884D99; Fri, 21 Apr 2017 09:14:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A8D5684D96 for ; Fri, 21 Apr 2017 09:14:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id ZWCVPxgA1Q8C for ; Fri, 21 Apr 2017 09:14:01 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id DFE9184C6C for ; Fri, 21 Apr 2017 09:14:01 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id DADF5FBE4; Fri, 21 Apr 2017 09:14:01 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_149276604116350" MIME-Version: 1.0 Date: Fri, 21 Apr 2017 09:14:01 +0000 From: "Filip Hajny" Subject: CVS commit: pkgsrc/databases/py-peewee To: pkgsrc-changes@NetBSD.org Reply-To: fhajny@netbsd.org X-Mailer: log_accum Message-Id: <20170421091401.DADF5FBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_149276604116350 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: fhajny Date: Fri Apr 21 09:14:01 UTC 2017 Modified Files: pkgsrc/databases/py-peewee: Makefile PLIST distinfo Added Files: pkgsrc/databases/py-peewee: ALTERNATIVES Log Message: Update databases/py-peewee to 2.9.2. ## 2.9.2 - Fixed significant bug in the `savepoint` commit/rollback implementation. - Added support for postgresql `INTERVAL` columns. - Fixed bug where missing `sqlite3` library was causing other, unrelated libraries to throw errors when attempting to import. - Added a `case_sensitive` parameter to the SQLite `REGEXP` function implementation. The default is `False`, to preserve backwards-compatibility. - Fixed bug that caused tables not to be created when using the `dataset` extension. - Modified `drop_table` to raise an exception if the user attempts to drop tables with `CASCADE` when the database backend does not support it. - Fixed Python3 issue in the `AESEncryptedField`. - Modified the behavior of string-typed fields to treat the addition operator as concatenation ## 2.9.1 - Fixed #1218, where the use of `playhouse.flask_utils` was requiring the `sqlite3` module to be installed. - Fixed #1219 regarding the SQL generation for composite key sub-selects, joins, etc. ## 2.9.0 In this release there are two notable changes: - The ``Model.create_or_get()`` method was removed. - The SQLite closure table extension gained support for many-to-many relationships thanks to a nice PR by @necoro. ## 2.8.8 This release contains a single important bugfix for a regression in specifying the type of lock to use when opening a SQLite transaction. ## 2.8.7 This release contains numerous cleanups. ### Bugs fixed - #1087 - Fixed a misuse of the iteration protocol in the `sqliteq` extension. - #1096 - Fix representation of recursive foreign key relations when using the `model_to_dict` helper. - #1126 - Allow `pskel` to be installed into `bin` directory. - #1105 - Added a `Tuple()` type to Peewee to enable expressing arbitrary tuple expressions in SQL. - #1133 - Fixed bug in the conversion of objects to `Decimal` instances in the `DecimalField`. - Fixed an issue renaming a unique foreign key in MySQL. - Remove the join predicate from CROSS JOINs. - #1148 - Ensure indexes are created when a column is added using a schema migration. - #1165 - Fix bug where the primary key was being overwritten in queries using the closure-table extension. ### New stuff - Added properties to the `SqliteExtDatabase` to expose common `PRAGMA` settings. - Clarified documentation on calling `commit()` or `rollback()` from within the scope of an atomic block. - Allow table creation dependencies to be specified using new `depends_on` meta option. - Allow specification of the lock type used in SQLite transactions. - Added support for `CROSS JOIN` expressions in select queries. - Docs on how to implement optimistic locking - Documented optional dependencies. - Generic support for specifying select queries as locking the selected rows `FOR X`, e.g. `FOR UPDATE` or `FOR SHARE`. - Support for specifying the frame-of-reference in window queries, e.g. specifying `UNBOUNDED PRECEDING`, etc. ### Backwards-incompatible changes - As of 9e76c99, an `OperationalError` is raised if the user calls `connect()` on an already-open Database object. Previously, the existing connection would remain open and a new connection would overwrite it, making it impossible to close the previous connection. If you find this is causing breakage in your application, you can switch the `connect()` call to `get_conn()` which will only open a connection if necessary. The error **is** indicative of a real issue, though, so audit your code for places where you may be opening a connection without closing it (module-scope operations, e.g.). To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/databases/py-peewee/ALTERNATIVES cvs rdiff -u -r1.14 -r1.15 pkgsrc/databases/py-peewee/Makefile \ pkgsrc/databases/py-peewee/distinfo cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/py-peewee/PLIST Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_149276604116350 Content-Disposition: inline Content-Length: 3689 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/databases/py-peewee/Makefile diff -u pkgsrc/databases/py-peewee/Makefile:1.14 pkgsrc/databases/py-peewee/Makefile:1.15 --- pkgsrc/databases/py-peewee/Makefile:1.14 Wed Oct 26 14:28:16 2016 +++ pkgsrc/databases/py-peewee/Makefile Fri Apr 21 09:14:01 2017 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.14 2016/10/26 14:28:16 fhajny Exp $ +# $NetBSD: Makefile,v 1.15 2017/04/21 09:14:01 fhajny Exp $ -DISTNAME= peewee-2.8.5 +DISTNAME= peewee-2.9.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_GITHUB:=coleifer/} @@ -15,6 +15,9 @@ GITHUB_PROJECT= peewee USE_LANGUAGES= c USE_TOOLS+= bash +BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx + +FILES_SUBST+= PKGMANDIR=${PKGMANDIR} MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} REPLACE_BASH+= playhouse/berkeley_build.sh @@ -22,6 +25,19 @@ REPLACE_PYTHON+= pwiz.py PYDISTUTILSPKG= yes +INSTALLATION_DIRS+= ${PKGMANDIR}/man1 + +post-build: + cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man + +post-install: + ${MV} ${DESTDIR}${PREFIX}/bin/pskel \ + ${DESTDIR}${PREFIX}/bin/pskel${PYVERSSUFFIX} + ${MV} ${DESTDIR}${PREFIX}/bin/pwiz.py \ + ${DESTDIR}${PREFIX}/bin/pwiz${PYVERSSUFFIX} + ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1 + .include "../../devel/py-cython/buildlink3.mk" .include "../../lang/python/application.mk" .include "../../lang/python/extension.mk" Index: pkgsrc/databases/py-peewee/distinfo diff -u pkgsrc/databases/py-peewee/distinfo:1.14 pkgsrc/databases/py-peewee/distinfo:1.15 --- pkgsrc/databases/py-peewee/distinfo:1.14 Wed Oct 26 14:28:16 2016 +++ pkgsrc/databases/py-peewee/distinfo Fri Apr 21 09:14:01 2017 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.14 2016/10/26 14:28:16 fhajny Exp $ +$NetBSD: distinfo,v 1.15 2017/04/21 09:14:01 fhajny Exp $ -SHA1 (peewee-2.8.5.tar.gz) = b3bc6b2c80897f02567a94c8dbf8b0e645faf843 -RMD160 (peewee-2.8.5.tar.gz) = 406c35612c56c65718d3212747aa3bc81b00857f -SHA512 (peewee-2.8.5.tar.gz) = cdb7c4240844ff43ce92cf652e8bd8e5e6b0dae3bb29dbb035e6554aeabfcc9a6dacf96135fa6712a4f4f6d6e354cd8b79d68543fb3bba89a7434ac259eaf197 -Size (peewee-2.8.5.tar.gz) = 645471 bytes +SHA1 (peewee-2.9.2.tar.gz) = f82d1e46d5561b1aa8da89b4af7fb36c0badacab +RMD160 (peewee-2.9.2.tar.gz) = cf27168cd442eae3bd8a92c546cbf22b6a9da57b +SHA512 (peewee-2.9.2.tar.gz) = 913b930c91ac96440ad3d7b2f5b227d3ff6e49d3c62e7fc0b6a60e65e3170d0891217c6449415211405209e1bf86245fdac9f70dc1d25268fd50f5b209debfed +Size (peewee-2.9.2.tar.gz) = 655434 bytes Index: pkgsrc/databases/py-peewee/PLIST diff -u pkgsrc/databases/py-peewee/PLIST:1.11 pkgsrc/databases/py-peewee/PLIST:1.12 --- pkgsrc/databases/py-peewee/PLIST:1.11 Wed Oct 26 14:28:16 2016 +++ pkgsrc/databases/py-peewee/PLIST Fri Apr 21 09:14:01 2017 @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.11 2016/10/26 14:28:16 fhajny Exp $ -bin/pwiz.py +@comment $NetBSD: PLIST,v 1.12 2017/04/21 09:14:01 fhajny Exp $ +bin/pskel${PYVERSSUFFIX} +bin/pwiz${PYVERSSUFFIX} ${PYSITELIB}/peewee.py ${PYSITELIB}/peewee.pyc ${PYSITELIB}/peewee.pyo @@ -84,3 +85,4 @@ ${PYSITELIB}/playhouse/test_utils.pyo ${PYSITELIB}/pwiz.py ${PYSITELIB}/pwiz.pyc ${PYSITELIB}/pwiz.pyo +man/man1/peewee${PYVERSSUFFIX}.1 Added files: Index: pkgsrc/databases/py-peewee/ALTERNATIVES diff -u /dev/null pkgsrc/databases/py-peewee/ALTERNATIVES:1.1 --- /dev/null Fri Apr 21 09:14:01 2017 +++ pkgsrc/databases/py-peewee/ALTERNATIVES Fri Apr 21 09:14:01 2017 @@ -0,0 +1,3 @@ +bin/pskel @PREFIX@/bin/pskel@PYVERSSUFFIX@ +bin/pwiz @PREFIX@/bin/pwiz@PYVERSSUFFIX@ +@PKGMANDIR@/man1/peewee.1 @PREFIX@/@PKGMANDIR@/man1/peewee@PYVERSSUFFIX@.1 --_----------=_149276604116350--