summaryrefslogtreecommitdiff
path: root/databases/py-peewee
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2014-10-29 13:13:38 +0000
committerfhajny <fhajny@pkgsrc.org>2014-10-29 13:13:38 +0000
commit0545922ae8a3a52c8802760db9498b2aebac9d3e (patch)
treebae59487994741afa3624e65fa1db74ce302531b /databases/py-peewee
parent465c06f247f6b2036edf9424304eb2500d5dee32 (diff)
downloadpkgsrc-0545922ae8a3a52c8802760db9498b2aebac9d3e.tar.gz
Update py-peewee to 2.4.1.
Changes in 2.4.1: - Fixed #448, add hook to the connection pool for detecting closed connections. - Fixed #229, fix join attribute detection. - Fixed #447, fixed documentation typo. Changes in 2.4.0: - Most of the introspection logic was moved out of the pwiz module and into playhouse.reflection. - Created a new reflection extension for introspecting databases. The reflection module additionally can generate actual peewee Model classes dynamically. - Created a dataset library (based on the SQLAlchemy project of the same name). For more info check out the blog post announcing playhouse.dataset. - Added a db_url module which creates Database objects from a connection string. - Added csv dump functionality to the CSV utils extension. - Added an atomic context manager to support nested transactions. - Added support for HStore, JSON and TSVector to the reflection module. - More documentation updates. - Fixed #440, which fixes a bug where Model.dirty_fields did not return an empty set for some subclasses of QueryResultWrapper.
Diffstat (limited to 'databases/py-peewee')
-rw-r--r--databases/py-peewee/Makefile9
-rw-r--r--databases/py-peewee/PLIST29
-rw-r--r--databases/py-peewee/distinfo8
3 files changed, 36 insertions, 10 deletions
diff --git a/databases/py-peewee/Makefile b/databases/py-peewee/Makefile
index 93495a75c89..7b0d96a1d86 100644
--- a/databases/py-peewee/Makefile
+++ b/databases/py-peewee/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2014/10/17 10:24:04 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2014/10/29 13:13:38 fhajny Exp $
-DISTNAME= peewee-2.3.3
+DISTNAME= peewee-2.4.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases
MASTER_SITES= -https://github.com/coleifer/peewee/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
@@ -11,8 +11,13 @@ COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite
LICENSE= mit
USE_LANGUAGES= # none
+USE_TOOLS+= bash
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
+REPLACE_BASH+= playhouse/berkeley_build.sh
+REPLACE_PYTHON+= pwiz.py
+
+.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-peewee/PLIST b/databases/py-peewee/PLIST
index beef4be1479..0c0c097d606 100644
--- a/databases/py-peewee/PLIST
+++ b/databases/py-peewee/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2014/10/17 10:24:04 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/10/29 13:13:38 fhajny Exp $
bin/pwiz.py
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -20,6 +20,15 @@ ${PYSITELIB}/playhouse/berkeleydb.pyo
${PYSITELIB}/playhouse/csv_loader.py
${PYSITELIB}/playhouse/csv_loader.pyc
${PYSITELIB}/playhouse/csv_loader.pyo
+${PYSITELIB}/playhouse/csv_utils.py
+${PYSITELIB}/playhouse/csv_utils.pyc
+${PYSITELIB}/playhouse/csv_utils.pyo
+${PYSITELIB}/playhouse/dataset.py
+${PYSITELIB}/playhouse/dataset.pyc
+${PYSITELIB}/playhouse/dataset.pyo
+${PYSITELIB}/playhouse/db_url.py
+${PYSITELIB}/playhouse/db_url.pyc
+${PYSITELIB}/playhouse/db_url.pyo
${PYSITELIB}/playhouse/djpeewee.py
${PYSITELIB}/playhouse/djpeewee.pyc
${PYSITELIB}/playhouse/djpeewee.pyo
@@ -44,6 +53,9 @@ ${PYSITELIB}/playhouse/proxy.pyo
${PYSITELIB}/playhouse/read_slave.py
${PYSITELIB}/playhouse/read_slave.pyc
${PYSITELIB}/playhouse/read_slave.pyo
+${PYSITELIB}/playhouse/reflection.py
+${PYSITELIB}/playhouse/reflection.pyc
+${PYSITELIB}/playhouse/reflection.pyo
${PYSITELIB}/playhouse/shortcuts.py
${PYSITELIB}/playhouse/shortcuts.pyc
${PYSITELIB}/playhouse/shortcuts.pyo
@@ -65,9 +77,15 @@ ${PYSITELIB}/playhouse/tests_apsw.pyo
${PYSITELIB}/playhouse/tests_berkeleydb.py
${PYSITELIB}/playhouse/tests_berkeleydb.pyc
${PYSITELIB}/playhouse/tests_berkeleydb.pyo
-${PYSITELIB}/playhouse/tests_csv_loader.py
-${PYSITELIB}/playhouse/tests_csv_loader.pyc
-${PYSITELIB}/playhouse/tests_csv_loader.pyo
+${PYSITELIB}/playhouse/tests_csv_utils.py
+${PYSITELIB}/playhouse/tests_csv_utils.pyc
+${PYSITELIB}/playhouse/tests_csv_utils.pyo
+${PYSITELIB}/playhouse/tests_dataset.py
+${PYSITELIB}/playhouse/tests_dataset.pyc
+${PYSITELIB}/playhouse/tests_dataset.pyo
+${PYSITELIB}/playhouse/tests_db_url.py
+${PYSITELIB}/playhouse/tests_db_url.pyc
+${PYSITELIB}/playhouse/tests_db_url.pyo
${PYSITELIB}/playhouse/tests_djpeewee.py
${PYSITELIB}/playhouse/tests_djpeewee.pyc
${PYSITELIB}/playhouse/tests_djpeewee.pyo
@@ -92,6 +110,9 @@ ${PYSITELIB}/playhouse/tests_pwiz.pyo
${PYSITELIB}/playhouse/tests_read_slave.py
${PYSITELIB}/playhouse/tests_read_slave.pyc
${PYSITELIB}/playhouse/tests_read_slave.pyo
+${PYSITELIB}/playhouse/tests_reflection.py
+${PYSITELIB}/playhouse/tests_reflection.pyc
+${PYSITELIB}/playhouse/tests_reflection.pyo
${PYSITELIB}/playhouse/tests_shortcuts.py
${PYSITELIB}/playhouse/tests_shortcuts.pyc
${PYSITELIB}/playhouse/tests_shortcuts.pyo
diff --git a/databases/py-peewee/distinfo b/databases/py-peewee/distinfo
index 674cad7ed18..9c6087755c3 100644
--- a/databases/py-peewee/distinfo
+++ b/databases/py-peewee/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2014/10/17 10:24:04 fhajny Exp $
+$NetBSD: distinfo,v 1.2 2014/10/29 13:13:38 fhajny Exp $
-SHA1 (peewee-2.3.3.tar.gz) = eb642071d9c0a2137d437d9e978a9f87b767465b
-RMD160 (peewee-2.3.3.tar.gz) = fd5a161fcf67ece8d9721d436b60196e7f09ad7c
-Size (peewee-2.3.3.tar.gz) = 308429 bytes
+SHA1 (peewee-2.4.1.tar.gz) = e76f509f375841c4a4be31cde99379ac23faaf23
+RMD160 (peewee-2.4.1.tar.gz) = 5882aaa1165bfc9dc71fe231fc32a8d9cf2ccac8
+Size (peewee-2.4.1.tar.gz) = 318713 bytes