From ec06ecf0969f0c927a6d8c2a8d849ccb4dbb512239b2965cf9790a52cd953448 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 30 Jul 2021 14:45:21 +0000 Subject: [PATCH] Accepting request 909410 from home:ecsos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 3.35.4-r1: - Updates for SQLite download url (the year is part of the urls). - Added enable flag for built-in SQL math functions, and enable it by default with –enable-all-extensions. - Use the newer buffer API for Python 3 (old API removed in Python 3.10). - Fix loadable extensions are missing, so insert --enable-all-extensions and --enable=load_extension. See: https://rogerbinns.github.io/apsw/build.html#building This version ist needed for calibre and also the build parameters " --enable-all-extensions and --enable=load_extension". Without this parameters calibre find no sqlite-extension. OBS-URL: https://build.opensuse.org/request/show/909410 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=24 --- 3.34.0-r1.tar.gz | 3 --- 3.35.4-r1.tar.gz | 3 +++ python-apsw.changes | 13 +++++++++++++ python-apsw.spec | 9 +++++---- 4 files changed, 21 insertions(+), 7 deletions(-) delete mode 100644 3.34.0-r1.tar.gz create mode 100644 3.35.4-r1.tar.gz diff --git a/3.34.0-r1.tar.gz b/3.34.0-r1.tar.gz deleted file mode 100644 index f06900d..0000000 --- a/3.34.0-r1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:02f4de8fa304c0234db918e78a75ec81bf6052b02c5e03ca88d23ff10dc282dd -size 312776 diff --git a/3.35.4-r1.tar.gz b/3.35.4-r1.tar.gz new file mode 100644 index 0000000..4474633 --- /dev/null +++ b/3.35.4-r1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a19588244295d184ce803cdbf6d7538330f35c47fa65a8777e1db2de76ccf25 +size 315734 diff --git a/python-apsw.changes b/python-apsw.changes index 74e841c..eb69a48 100644 --- a/python-apsw.changes +++ b/python-apsw.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Jun 25 06:20:00 UTC 2021 - ecsos + +- Update to 3.35.4-r1: + - Updates for SQLite download url (the year is part of the urls). + - Added enable flag for built-in SQL math functions, and enable + it by default with –enable-all-extensions. + - Use the newer buffer API for Python 3 + (old API removed in Python 3.10). +- Fix loadable extensions are missing, + so insert --enable-all-extensions and --enable=load_extension. + See: https://rogerbinns.github.io/apsw/build.html#building + ------------------------------------------------------------------- Tue Dec 29 13:46:03 UTC 2020 - Dirk Müller diff --git a/python-apsw.spec b/python-apsw.spec index 8071274..c00c00d 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -1,7 +1,7 @@ # # spec file for package python-apsw # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define tarver 3.34.0-r1 +%define tarver 3.35.4-r1 Name: python-apsw -Version: 3.34.0_r1 +Version: 3.35.4_r1 Release: 0 Summary: Another Python SQLite Wrapper License: Zlib @@ -44,7 +44,8 @@ complete SQLite API into Python. %build export CFLAGS="%{optflags} -fno-strict-aliasing" -%python_build +#%%python_build +%{python_expand $python setup.py build --enable-all-extensions --enable=load_extension} %install %python_install