Hello community,

here is the log from the commit of package python-pyxb for openSUSE:Factory 
checked in at 2018-08-31 10:41:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyxb (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyxb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyxb"

Fri Aug 31 10:41:56 2018 rev:3 rq:631076 version:1.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyxb/python-pyxb.changes  2015-03-18 
13:08:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyxb.new/python-pyxb.changes     
2018-08-31 10:43:28.695133473 +0200
@@ -1,0 +2,8 @@
+Thu Aug 23 09:38:47 UTC 2018 - [email protected]
+
+- Version update to 1.2.6:
+  * Support for python3
+- Add patch to unbundle six:
+  * PyXB-unbundle-six.patch
+
+-------------------------------------------------------------------

Old:
----
  PyXB-1.2.4.tar.gz

New:
----
  PyXB-1.2.6.tar.gz
  PyXB-unbundle-six.patch

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

Other differences:
------------------
++++++ python-pyxb.spec ++++++
--- /var/tmp/diff_new_pack.G9bKYP/_old  2018-08-31 10:43:29.355134256 +0200
+++ /var/tmp/diff_new_pack.G9bKYP/_new  2018-08-31 10:43:29.359134260 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyxb
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,25 +17,25 @@
 
 
 %define realnam PyXB
-%if 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-%else
-BuildArch:      noarch
-%py_requires
-%endif
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pyxb
-Version:        1.2.4
+Version:        1.2.6
 Release:        0
 Summary:        Python class code generator based on XMLSchemas
 License:        Apache-2.0
-Group:          Development/Tools
-Url:            http://pyxb.sourceforge.net/
+Group:          Development/Languages/Python
+URL:            http://pyxb.sourceforge.net/
 Source0:        
http://downloads.sourceforge.net/pyxb/%{realnam}-%{version}.tar.gz
+Patch0:         PyXB-unbundle-six.patch
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module xml}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
-BuildRequires:  python-xml
+BuildRequires:  python-rpm-macros
+Requires:       python-six
 Requires:       python-xml
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildArch:      noarch
+%python_subpackages
 
 %description
 PyXB is a pure Python package that generates Python code for classes that 
correspond to data structures defined by XMLSchema.
@@ -43,24 +43,26 @@
 
 %prep
 %setup -q -n %{realnam}-%{version}
+%patch0 -p1
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%fdupes -s %{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-python setup.py test
+export LANG=en_US.UTF-8
+%python_exec setup.py test
 
-%files
-%defattr(-,root,root)
-%doc LICENSE NOTICE PKG-INFO README.txt
+%files %{python_files}
+%license LICENSE
+%doc NOTICE PKG-INFO README.txt
 %{python_sitelib}/pyxb/
 %{python_sitelib}/PyXB-%{version}-*.egg-info
-%{_bindir}/pyxbdump
-%{_bindir}/pyxbgen
-%{_bindir}/pyxbwsdl
+%python3_only %{_bindir}/pyxbdump
+%python3_only %{_bindir}/pyxbgen
+%python3_only %{_bindir}/pyxbwsdl
 
 %changelog

++++++ PyXB-1.2.4.tar.gz -> PyXB-1.2.6.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-pyxb/PyXB-1.2.4.tar.gz 
/work/SRC/openSUSE:Factory/.python-pyxb.new/PyXB-1.2.6.tar.gz differ: char 5, 
line 1

++++++ PyXB-unbundle-six.patch ++++++
++++ 1171 lines (skipped)


Reply via email to