Hello community,

here is the log from the commit of package python-pysvn for openSUSE:Factory 
checked in at 2017-09-05 15:15:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysvn (Old)
 and      /work/SRC/openSUSE:Factory/.python-pysvn.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pysvn"

Tue Sep  5 15:15:26 2017 rev:26 rq:520002 version:1.9.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysvn/python-pysvn.changes        
2015-09-24 06:14:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pysvn.new/python-pysvn.changes   
2017-09-05 15:15:28.743053985 +0200
@@ -1,0 +2,12 @@
+Thu Aug 31 17:01:43 UTC 2017 - [email protected]
+
+- Update to version 1.9.4
+- Remove bnc445431_pysvn_svnenv.cpp.diff
+  * No longer needed
+
+-------------------------------------------------------------------
+Thu Aug 24 13:52:20 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -132,0 +145 @@
+

Old:
----
  bnc445431_pysvn_svnenv.cpp.diff
  pysvn-1.8.0.tar.gz

New:
----
  pysvn-1.9.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pysvn.spec ++++++
--- /var/tmp/diff_new_pack.iaGmoC/_old  2017-09-05 15:15:31.762629542 +0200
+++ /var/tmp/diff_new_pack.iaGmoC/_new  2017-09-05 15:15:31.762629542 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pysvn
 #
-# Copyright (c) 2015 SUSE LINUX 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
@@ -16,31 +16,30 @@
 #
 
 
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%endif
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pysvn
-Version:        1.8.0
+Version:        1.9.4
+%define pcxxver 6.2.8
 Release:        0
 Summary:        Highlevel Subversion Python Bindings
 License:        Apache-1.1
 Group:          Development/Libraries/Python
 Url:            http://pysvn.tigris.org
 Source0:        
http://pysvn.barrys-emacs.org/source_kits/pysvn-%{version}.tar.gz
-Patch0:         bnc445431_pysvn_svnenv.cpp.diff
-BuildRequires:  gcc
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module xml}
 BuildRequires:  gcc-c++
 BuildRequires:  libapr1-devel
 BuildRequires:  libcom_err-devel
 BuildRequires:  libcom_err2
 BuildRequires:  libexpat-devel
 BuildRequires:  neon-devel
-BuildRequires:  python-devel
-BuildRequires:  python-xml
+BuildRequires:  python-rpm-macros
 BuildRequires:  subversion-devel
 Requires:       neon
 Requires:       subversion
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%python_subpackages
 
 %description
 pysvn is a highlevel and easy to use Python bindings to Subversion. The pysvn
@@ -58,30 +57,33 @@
 
 %prep
 %setup -q -n pysvn-%{version}
-%patch0
 # patch in rpm compiler flags
 sed -i 's/CCFLAGS=-Wall/CCFLAGS=$(RPM_OPT_FLAGS) -Wall -Wno-deprecated/g' 
Source/setup_configure.py
 
 %build
-cd Source
-python setup.py backport
-python setup.py configure --enable-debug --norpath
+%{python_expand cp -r Source Source-%{$python_bin_suffix}
+pushd Source-%{$python_bin_suffix}
+$python setup.py backport
+$python setup.py configure --enable-debug --norpath 
--pycxx-dir="../Import/pycxx-%{pcxxver}/"
 make %{?_smp_mflags}
+popd
+}
 
 %install
-mkdir -p %{buildroot}/%{python_sitearch}/pysvn
-cp Source/pysvn/{__init__.py,_pysvn*.so} %{buildroot}/%{python_sitearch}/pysvn
-%py_compile %{buildroot}/%{python_sitearch}/pysvn
+%{python_expand mkdir -p %{buildroot}/%{$python_sitearch}/pysvn
+pushd Source-%{$python_bin_suffix}
+cp pysvn/{__init__.py,_pysvn*.so} %{buildroot}/%{$python_sitearch}/pysvn
+$python -m compileall -d %{$python_sitearch} 
%{buildroot}/%{$python_sitearch}/pysvn
+$python -O -m compileall -d %{$python_sitearch} 
%{buildroot}/%{$python_sitearch}/pysvn
+popd
+}
 rm -f Docs/generate_cpp_docs_from_html_docs.py
 
-#some of these tests (test-01.unix) are way too fragile to operate properly
-#over a certain amount of different svn versions, as the compare output strings
-
 %check
 cd Tests
-make %{?_smp_mflags} || true
+%python_expand PYTHON=$python make %{?_smp_mflags} || true
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc LICENSE.txt Docs Examples
 %{python_sitearch}/*

++++++ pysvn-1.8.0.tar.gz -> pysvn-1.9.4.tar.gz ++++++
++++ 81896 lines of diff (skipped)


Reply via email to