Update databases/py-peewee to 2.8.1. Bugs fixed - #821 - issue warning if Cython is old - #822 - better handling of MySQL connections point for advanced use-cases. - #313 - support equality/inequality with generic foreign key queries, and ensure get_or_create works with GFKs. - #834 - fixed Python3 incompatibilities in the PasswordField, thanks @mosquito. - #836 - fix handling of last_insert_id() when using APSWDatabase. - #845 - add connection hooks to APSWDatabase. - #852 - check SQLite library version to avoid calls to missing APIs. - #857 - allow database definition to be deferred when using the connection pool. - #878 - formerly .limit(0) had no effect. Now adds LIMIT 0. - #879 - implement a __hash__ method for Model - #886 - fix count() for compound select queries. - #895 - allow writing to the foreign_key_id descriptor to set the foreign key value. - #893 - fix boolean logic bug in model_to_dict(). - #904 - fix side-effect in clean_prefetch_query, thanks to @p.kamayev - #907 - package includes pskel now. - #852 - fix sqlite version check in BerkeleyDB backend. - #919 - add runtime check for sqlite3 library to match MySQL and Postgres. Thanks @M157q New features - Added a number of SQLite user-defined functions and aggregates. - Use the DB-API2 Binary type for BlobField. - Implemented the lucene scoring algorithm in the sqlite_ext Cython library. - #825 - allow a custom base class for ModelOptions, providing an extension - #830 - added SmallIntegerField type. - #838 - allow using a custom descriptor class with ManyToManyField. - #855 - merged change from @lez which included docs on using peewee with Pyramid. - #858 - allow arguments to be passed on query-string when using the db_url module. Thanks @RealSalmon - #862 - add support for truncate table, thanks @dev-zero for the sample code. - Allow the related_name model Meta option to be a callable that accepts the foreign key field instance.diff -r1.10 -r1.11 pkgsrc/databases/py-peewee/Makefile
(fhajny)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2016/01/18 15:53:14 fhajny Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2016/05/06 09:45:09 fhajny Exp $ | |
2 | 2 | |||
3 | DISTNAME= peewee-2.8.0 | 3 | DISTNAME= peewee-2.8.1 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= databases | 5 | CATEGORIES= databases | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=coleifer/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=coleifer/} | |
7 | 7 | |||
8 | MAINTAINER= filip@joyent.com | 8 | MAINTAINER= filip@joyent.com | |
9 | HOMEPAGE= http://www.peewee-orm.com/ | 9 | HOMEPAGE= http://www.peewee-orm.com/ | |
10 | COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite | 10 | COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | GITHUB_PROJECT= peewee | 13 | GITHUB_PROJECT= peewee | |
14 | 14 | |||
15 | USE_LANGUAGES= c | 15 | USE_LANGUAGES= c | |
16 | USE_TOOLS+= bash | 16 | USE_TOOLS+= bash |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.10 2016/01/18 15:53:14 fhajny Exp $ | 1 | $NetBSD: distinfo,v 1.11 2016/05/06 09:45:09 fhajny Exp $ | |
2 | 2 | |||
3 | SHA1 (peewee-2.8.0.tar.gz) = ed4477aad9fe1bec628387319af36ef32ea8d289 | 3 | SHA1 (peewee-2.8.1.tar.gz) = 4ca6e599588419cabd41faff7c898917c2efa707 | |
4 | RMD160 (peewee-2.8.0.tar.gz) = c8e69948394302501cfb67a96f00add320447dad | 4 | RMD160 (peewee-2.8.1.tar.gz) = 59c372129585aa574f4062c1c4124cc1c840b614 | |
5 | SHA512 (peewee-2.8.0.tar.gz) = 12a225dc6d40838d223a7396ed138d1a82393f79b0b666f019e0c6f07c58c99e0a50ecf1ad61c10176a3f184f00fcde0a753f7ea49aa5a8e2a0e69832b654622 | 5 | SHA512 (peewee-2.8.1.tar.gz) = fd65001f6227f3b470046794f306def4a69b2637d916d4d7ee1057dab5671eaae88f32fe5345e3266829651e7529c53d9928516135af520832f34bfc0b1b9f39 | |
6 | Size (peewee-2.8.0.tar.gz) = 615679 bytes | 6 | Size (peewee-2.8.1.tar.gz) = 628870 bytes |
@@ -1,23 +1,24 @@ | @@ -1,23 +1,24 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.9 2016/01/18 15:53:14 fhajny Exp $ | 1 | @comment $NetBSD: PLIST,v 1.10 2016/05/06 09:45:09 fhajny Exp $ | |
2 | bin/pwiz.py | 2 | bin/pwiz.py | |
3 | ${PYSITELIB}/peewee.py | 3 | ${PYSITELIB}/peewee.py | |
4 | ${PYSITELIB}/peewee.pyc | 4 | ${PYSITELIB}/peewee.pyc | |
5 | ${PYSITELIB}/peewee.pyo | 5 | ${PYSITELIB}/peewee.pyo | |
6 | ${PYSITELIB}/playhouse/__init__.py | 6 | ${PYSITELIB}/playhouse/__init__.py | |
7 | ${PYSITELIB}/playhouse/__init__.pyc | 7 | ${PYSITELIB}/playhouse/__init__.pyc | |
8 | ${PYSITELIB}/playhouse/__init__.pyo | 8 | ${PYSITELIB}/playhouse/__init__.pyo | |
9 | ${PYSITELIB}/playhouse/_speedups.so | 9 | ${PYSITELIB}/playhouse/_speedups.so | |
10 | ${PYSITELIB}/playhouse/_sqlite_ext.so | 10 | ${PYSITELIB}/playhouse/_sqlite_ext.so | |
11 | ${PYSITELIB}/playhouse/_sqlite_udf.so | |||
11 | ${PYSITELIB}/playhouse/apsw_ext.py | 12 | ${PYSITELIB}/playhouse/apsw_ext.py | |
12 | ${PYSITELIB}/playhouse/apsw_ext.pyc | 13 | ${PYSITELIB}/playhouse/apsw_ext.pyc | |
13 | ${PYSITELIB}/playhouse/apsw_ext.pyo | 14 | ${PYSITELIB}/playhouse/apsw_ext.pyo | |
14 | ${PYSITELIB}/playhouse/berkeleydb.py | 15 | ${PYSITELIB}/playhouse/berkeleydb.py | |
15 | ${PYSITELIB}/playhouse/berkeleydb.pyc | 16 | ${PYSITELIB}/playhouse/berkeleydb.pyc | |
16 | ${PYSITELIB}/playhouse/berkeleydb.pyo | 17 | ${PYSITELIB}/playhouse/berkeleydb.pyo | |
17 | ${PYSITELIB}/playhouse/csv_loader.py | 18 | ${PYSITELIB}/playhouse/csv_loader.py | |
18 | ${PYSITELIB}/playhouse/csv_loader.pyc | 19 | ${PYSITELIB}/playhouse/csv_loader.pyc | |
19 | ${PYSITELIB}/playhouse/csv_loader.pyo | 20 | ${PYSITELIB}/playhouse/csv_loader.pyo | |
20 | ${PYSITELIB}/playhouse/csv_utils.py | 21 | ${PYSITELIB}/playhouse/csv_utils.py | |
21 | ${PYSITELIB}/playhouse/csv_utils.pyc | 22 | ${PYSITELIB}/playhouse/csv_utils.pyc | |
22 | ${PYSITELIB}/playhouse/csv_utils.pyo | 23 | ${PYSITELIB}/playhouse/csv_utils.pyo | |
23 | ${PYSITELIB}/playhouse/dataset.py | 24 | ${PYSITELIB}/playhouse/dataset.py | |
@@ -61,19 +62,22 @@ ${PYSITELIB}/playhouse/reflection.pyc | @@ -61,19 +62,22 @@ ${PYSITELIB}/playhouse/reflection.pyc | |||
61 | ${PYSITELIB}/playhouse/reflection.pyo | 62 | ${PYSITELIB}/playhouse/reflection.pyo | |
62 | ${PYSITELIB}/playhouse/shortcuts.py | 63 | ${PYSITELIB}/playhouse/shortcuts.py | |
63 | ${PYSITELIB}/playhouse/shortcuts.pyc | 64 | ${PYSITELIB}/playhouse/shortcuts.pyc | |
64 | ${PYSITELIB}/playhouse/shortcuts.pyo | 65 | ${PYSITELIB}/playhouse/shortcuts.pyo | |
65 | ${PYSITELIB}/playhouse/signals.py | 66 | ${PYSITELIB}/playhouse/signals.py | |
66 | ${PYSITELIB}/playhouse/signals.pyc | 67 | ${PYSITELIB}/playhouse/signals.pyc | |
67 | ${PYSITELIB}/playhouse/signals.pyo | 68 | ${PYSITELIB}/playhouse/signals.pyo | |
68 | ${PYSITELIB}/playhouse/sqlcipher_ext.py | 69 | ${PYSITELIB}/playhouse/sqlcipher_ext.py | |
69 | ${PYSITELIB}/playhouse/sqlcipher_ext.pyc | 70 | ${PYSITELIB}/playhouse/sqlcipher_ext.pyc | |
70 | ${PYSITELIB}/playhouse/sqlcipher_ext.pyo | 71 | ${PYSITELIB}/playhouse/sqlcipher_ext.pyo | |
71 | ${PYSITELIB}/playhouse/sqlite_ext.py | 72 | ${PYSITELIB}/playhouse/sqlite_ext.py | |
72 | ${PYSITELIB}/playhouse/sqlite_ext.pyc | 73 | ${PYSITELIB}/playhouse/sqlite_ext.pyc | |
73 | ${PYSITELIB}/playhouse/sqlite_ext.pyo | 74 | ${PYSITELIB}/playhouse/sqlite_ext.pyo | |
75 | ${PYSITELIB}/playhouse/sqlite_udf.py | |||
76 | ${PYSITELIB}/playhouse/sqlite_udf.pyc | |||
77 | ${PYSITELIB}/playhouse/sqlite_udf.pyo | |||
74 | ${PYSITELIB}/playhouse/test_utils.py | 78 | ${PYSITELIB}/playhouse/test_utils.py | |
75 | ${PYSITELIB}/playhouse/test_utils.pyc | 79 | ${PYSITELIB}/playhouse/test_utils.pyc | |
76 | ${PYSITELIB}/playhouse/test_utils.pyo | 80 | ${PYSITELIB}/playhouse/test_utils.pyo | |
77 | ${PYSITELIB}/pwiz.py | 81 | ${PYSITELIB}/pwiz.py | |
78 | ${PYSITELIB}/pwiz.pyc | 82 | ${PYSITELIB}/pwiz.pyc | |
79 | ${PYSITELIB}/pwiz.pyo | 83 | ${PYSITELIB}/pwiz.pyo |