commit python-apsw for openSUSE:Factory
Hello community, here is the log from the commit of package python-apsw for openSUSE:Factory checked in at 2020-09-23 18:40:28 Comparing /work/SRC/openSUSE:Factory/python-apsw (Old) and /work/SRC/openSUSE:Factory/.python-apsw.new.4249 (New) Package is "python-apsw" Wed Sep 23 18:40:28 2020 rev:8 rq:836079 version:3.33.0_r1 Changes: --- /work/SRC/openSUSE:Factory/python-apsw/python-apsw.changes 2020-03-04 09:40:25.633928567 +0100 +++ /work/SRC/openSUSE:Factory/.python-apsw.new.4249/python-apsw.changes 2020-09-23 18:41:16.793369823 +0200 @@ -1,0 +2,18 @@ +Tue Sep 22 11:54:56 UTC 2020 - Tomáš Chvátal + +- Fix the source url to really match reality + +--- +Tue Sep 22 10:29:18 UTC 2020 - Hans-Peter Jansen + +- Update to 3.33.0-r1: + * Small performance improvement in string handling + * apsw module exposes Cursor, Blob, and Backup types (issue #273) + * pkg-config is used to detect International Components for +Unicode (ICU) sdk when the SQLite ICU extension is enabled. It +falls back to icu-config as before. (issue #268). +- Update to 3.32.2-r2: + * Added some constants + * Minor documentation updates +- Fix source URL +--- Old: 3.31.1-r1.tar.gz New: 3.33.0-r1.tar.gz Other differences: -- ++ python-apsw.spec ++ --- /var/tmp/diff_new_pack.JZQgaN/_old 2020-09-23 18:41:18.573371461 +0200 +++ /var/tmp/diff_new_pack.JZQgaN/_new 2020-09-23 18:41:18.577371465 +0200 @@ -17,9 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define tarver 3.31.1-r1 +%define tarver 3.33.0-r1 Name: python-apsw -Version:3.31.1_r1 +Version:3.33.0_r1 Release:0 Summary:Another Python SQLite Wrapper License:Zlib @@ -30,7 +30,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: pkgconfig BuildRequires: python-rpm-macros -BuildRequires: sqlite3-devel >= 3.30 +BuildRequires: pkgconfig(sqlite3) >= 3.30 %python_subpackages %description ++ 3.31.1-r1.tar.gz -> 3.33.0-r1.tar.gz ++ 10222 lines of diff (skipped)
commit python-apsw for openSUSE:Factory
Hello community, here is the log from the commit of package python-apsw for openSUSE:Factory checked in at 2020-03-04 09:39:46 Comparing /work/SRC/openSUSE:Factory/python-apsw (Old) and /work/SRC/openSUSE:Factory/.python-apsw.new.26092 (New) Package is "python-apsw" Wed Mar 4 09:39:46 2020 rev:7 rq:781138 version:3.31.1_r1 Changes: --- /work/SRC/openSUSE:Factory/python-apsw/python-apsw.changes 2020-02-05 19:42:03.679277962 +0100 +++ /work/SRC/openSUSE:Factory/.python-apsw.new.26092/python-apsw.changes 2020-03-04 09:40:25.633928567 +0100 @@ -1,0 +2,8 @@ +Tue Mar 3 09:44:34 UTC 2020 - Tomáš Chvátal + +- Update the sqlite dependency +- Update to 3.31.1: + * Fix deprecated universal newline use in shell (#283) + * Shell now uses pragma function_list to get list of functions for tab completion + +--- @@ -9 +16,0 @@ - Old: 3.30.1-r1.tar.gz New: 3.31.1-r1.tar.gz Other differences: -- ++ python-apsw.spec ++ --- /var/tmp/diff_new_pack.iGXe6P/_old 2020-03-04 09:40:36.665935179 +0100 +++ /var/tmp/diff_new_pack.iGXe6P/_new 2020-03-04 09:40:36.689935194 +0100 @@ -17,9 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define tarver 3.30.1-r1 +%define tarver 3.31.1-r1 Name: python-apsw -Version:3.30.1_r1 +Version:3.31.1_r1 Release:0 Summary:Another Python SQLite Wrapper License:Zlib @@ -30,7 +30,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: pkgconfig BuildRequires: python-rpm-macros -BuildRequires: sqlite3-devel +BuildRequires: sqlite3-devel >= 3.30 %python_subpackages %description ++ 3.30.1-r1.tar.gz -> 3.31.1-r1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apsw-3.30.1-r1/LICENSE new/apsw-3.31.1-r1/LICENSE --- old/apsw-3.30.1-r1/LICENSE 2019-11-05 19:55:05.0 +0100 +++ new/apsw-3.31.1-r1/LICENSE 2020-02-27 01:55:35.0 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2004-2019 Roger Binns +Copyright (c) 2004-2020 Roger Binns See src/traceback.c for code by Greg Ewing. All code and documentation is provided under this license: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apsw-3.30.1-r1/Makefile new/apsw-3.31.1-r1/Makefile --- old/apsw-3.30.1-r1/Makefile 2019-11-05 19:55:05.0 +0100 +++ new/apsw-3.31.1-r1/Makefile 2020-02-27 01:55:35.0 +0100 @@ -1,8 +1,8 @@ -SQLITEVERSION=3.30.1 +SQLITEVERSION=3.31.1 APSWSUFFIX=-r1 -RELEASEDATE="5 November 2019" +RELEASEDATE="24 February 2020" VERSION=$(SQLITEVERSION)$(APSWSUFFIX) VERDIR=apsw-$(VERSION) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/apsw-3.30.1-r1/checksums new/apsw-3.31.1-r1/checksums --- old/apsw-3.30.1-r1/checksums2019-11-05 19:55:05.0 +0100 +++ new/apsw-3.31.1-r1/checksums2020-02-27 01:55:35.0 +0100 @@ -10,27 +10,6 @@ # more peace of mind because the SQLite releases are not signed in any # way. -https://sqlite.org/2018/sqlite-amalgamation-322.zip2152750 cc91d8907ebfafae6752ac9694ddd566cfa5db5d 490d167d91d58d3dc5a03a99a5dcef7c -https://sqlite.org/2018/sqlite-autoconf-322.tar.gz 2644649 2fb24ec12001926d5209d2da90d252b9825366ac 96b5648d542e8afa6ab7ffb8db8ddc3d - -https://sqlite.org/2018/sqlite-amalgamation-3230100.zip2183147 98729f2c2d57d166e3d6d9862744c1d66388e286 c3a8512bec4ba0de2a19af5c0e678d15 -https://sqlite.org/2018/sqlite-autoconf-3230100.tar.gz 2675362 0edbfd75ececb95e8e6448d6ff33df82774c9646 99a51b40a66872872a91c92f6d0134fa -https://sqlite.org/2018/sqlite-amalgamation-323.zip2181652 2dc974087041cf1cf3a4682a4485403f2d0910d6 7e6e17c7af5595bf9d40233ca8c20dce -https://sqlite.org/2018/sqlite-autoconf-323.tar.gz 2674030 ef55baa06f46808b9798f8447ba6a0115b23c5d2 6a26a122a18bcd1a6a1c18b4bad64498 - -https://sqlite.org/2018/sqlite-amalgamation-324.zip2206612 fed8b1c04c63ce200773586422c9976b54f408cc 4ea1e0c6e7e82cb0490d4753d6878698 -https://sqlite.org/2018/sqlite-autoconf-324.tar.gz 2699252 da68915e3563b5244cbcdb6c7e20fb35559bcfc6 dcd96fb9bbb603d29f6b0ad9554932ee - -https://sqlite.org/2018/sqlite-amalgamation-3250200.zip2270787 c9ff08b91a0faacabe2acb240e5dba3cf81071f3 1f77a23c13abca1cc89cd5f06c55f6e2 -https://sqlite.org/2018/sqlite-autoconf-3250200.tar.gz 2763876 aedfbdc14eb700099434d6a743135743cff47393 bfade31d59f58badc51aeaa6ae26a5de -https://sqlite.org/2018/sqlite-amalgamation-3250100.zip2270677 c6a44ad5cc67ed8824d1346d4d7e488527754667 e250c9a06858c1018896ef56a13c1d08 -https://sqlite.org/2018/sqlite-autoconf-32
commit python-apsw for openSUSE:Factory
Hello community, here is the log from the commit of package python-apsw for openSUSE:Factory checked in at 2020-02-05 19:41:58 Comparing /work/SRC/openSUSE:Factory/python-apsw (Old) and /work/SRC/openSUSE:Factory/.python-apsw.new.26092 (New) Package is "python-apsw" Wed Feb 5 19:41:58 2020 rev:6 rq:770089 version:3.30.1_r1 Changes: --- /work/SRC/openSUSE:Factory/python-apsw/python-apsw.changes 2019-09-11 10:39:57.943224624 +0200 +++ /work/SRC/openSUSE:Factory/.python-apsw.new.26092/python-apsw.changes 2020-02-05 19:42:03.679277962 +0100 @@ -1,0 +2,10 @@ +Tue Feb 4 19:50:05 UTC 2020 - Ondřej Súkup + +- update to 3.30.1-r1 +- drop 0002-Skip-one-test-on-python3.8.patch + 0001-py3.8-avoid-invalid-escapes.patch + * Updated hashing of SQL statements + * Updated Connection.config() with all current SQLITE_DBCONFIG constants + + +--- Old: 0001-py3.8-avoid-invalid-escapes.patch 0002-Skip-one-test-on-python3.8.patch 3.28.0-r1.tar.gz New: 3.30.1-r1.tar.gz Other differences: -- ++ python-apsw.spec ++ --- /var/tmp/diff_new_pack.Fvi9NJ/_old 2020-02-05 19:42:04.727278461 +0100 +++ /var/tmp/diff_new_pack.Fvi9NJ/_new 2020-02-05 19:42:04.763278478 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-apsw # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define tarver 3.28.0-r1 +%define tarver 3.30.1-r1 Name: python-apsw -Version:3.28.0_r1 +Version:3.30.1_r1 Release:0 Summary:Another Python SQLite Wrapper License:Zlib Group: Development/Libraries/Python URL:https://github.com/rogerbinns/apsw/ Source: https://github.com/rogerbinns/apsw/archive/%{tarver}.tar.gz -Patch0: 0001-py3.8-avoid-invalid-escapes.patch -Patch1: 0002-Skip-one-test-on-python3.8.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: pkgconfig @@ -43,7 +41,6 @@ %prep %setup -q -n apsw-%{tarver} -%autopatch -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" ++ 3.28.0-r1.tar.gz -> 3.30.1-r1.tar.gz ++ 10624 lines of diff (skipped)
commit python-apsw for openSUSE:Factory
Hello community, here is the log from the commit of package python-apsw for openSUSE:Factory checked in at 2019-09-11 10:39:53 Comparing /work/SRC/openSUSE:Factory/python-apsw (Old) and /work/SRC/openSUSE:Factory/.python-apsw.new.7948 (New) Package is "python-apsw" Wed Sep 11 10:39:53 2019 rev:5 rq:729896 version:3.28.0_r1 Changes: --- /work/SRC/openSUSE:Factory/python-apsw/python-apsw.changes 2019-07-11 13:15:15.330827603 +0200 +++ /work/SRC/openSUSE:Factory/.python-apsw.new.7948/python-apsw.changes 2019-09-11 10:39:57.943224624 +0200 @@ -1,0 +2,8 @@ +Tue Sep 10 13:32:46 UTC 2019 - Tomáš Chvátal + +- Add more py3.8 patches: + * 0001-py3.8-avoid-invalid-escapes.patch + * 0002-Skip-one-test-on-python3.8.patch +- Remove patch obsoleted by above python38.patch + +--- Old: python38.patch New: 0001-py3.8-avoid-invalid-escapes.patch 0002-Skip-one-test-on-python3.8.patch Other differences: -- ++ python-apsw.spec ++ --- /var/tmp/diff_new_pack.DCk23s/_old 2019-09-11 10:39:58.503224524 +0200 +++ /var/tmp/diff_new_pack.DCk23s/_new 2019-09-11 10:39:58.507224523 +0200 @@ -26,7 +26,8 @@ Group: Development/Libraries/Python URL:https://github.com/rogerbinns/apsw/ Source: https://github.com/rogerbinns/apsw/archive/%{tarver}.tar.gz -Patch0: python38.patch +Patch0: 0001-py3.8-avoid-invalid-escapes.patch +Patch1: 0002-Skip-one-test-on-python3.8.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: pkgconfig @@ -42,7 +43,7 @@ %prep %setup -q -n apsw-%{tarver} -%patch0 -p1 +%autopatch -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" ++ 0001-py3.8-avoid-invalid-escapes.patch ++ >From 746197f51ecb229acd75bcd566a1199ebe5fafe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 19 Jul 2019 15:11:54 +0200 Subject: [PATCH 1/2] py3.8: avoid invalid escapes python3-3.8.0~b2-1.fc31.x86_64 warns: /home/zbyszek/python/apsw/tests.py:1880: SyntaxWarning: invalid escape sequence \o "or even a \0\0\0\0\0\0sequence\0\0\0\0\of them", :1: SyntaxWarning: invalid escape sequence \i :1: SyntaxWarning: invalid escape sequence \i :1: SyntaxWarning: invalid escape sequence \i :1: SyntaxWarning: invalid escape sequence \i :1: SyntaxWarning: invalid escape sequence \i :1: SyntaxWarning: invalid escape sequence \i :1: SyntaxWarning: invalid escape sequence \i :1: SyntaxWarning: invalid escape sequence \i --- tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests.py b/tests.py index 15eb35682d..5c46ebaab3 100644 --- a/tests.py +++ b/tests.py @@ -1877,7 +1877,7 @@ class APSW(unittest.TestCase): vals=("a simple string", "a simple string\0with a null", "a string\0with two\0nulls", - "or even a \0\0\0\0\0\0sequence\0\0\0\0\of them", + "or even a \0\0\0\0\0\0sequence\0\0\0\0of them", u(r"a \u1234 unicode \ufe54 string \u0089"), u(r"a \u1234 unicode \ufe54 string \u0089\0and some text"), u(r"\N{BLACK STAR} \N{WHITE STAR} \N{LIGHTNING} \N{COMET}\0more\0than you\0can handle"), @@ -6008,7 +6008,7 @@ class APSW(unittest.TestCase): # py 3 barfs with any codepoints above 0x whining # about surrogates not being allowed. If only it # implemented unicode properly. -cmd(u("create table if not exists nastydata(x,y); insert into nastydata values(null,'xxx\\u1234\\uabcdyyy\r\n\t\"this \\is nasty\u0001stuff!');")) +cmd(u("create table if not exists nastydata(x,y); insert into nastydata values(null,'xxx\\u1234\\uabcdyyy\r\n\t\"this is nasty\u0001stuff!');")) s.cmdloop() isempty(fh[1]) isempty(fh[2]) @@ -6583,7 +6583,7 @@ class APSW(unittest.TestCase): s.db.cursor().execute("pragma user_version=0") # some nasty stuff reset() -cmd(u("create table nastydata(x,y); insert into nastydata values(null,'xxx\\u1234\\uabcd\\U00012345yyy\r\n\t\"this \\is nasty\u0001stuff!');" +cmd(u("create table nastydata(x,y); insert into nastydata values(null,'xxx\\u1234\\uabcd\\U00012345yyy\r\n\t\"this is nasty\u0001stuff!');" 'create table "table"([except] int); create table [](""); create table [using]("&");' )) s.cmdloop() ++ 0002-Skip-one-test-on-python3.8.patch ++ >From 8085e786afa0661418a8cefe5a1eaf7a535a5089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 19 Jul 201
commit python-apsw for openSUSE:Factory
Hello community, here is the log from the commit of package python-apsw for openSUSE:Factory checked in at 2019-07-11 13:14:58 Comparing /work/SRC/openSUSE:Factory/python-apsw (Old) and /work/SRC/openSUSE:Factory/.python-apsw.new.4615 (New) Package is "python-apsw" Thu Jul 11 13:14:58 2019 rev:4 rq:713411 version:3.28.0_r1 Changes: --- /work/SRC/openSUSE:Factory/python-apsw/python-apsw.changes 2017-09-05 15:15:15.620898484 +0200 +++ /work/SRC/openSUSE:Factory/.python-apsw.new.4615/python-apsw.changes 2019-07-11 13:15:15.330827603 +0200 @@ -1,0 +2,8 @@ +Thu Jul 4 13:10:16 UTC 2019 - Tomáš Chvátal + +- Update to 3.28.0-r1: + * No changelog +- Add patch to build with python 3.8: + * python38.patch + +--- Old: apsw-3.9.2-r1.tar.gz New: 3.28.0-r1.tar.gz python38.patch Other differences: -- ++ python-apsw.spec ++ --- /var/tmp/diff_new_pack.9YlG62/_old 2019-07-11 13:15:16.754827016 +0200 +++ /var/tmp/diff_new_pack.9YlG62/_new 2019-07-11 13:15:16.758827014 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-apsw # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define tarver 3.28.0-r1 Name: python-apsw -Version:3.9.2_r1 -%define tarver 3.9.2-r1 +Version:3.28.0_r1 Release:0 Summary:Another Python SQLite Wrapper License:Zlib Group: Development/Libraries/Python -Url:https://github.com/rogerbinns/apsw/ -Source: https://files.pythonhosted.org/packages/source/a/apsw/apsw-%{tarver}.tar.gz +URL:https://github.com/rogerbinns/apsw/ +Source: https://github.com/rogerbinns/apsw/archive/%{tarver}.tar.gz +Patch0: python38.patch BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: sqlite3-devel - %python_subpackages %description @@ -41,6 +42,7 @@ %prep %setup -q -n apsw-%{tarver} +%patch0 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" @@ -57,8 +59,8 @@ } %files %{python_files} -%defattr(-,root,root) -%{python_sitearch}/apsw*.so -%{python_sitearch}/apsw-%{version}-py*.egg-info +%license LICENSE +%doc README.rst +%{python_sitearch}/* %changelog ++ apsw-3.9.2-r1.tar.gz -> 3.28.0-r1.tar.gz ++ 283113 lines of diff (skipped) ++ python38.patch ++ @@ -69,6 +69,9 @@ static void AddTraceBackHere(const char *filename, int lineno, const char *funct /* make the dummy code object */ code = PyCode_New( 0,/*int argcount,*/ +#if PY_VERSION_HEX >= 0x030800A4 + 0,/*int posonlyargcount*/ +#endif #if PY_VERSION_HEX >= 0x0300 0,/*int kwonlyargcount*/ #endif Index: apsw-3.28.0-r1/src/traceback.c === --- apsw-3.28.0-r1.orig/src/traceback.c +++ apsw-3.28.0-r1/src/traceback.c @@ -69,6 +69,9 @@ static void AddTraceBackHere(const char /* make the dummy code object */ code = PyCode_New( 0,/*int argcount,*/ +#if PY_VERSION_HEX >= 0x030800A4 + 0,/*int posonlyargcount*/ +#endif #if PY_VERSION_HEX >= 0x0300 0,/*int kwonlyargcount*/ #endif
commit python-apsw for openSUSE:Factory
Hello community, here is the log from the commit of package python-apsw for openSUSE:Factory checked in at 2017-09-05 15:15:09 Comparing /work/SRC/openSUSE:Factory/python-apsw (Old) and /work/SRC/openSUSE:Factory/.python-apsw.new (New) Package is "python-apsw" Tue Sep 5 15:15:09 2017 rev:3 rq:519979 version:3.9.2_r1 Changes: --- /work/SRC/openSUSE:Factory/python-apsw/python-apsw.changes 2013-10-18 13:34:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-apsw.new/python-apsw.changes 2017-09-05 15:15:15.620898484 +0200 @@ -1,0 +2,11 @@ +Thu Aug 31 16:45:50 UTC 2017 - toddrme2...@gmail.com + +- Update to version 3.9.2-r1 + * No changelog + +--- +Thu Aug 24 13:32:48 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +--- @@ -40,0 +52 @@ + Old: apsw-3.7.17-r1.zip New: apsw-3.9.2-r1.tar.gz Other differences: -- ++ python-apsw.spec ++ --- /var/tmp/diff_new_pack.LgJEPF/_old 2017-09-05 15:15:17.096691041 +0200 +++ /var/tmp/diff_new_pack.LgJEPF/_new 2017-09-05 15:15:17.096691041 +0200 @@ -1,8 +1,7 @@ -# vim: set sw=4 ts=4 et nu: # # spec file for package python-apsw # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,69 +16,49 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-apsw -Version:3.7.17_r1 +Version:3.9.2_r1 +%define tarver 3.9.2-r1 Release:0 -%define pkg_version 3.7.17-r1 -%define sqlite_version 3.7.17 Summary:Another Python SQLite Wrapper License:Zlib Group: Development/Libraries/Python -Source: http://apsw.googlecode.com/files/apsw-%{pkg_version}.zip -Url:http://code.google.com/p/apsw/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc -BuildRequires: glibc-devel -BuildRequires: libtool -BuildRequires: make +Url:https://github.com/rogerbinns/apsw/ +Source: https://files.pythonhosted.org/packages/source/a/apsw/apsw-%{tarver}.tar.gz +BuildRequires: %{python_module devel} BuildRequires: pkgconfig -BuildRequires: python-devel -BuildRequires: sqlite3-devel >= %{sqlite_version} -BuildRequires: unzip -%py_requires +BuildRequires: python-rpm-macros +BuildRequires: sqlite3-devel -%description -APSW is a Python wrapper for the SQLite embedded relational database -engine. In contrast to other wrappers such as pysqlite it focuses on -being a minimal layer over SQLite attempting just to translate the -complete SQLite API into Python. +%python_subpackages -%package doc -Summary:Another Python SQLite Wrapper - Documentation -Group: Development/Libraries/Python - -%description doc +%description APSW is a Python wrapper for the SQLite embedded relational database engine. In contrast to other wrappers such as pysqlite it focuses on being a minimal layer over SQLite attempting just to translate the complete SQLite API into Python. %prep -%setup -q -n "apsw-%{pkg_version}" +%setup -q -n apsw-%{tarver} %build -python setup.py build +export CFLAGS="%{optflags} -fno-strict-aliasing" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -rm -f doc/.buildinfo +%python_install -install -d "%{buildroot}%{_docdir}/%{name}" -cp -a doc/* "%{buildroot}%{_docdir}/%{name}/" - -%files -%defattr(-,root,root) -%doc doc/_sources/copyright.txt -%{python_sitearch}/apsw.so -%{python_sitearch}/apsw-%{version}-py%{py_ver}.egg-info -%exclude %{_docdir}/%{name} +%check +export CFLAGS="%{optflags} -fno-strict-aliasing" +%{python_expand $python setup.py build_ext --inplace +$python setup.py test +$python setup.py clean +} -%files doc +%files %{python_files} %defattr(-,root,root) -%dir %{_docdir}/%{name} -%doc %{_docdir}/%{name}/* -%exclude %{_docdir}/%{name}/copyright.txt +%{python_sitearch}/apsw*.so +%{python_sitearch}/apsw-%{version}-py*.egg-info %changelog