15
0
forked from pool/python-apsw

Accepting request 909410 from home: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

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
This commit is contained in:
2021-07-30 14:45:21 +00:00
committed by Git OBS Bridge
parent f6f640283a
commit ec06ecf096
4 changed files with 21 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02f4de8fa304c0234db918e78a75ec81bf6052b02c5e03ca88d23ff10dc282dd
size 312776

3
3.35.4-r1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a19588244295d184ce803cdbf6d7538330f35c47fa65a8777e1db2de76ccf25
size 315734

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Jun 25 06:20:00 UTC 2021 - ecsos <ecsos@opensuse.org>
- 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 <dmueller@suse.com>

View File

@@ -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