diff options
author | adam <adam@pkgsrc.org> | 2019-01-08 08:37:59 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-01-08 08:37:59 +0000 |
commit | f0a487c61df35d27c6c76c1762995f97b9d95c1e (patch) | |
tree | 0d7ea2483037c1dee3e222cc7a8d2f28a6f03004 /databases/py-peewee/patches/patch-setup.py | |
parent | c6455630a09675a89054066fd5b34dedfb606275 (diff) | |
download | pkgsrc-f0a487c61df35d27c6c76c1762995f97b9d95c1e.tar.gz |
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 (limited to 'databases/py-peewee/patches/patch-setup.py')
-rw-r--r-- | databases/py-peewee/patches/patch-setup.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/databases/py-peewee/patches/patch-setup.py b/databases/py-peewee/patches/patch-setup.py index b76e95476db..5cdf338bfa8 100644 --- a/databases/py-peewee/patches/patch-setup.py +++ b/databases/py-peewee/patches/patch-setup.py @@ -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']) |