pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-peewee py-peewee: updated to 3.8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3142b0202800
branches:  trunk
changeset: 389753:3142b0202800
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jan 08 08:37:59 2019 +0000

description:
py-peewee: updated to 3.8.1

3.8.1

New features
Sqlite SearchField now supports the match() operator, allowing full-text search to be performed on a single column (as opposed to the whole table).

Changes
Remove minimum passphrase restrictions in SQLCipher integration.

Bugfixes
Support inheritance of ManyToManyField instances.
Ensure operator overloads are invoked when generating filter expressions.
Fix incorrect scoring in Sqlite BM25, BM25f and Lucene ranking algorithms.
Support string field-names in data dictionary when performing an ON CONFLICT ... UPDATE query, which allows field-specific conversions to be applied.

diffstat:

 databases/py-peewee/Makefile               |   7 ++++---
 databases/py-peewee/distinfo               |  12 ++++++------
 databases/py-peewee/patches/patch-setup.py |  11 +++++++----
 3 files changed, 17 insertions(+), 13 deletions(-)

diffs (62 lines):

diff -r 98de83b93a06 -r 3142b0202800 databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Tue Jan 08 08:01:28 2019 +0000
+++ b/databases/py-peewee/Makefile      Tue Jan 08 08:37:59 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2018/12/18 11:48:33 adam Exp $
+# $NetBSD: Makefile,v 1.50 2019/01/08 08:37:59 adam Exp $
 
-DISTNAME=      peewee-3.8.0
+DISTNAME=      peewee-3.8.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
@@ -11,7 +11,8 @@
 LICENSE=       mit
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+#DEPENDS+=     sqlite3-[0-9]*
 
 MAKE_FLAGS+=   SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
 
diff -r 98de83b93a06 -r 3142b0202800 databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Tue Jan 08 08:01:28 2019 +0000
+++ b/databases/py-peewee/distinfo      Tue Jan 08 08:37:59 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.43 2018/12/18 11:48:33 adam Exp $
+$NetBSD: distinfo,v 1.44 2019/01/08 08:37:59 adam Exp $
 
-SHA1 (peewee-3.8.0.tar.gz) = b4e9db005c526e3d365a13f1d23187cb9f975a22
-RMD160 (peewee-3.8.0.tar.gz) = 05d2414f4cba4fa1b50356ffa488cc4477ec94a7
-SHA512 (peewee-3.8.0.tar.gz) = 2b375082993955117ff68413872bc2cdca045997cb77d7402494a65beab877a1aa5a8c0c87ddea8fed785586e5a971fb705cb726ad1aa4c57798f688c7167a13
-Size (peewee-3.8.0.tar.gz) = 805622 bytes
-SHA1 (patch-setup.py) = 23575a58f42015a48b7503d90ed86290c92d0d03
+SHA1 (peewee-3.8.1.tar.gz) = c959a8cb923a87f5c55b29311fd699d2aa394924
+RMD160 (peewee-3.8.1.tar.gz) = fdcbb399218a3d80bd7f9a80f37c77d0ffa2d34b
+SHA512 (peewee-3.8.1.tar.gz) = 81619c7cd03d3e57be94ca6eba46e6dabbbd2097c7f2e901e23f1198e4fa766488433cd1fad134b4d902683edc4a43b7fb97a44295c892decb9837165afb8f73
+Size (peewee-3.8.1.tar.gz) = 827299 bytes
+SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc
diff -r 98de83b93a06 -r 3142b0202800 databases/py-peewee/patches/patch-setup.py
--- a/databases/py-peewee/patches/patch-setup.py        Tue Jan 08 08:01:28 2019 +0000
+++ b/databases/py-peewee/patches/patch-setup.py        Tue Jan 08 08:37:59 2019 +0000
@@ -1,12 +1,15 @@
-$NetBSD: patch-setup.py,v 1.1 2018/10/26 11:57:01 jperkin Exp $
+$NetBSD: patch-setup.py,v 1.2 2019/01/08 08:37:59 adam Exp $
 
 Find libsqlite3.
 
---- setup.py.orig      2018-08-30 19:16:58.000000000 +0000
+--- setup.py.orig      2018-08-16 18:40:47.000000000 +0000
 +++ setup.py
-@@ -75,6 +75,7 @@ def _have_sqlite_extension_support():
+@@ -73,8 +73,9 @@ def _have_sqlite_extension_support():
+     success = False
+     try:
          compiler.link_executable(
-             compiler.compile([src_file], output_dir=tmp_dir),
+-            compiler.compile([src_file], output_dir=tmp_dir),
++            compiler.compile([src_file], output_dir=tmp_dir, include_dirs=['@BUILDLINK_PREFIX.sqlite3@/include']),
              bin_file,
 +            library_dirs=['@BUILDLINK_PREFIX.sqlite3@/lib'],
              libraries=['sqlite3'])



Home | Main Index | Thread Index | Old Index