Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cssutils for openSUSE:Factory
checked in at 2022-09-14 13:45:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old)
and /work/SRC/openSUSE:Factory/.python-cssutils.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cssutils"
Wed Sep 14 13:45:14 2022 rev:32 rq:1003467 version:2.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes
2018-12-13 19:42:14.517185214 +0100
+++
/work/SRC/openSUSE:Factory/.python-cssutils.new.2083/python-cssutils.changes
2022-09-14 13:45:28.133967781 +0200
@@ -1,0 +2,13 @@
+Fri Sep 9 08:34:38 UTC 2022 - Atri Bhattacharya <[email protected]>
+
+- Update to version 2.0.6:
+ * [gh#jaraco/cssutils#14] Added support for custom CSS
+ variables with -- prefix.
+- Generate a basic setup.py file in-place to use with
+ %%python_setup; upstream no longer supplies one.
+- Use fdupes to link duplicate files.
+- Add %{name}.rpmlintrc file to suppress errors about zero-length
+ files which are nevertheless required.
+- Update URL to new upstream home.
+
+-------------------------------------------------------------------
Old:
----
cssutils-1.0.2.tar.gz
New:
----
cssutils-2.6.0.tar.gz
python-cssutils.rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cssutils.spec ++++++
--- /var/tmp/diff_new_pack.hjYWlO/_old 2022-09-14 13:45:28.657969101 +0200
+++ /var/tmp/diff_new_pack.hjYWlO/_new 2022-09-14 13:45:28.661969111 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cssutils
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define oldpython python
Name: python-cssutils
-Version: 1.0.2
+Version: 2.6.0
Release: 0
Summary: A CSS Cascading Style Sheets library for Python
License: LGPL-3.0-or-later
Group: Development/Languages/Python
-URL: http://cthedot.de/cssutils/
-Source:
https://files.pythonhosted.org/packages/source/c/cssutils/cssutils-%{version}.tar.gz
+URL: https://github.com/jaraco/cssutils
+Source0:
https://files.pythonhosted.org/packages/source/c/cssutils/cssutils-%{version}.tar.gz
+Source1: %{name}.rpmlintrc
+BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
-%ifpython2
-Provides: %{oldpython}-css-utils-doc = %{version}
-Obsoletes: %{oldpython}-css-utils-doc < %{version}
-%endif
%python_subpackages
%description
@@ -42,8 +40,16 @@
%prep
%setup -q -n cssutils-%{version}
-sed -i "1d"
src/cssutils/{parse,codec,sac,serialize,scripts/csscapture,_codec2,errorhandler,scripts/cssparse,_codec3,scripts/csscombine,tokenize2,__init__}.py
# Fix non-executable scripts
-sed -i "s/\r//" src/cssutils/{sac,scripts/csscombine,tokenize2}.py COPYING
COPYING.LESSER
examples/{website,minify,imports,cssencodings,style,testutil,codec}.py # Fix
EOL encodings
+
+# SECTION Generate a basic setup.py as upstream only supplies setup.cfg
+cat << EOF > setup.py
+import setuptools
+
+if __name__ == "__main__":
+ setuptools.setup()
+
+EOF
+# /SECTION
%build
%python_build
@@ -54,6 +60,8 @@
%python_clone -a %{buildroot}%{_bindir}/csscombine
%python_clone -a %{buildroot}%{_bindir}/cssparse
+%python_expand %fdupes %{buildroot}%{$python_sitelib}/
+
%post
%{python_install_alternative csscapture csscombine cssparse}
@@ -62,11 +70,11 @@
%files %{python_files}
%license COPYING COPYING.LESSER
-%doc README.txt examples
+%doc README.rst examples
%python_alternative %{_bindir}/csscapture
%python_alternative %{_bindir}/csscombine
%python_alternative %{_bindir}/cssparse
-%{python_sitelib}/cssutils-%{version}-py*.egg-info/
+%{python_sitelib}/cssutils-%{version}-py%{python_version}.egg-info/
%{python_sitelib}/cssutils/
%{python_sitelib}/encutils/
++++++ cssutils-1.0.2.tar.gz -> cssutils-2.6.0.tar.gz ++++++
++++ 115702 lines of diff (skipped)
++++++ python-cssutils.rpmlintrc ++++++
# We need to keep these zero-length place-holder files for the examples to work
addFilter("zero-length")