Hello community,
here is the log from the commit of package python-backports for
openSUSE:Factory checked in at 2019-01-08 14:23:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 14:23:30 2019 rev:1 rq:663695 version:1.0.0
Changes:
--------
New Changes file:
--- /dev/null 2018-10-29 14:05:42.522318975 +0100
+++
/work/SRC/openSUSE:Factory/.python-backports.new.28833/python-backports.changes
2019-01-08 14:23:31.307778895 +0100
@@ -0,0 +1,20 @@
+-------------------------------------------------------------------
+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
+
+-------------------------------------------------------------------
+Sat Jul 15 15:30:44 UTC 2017 - [email protected]
+
+- build fixes for SLE_12*
+
+-------------------------------------------------------------------
+Fri Jul 14 14:26:02 UTC 2017 - [email protected]
+
+- Implement as seperate package.
+
New:
----
__init__.py
python-backports.changes
python-backports.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-backports.spec ++++++
#
# spec file for package python-backports
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-backports
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/
Source0: __init__.py
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
This is a common package that backports using the "backports" namespace
must depend on to avoid conflicts. You shouldn't install this directly,
packages that require this will pultll it in automatically.
Please see these links for more details:
https://pypi.python.org/pypi/backports/
https://www.python.org/dev/peps/pep-0420/\%%23namespace-packages-today
If your package provides a module in the %%{python_sitelib}/backports
folder, please depend on this and delete any existing
%%{python_sitelib}/backports/__init__.py file provided by that package.
configparser.
%prep
# Not needed
%build
# Not needed
%install
%{python_expand mkdir -p %{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
%endif
%fdupes %{buildroot}%{$python_sitelib}
}
%files %{python_files}
%defattr(-,root,root,-)
%dir %{python_sitelib}/backports/
%{python_sitelib}/backports/__init__.py*
%if 0%{?suse_version} >= 1320
%pycache_only %dir %{python_sitelib}/backports/__pycache__/
%pycache_only %{python_sitelib}/backports/__pycache__/__init__.*py*
%endif
%changelog
++++++ __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