Hello community, here is the log from the commit of package python-backports for openSUSE:Factory checked in at 2019-01-08 12:17:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-backports (Old) and /work/SRC/openSUSE:Factory/.python-backports.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-backports" Tue Jan 8 12:17:25 2019 rev:2 rq:663340 version:unknown Changes: -------- New Changes file: NO CHANGES FILE!!! New: ---- __init__.py project.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ __init__.py ++++++ # A Python "namespace package" http://www.python.org/dev/peps/pep-0382/ # This always goes inside of a namespace package's __init__.py from pkgutil import extend_path __path__ = extend_path(__path__, __name__) try: import pkg_resources pkg_resources.declare_namespace(__name__) except ImportError: pass ++++++ _link ++++++ --- /var/tmp/diff_new_pack.CwMCSu/_old 2019-01-08 12:17:26.392984108 +0100 +++ /var/tmp/diff_new_pack.CwMCSu/_new 2019-01-08 12:17:26.396984104 +0100 @@ -1 +1,8 @@ -<link package="python-configparser2" cicount="copy" /> \ No newline at end of file +<link package="python-configparser2" cicount="copy" baserev="8e7ce139b14a4699a96d000df1aadd24"> + <patches> + <delete name="configparser2-4.0.0.tar.gz" /> + <delete name="python-configparser2.changes" /> + <delete name="python-configparser2.spec" /> + <apply name="project.diff" /> + </patches> +</link> ++++++ project.diff ++++++ --- python-backports.changes.orig +++ python-backports.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Jan 7 12:40:00 CET 2019 - [email protected] + +- Separate python-backports into separate package version 1.0.0 + +------------------------------------------------------------------- Tue Dec 4 13:02:58 UTC 2018 - Matej Cepl <[email protected]> - Remove superfluous devel dependency for noarch package --- python-backports.spec.orig +++ python-backports.spec @@ -1,7 +1,7 @@ # # spec file for package python-backports # -# Copyright (c) 2018 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 @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-backports -Version: 4.0.0 +Version: 1.0.0 Release: 0 Summary: Namespace for backported Python features License: MIT Group: Development/Languages/Python Url: https://pypi.python.org/pypi/backports/ -Source: https://files.pythonhosted.org/packages/source/c/configparser2/configparser2-%{version}.tar.gz +Source0: __init__.py BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -46,14 +46,14 @@ folder, please depend on this and delete configparser. %prep -%setup -q -n configparser2-%{version} +# Not needed %build # Not needed %install %{python_expand mkdir -p %{buildroot}%{$python_sitelib}/backports/ -cp src/backports/__init__.py %{buildroot}%{$python_sitelib}/backports/ +cp %{SOURCE0} %{buildroot}%{$python_sitelib}/backports/ %if 0%{?suse_version} >= 1320 $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/backports/__init__.py $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/backports/__init__.py
