Hello community,

here is the log from the commit of package python-ruamel.base for 
openSUSE:Factory checked in at 2019-07-21 11:29:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ruamel.base (Old)
 and      /work/SRC/openSUSE:Factory/.python-ruamel.base.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ruamel.base"

Sun Jul 21 11:29:10 2019 rev:3 rq:715643 version:1.0.0+post1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ruamel.base/python-ruamel.base.changes    
2017-04-26 21:43:51.106581950 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ruamel.base.new.4126/python-ruamel.base.changes
  2019-07-21 11:29:11.468829535 +0200
@@ -1,0 +2,8 @@
+Mon Jul 15 15:06:26 UTC 2019 - John Vandenberg <[email protected]>
+
+- Replace namespace nspkg.pth and --single-version-externally-managed
+  with a normal namespace __init__.py
+- Bumped version to 1.0.0+post1 due to incompatible namespace technique
+- Tidy spec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-ruamel.base.spec ++++++
--- /var/tmp/diff_new_pack.IiR7Xn/_old  2019-07-21 11:29:11.908829461 +0200
+++ /var/tmp/diff_new_pack.IiR7Xn/_new  2019-07-21 11:29:11.908829461 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ruamel.base
 #
-# 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,45 +12,49 @@
 # 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-%{**}}
 Name:           python-ruamel.base
-Version:        1.0.0
+Version:        1.0.0+post1
 Release:        0
 Summary:        Shared ruamel routines
 License:        MIT
 Group:          Development/Languages/Python
 Url:            https://bitbucket.org/ruamel/base
-Source:         
https://files.pythonhosted.org/packages/source/r/ruamel.base/ruamel.base-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/r/ruamel.base/ruamel.base-1.0.0.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 %python_subpackages
 
 %description
-Shared code for ruamel implementations
+This is a common package for the "ruamel" namespace.
 
 %prep
-%setup -q -n ruamel.base-%{version}
+%setup -q -n ruamel.base-1.0.0
 rm -rf *.egg-info
+# https://bitbucket.org/ruamel/base/issues/1
+sed -i '/sys.exit/d' setup.py
+# Use normal namespaces with a __init__.py, so it is easier to
+# managed the ordereddict and yaml packages which also include .so files
+sed -i '/namespace_packages=/d' setup.py
 
 %build
 %python_build
 
 %install
-%python_install --single-version-externally-managed
+export RUAMEL_NO_PIP_INSTALL_CHECK=1
+%python_install
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
+%doc README.rst
+%license LICENSE
 %{python_sitelib}/ruamel
-%{python_sitelib}/ruamel.base-%{version}-py%{python_version}-nspkg.pth
-%{python_sitelib}/ruamel.base-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/ruamel.base-1.0.0-py%{python_version}.egg-info
 
 %changelog


Reply via email to