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 <[email protected]> + +- 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 >= 0x03000000 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 >= 0x03000000 0, /*int kwonlyargcount*/ #endif
