commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at 2018-12-13 19:42:13 Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old) and /work/SRC/openSUSE:Factory/.python-cssutils.new.28833 (New) Package is "python-cssutils" Thu Dec 13 19:42:13 2018 rev:31 rq:653999 version:1.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes 2017-09-05 15:15:49.464141352 +0200 +++ /work/SRC/openSUSE:Factory/.python-cssutils.new.28833/python-cssutils.changes 2018-12-13 19:42:14.517185214 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:47:04 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-cssutils.spec ++ --- /var/tmp/diff_new_pack.7E1Hnz/_old 2018-12-13 19:42:14.997184585 +0100 +++ /var/tmp/diff_new_pack.7E1Hnz/_new 2018-12-13 19:42:15.001184580 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cssutils # -# Copyright (c) 2017 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 @@ -12,7 +12,7 @@ # 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/ # @@ -22,20 +22,19 @@ Version:1.0.2 Release:0 Summary:A CSS Cascading Style Sheets library for Python -License:LGPL-3.0+ +License:LGPL-3.0-or-later Group: Development/Languages/Python -Url:http://cthedot.de/cssutils/ +URL:http://cthedot.de/cssutils/ Source: https://files.pythonhosted.org/packages/source/c/cssutils/cssutils-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %ifpython2 Provides: %{oldpython}-css-utils-doc = %{version} Obsoletes: %{oldpython}-css-utils-doc < %{version} %endif -Requires(post): update-alternatives -Requires(postun): update-alternatives %python_subpackages %description @@ -62,8 +61,8 @@ %python_uninstall_alternative csscapture %files %{python_files} -%defattr(-,root,root,-) -%doc COPYING COPYING.LESSER README.txt examples +%license COPYING COPYING.LESSER +%doc README.txt examples %python_alternative %{_bindir}/csscapture %python_alternative %{_bindir}/csscombine %python_alternative %{_bindir}/cssparse
commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at 2017-09-05 15:15:45 Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old) and /work/SRC/openSUSE:Factory/.python-cssutils.new (New) Package is "python-cssutils" Tue Sep 5 15:15:45 2017 rev:30 rq:520195 version:1.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes 2015-05-05 00:55:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python-cssutils.changes 2017-09-05 15:15:49.464141352 +0200 @@ -1,0 +2,23 @@ +Thu Aug 24 13:35:14 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +--- +Tue May 2 22:15:14 UTC 2017 - thorsten.behr...@cib.de + +- update to version 1.0.2: + * Fixed issue #61: Nesting of `@media` rules + * Fixed issue #51 and #56: Slow font-family regex + * Fixed issue #68: failing tests on Python 3 + * Fixed issue #69: our DOM implementation now delegates unsupported +methods + * Fixed issue #72: importing now faster since regexes are no longer +pre-cached on import time + +--- +Tue May 2 22:04:16 UTC 2017 - thorsten.behr...@cib.de + +- update to version 1.0.1: + * Fixed Python 3.5 compatibility + +--- @@ -123,0 +147 @@ + Old: cssutils-1.0.zip New: cssutils-1.0.2.tar.gz Other differences: -- ++ python-cssutils.spec ++ --- /var/tmp/diff_new_pack.YdZN0G/_old 2017-09-05 15:15:50.727963705 +0200 +++ /var/tmp/diff_new_pack.YdZN0G/_new 2017-09-05 15:15:50.727963705 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cssutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,25 +16,27 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-cssutils -Version:1.0 +Version:1.0.2 Release:0 -Url:http://cthedot.de/cssutils/ Summary:A CSS Cascading Style Sheets library for Python License:LGPL-3.0+ Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/c/cssutils/cssutils-%{version}.zip -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: unzip -Provides: python-css-utils-doc = %{version} -Obsoletes: python-css-utils-doc < %{version} -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +Url:http://cthedot.de/cssutils/ +Source: https://files.pythonhosted.org/packages/source/c/cssutils/cssutils-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros BuildArch: noarch +%ifpython2 +Provides: %{oldpython}-css-utils-doc = %{version} +Obsoletes: %{oldpython}-css-utils-doc < %{version} %endif +Requires(post): update-alternatives +Requires(postun): update-alternatives +%python_subpackages %description A Python package to parse and build CSS Cascading Style Sheets. DOM only, not any rendering facilities! @@ -45,15 +47,26 @@ 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 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_clone -a %{buildroot}%{_bindir}/csscapture +%python_clone -a %{buildroot}%{_bindir}/csscombine +%python_clone -a %{buildroot}%{_bindir}/cssparse + +%post +%{python_install_alternative csscapture csscombine cssparse} + +%postun +%python_uninstall_alternative csscapture -%files +%files %{python_files} %defattr(-,root,root,-) %doc COPYING COPYING.LESSER README.txt examples -%{_bindir}/css* +%python_alternative %{_bindir}/csscapture +%python_alternative %{_bindir}/csscombine +%python_alternative %{_bindir}/cssparse %{python_sitelib}/cssutils-%{version}-py*.egg-info/ %{python_sitelib}/cssutils/ %{python_sitelib}/encutils/
commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at 2015-05-05 00:55:54 Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old) and /work/SRC/openSUSE:Factory/.python-cssutils.new (New) Package is python-cssutils Changes: --- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes 2013-10-25 11:12:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python-cssutils.changes 2015-05-05 00:55:55.0 +0200 @@ -1,0 +2,24 @@ +Sat May 2 16:47:10 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 1.0: + * EXPERIMENTAL: Variable references may have a fallback value now +(as implemented in Firefox 29). It is available as +CSSVariable.fallback and example are: + * FEATURE: (issue #37) Implemented parsing of CSSCalc values. +General syntax is checked but not if operators in calc are +actually the right kind like DIMENSION * DIMENSION. Also Values +using calc do not validate in cssutils but are actually valid. + * FIXED issue #20 and #35 (Test fail CSSParser.parseUrl() error +with Python 3.3) + * FIXED issue #21: (almost all) deprecation warning in Py 3.3 +fixed. + * FIXED issue #30 (Test failed) + * FIXED issue #33 (well kinda): Added that cssutils is **not** +threadsafe! + * FIXED issue #34: More complext MediaQueries should be parsable +now. A few slight changes in behavior are: +- xml.dom.SyntaxErr raised instead of + xml.dom.InvalidCharacterErr for an unknown media type +- removed handheld media type special case (for old Opera). + +--- Old: cssutils-0.9.10.zip New: cssutils-1.0.zip Other differences: -- ++ python-cssutils.spec ++ --- /var/tmp/diff_new_pack.nOidjq/_old 2015-05-05 00:55:55.0 +0200 +++ /var/tmp/diff_new_pack.nOidjq/_new 2015-05-05 00:55:55.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cssutils # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,7 +17,7 @@ Name: python-cssutils -Version:0.9.10 +Version:1.0 Release:0 Url:http://cthedot.de/cssutils/ Summary:A CSS Cascading Style Sheets library for Python
commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at 2013-10-25 11:12:54 Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old) and /work/SRC/openSUSE:Factory/.python-cssutils.new (New) Package is python-cssutils Changes: --- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes 2013-04-17 23:16:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python-cssutils.changes 2013-10-25 11:12:55.0 +0200 @@ -1,0 +2,5 @@ +Thu Oct 24 11:00:55 UTC 2013 - speili...@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +--- Other differences: -- ++ python-cssutils.spec ++ --- /var/tmp/diff_new_pack.DITWOj/_old 2013-10-25 11:12:56.0 +0200 +++ /var/tmp/diff_new_pack.DITWOj/_new 2013-10-25 11:12:56.0 +0200 @@ -26,7 +26,7 @@ Source: http://pypi.python.org/packages/source/c/cssutils/cssutils-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-distribute +BuildRequires: python-setuptools BuildRequires: unzip Provides: python-css-utils-doc = %{version} Obsoletes: python-css-utils-doc %{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at 2013-06-19 16:27:53 Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old) and /work/SRC/openSUSE:Factory/.python-cssutils.new (New) Package is python-cssutils Changes: Old: python3-cssutils.changes python3-cssutils.spec Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at 2013-04-17 23:16:50 Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old) and /work/SRC/openSUSE:Factory/.python-cssutils.new (New) Package is python-cssutils, Maintainer is p...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes 2013-01-17 09:57:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python-cssutils.changes 2013-04-17 23:16:52.0 +0200 @@ -1,0 +2,13 @@ +Wed Apr 17 13:34:47 UTC 2013 - toddrme2...@gmail.com + +- Update to version 0.9.10: + * No changelog provided + +--- +Tue Apr 16 15:30:10 UTC 2013 - p.drou...@gmail.com + +- Remove BuildRequires: python-2to3, useless since included in main + python devel package +- Add Requires: python3; fix build for OpenSUSE = 12.2 + +--- --- /work/SRC/openSUSE:Factory/python-cssutils/python3-cssutils.changes 2013-01-17 09:57:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python3-cssutils.changes 2013-04-17 23:16:52.0 +0200 @@ -1,0 +2,19 @@ +Wed Apr 17 13:34:47 UTC 2013 - toddrme2...@gmail.com + +- Update to version 0.9.10: + * No changelog provided +- Re-added python-2to3 since it is needed for openSUSE = 12.2 + +--- +Tue Apr 16 15:30:10 UTC 2013 - p.drou...@gmail.com + +- Remove BuildRequires: python-2to3, useless since included in main + python devel package +- Add Requires: python3; fix build for OpenSUSE = 12.2 + +--- +Wed Jan 30 11:26:57 UTC 2013 - sasc...@suse.de + +- BuildRequire python-2to3 for 12.1 and 12.2 + +--- Old: cssutils-0.9.9.zip New: cssutils-0.9.10.zip Other differences: -- ++ python-cssutils.spec ++ --- /var/tmp/diff_new_pack.9RZUMN/_old 2013-04-17 23:16:57.0 +0200 +++ /var/tmp/diff_new_pack.9RZUMN/_new 2013-04-17 23:16:57.0 +0200 @@ -17,7 +17,7 @@ Name: python-cssutils -Version:0.9.9 +Version:0.9.10 Release:0 Url:http://cthedot.de/cssutils/ Summary:A CSS Cascading Style Sheets library for Python @@ -54,6 +54,8 @@ %defattr(-,root,root,-) %doc COPYING COPYING.LESSER README.txt examples %{_bindir}/css* -%{python_sitelib}/* +%{python_sitelib}/cssutils-%{version}-py*.egg-info/ +%{python_sitelib}/cssutils/ +%{python_sitelib}/encutils/ %changelog ++ python3-cssutils.spec ++ --- /var/tmp/diff_new_pack.9RZUMN/_old 2013-04-17 23:16:57.0 +0200 +++ /var/tmp/diff_new_pack.9RZUMN/_new 2013-04-17 23:16:57.0 +0200 @@ -17,7 +17,7 @@ Name: python3-cssutils -Version:0.9.9 +Version:0.9.10 Release:0 Url:http://cthedot.de/cssutils/ Summary:A CSS Cascading Style Sheets library for Python @@ -26,9 +26,12 @@ Source: http://pypi.python.org/packages/source/c/cssutils/cssutils-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 +# this is needed for openSUSE = 12.2 +BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute BuildRequires: unzip +Requires: python3 BuildArch: noarch %description @@ -53,6 +56,8 @@ %defattr(-,root,root,-) %doc COPYING COPYING.LESSER README.txt examples %{_bindir}/css* -%{python3_sitelib}/* +%{python3_sitelib}/cssutils-%{version}-py*.egg-info/ +%{python3_sitelib}/cssutils/ +%{python3_sitelib}/encutils/ %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at 2013-01-17 09:57:50 Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old) and /work/SRC/openSUSE:Factory/.python-cssutils.new (New) Package is python-cssutils, Maintainer is p...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes 2012-03-13 09:38:34.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python-cssutils.changes 2013-01-17 09:57:52.0 +0100 @@ -1,0 +2,5 @@ +Fri Jan 11 16:55:32 UTC 2013 - p.drou...@gmail.com + +- Initial python3 support + +--- New Changes file: --- /dev/null 2013-01-09 19:40:42.352580873 +0100 +++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python3-cssutils.changes 2013-01-17 09:57:52.0 +0100 @@ -0,0 +1,5 @@ +--- +Fri Jan 11 16:55:46 UTC 2013 - p.drou...@gmail.com + +- Initial python3 support + New: python3-cssutils.changes python3-cssutils.spec Other differences: -- ++ python-cssutils.spec ++ --- /var/tmp/diff_new_pack.Cjtl3E/_old 2013-01-17 09:57:52.0 +0100 +++ /var/tmp/diff_new_pack.Cjtl3E/_new 2013-01-17 09:57:52.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cssutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ python3-cssutils.spec ++ # # spec file for package python3-cssutils # # Copyright (c) 2013 SUSE LINUX Products 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 http://bugs.opensuse.org/ # Name: python3-cssutils Version:0.9.9 Release:0 Url:http://cthedot.de/cssutils/ Summary:A CSS Cascading Style Sheets library for Python License:LGPL-3.0+ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/c/cssutils/cssutils-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 BuildRequires: python3-devel BuildRequires: python3-distribute BuildRequires: unzip BuildArch: noarch %description A Python package to parse and build CSS Cascading Style Sheets. DOM only, not any rendering facilities! %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 %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} # remove or move files that conflict with python 2.x mv %{buildroot}%{_bindir}/csscapture %{buildroot}%{_bindir}/csscapture-%{py3_ver} mv %{buildroot}%{_bindir}/csscombine %{buildroot}%{_bindir}/csscombine-%{py3_ver} mv %{buildroot}%{_bindir}/cssparse %{buildroot}%{_bindir}/cssparse-%{py3_ver} %files %defattr(-,root,root,-) %doc COPYING COPYING.LESSER README.txt examples %{_bindir}/css* %{python3_sitelib}/* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at 2012-03-13 09:38:32 Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old) and /work/SRC/openSUSE:Factory/.python-cssutils.new (New) Package is python-cssutils, Maintainer is p...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes 2011-09-23 12:42:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python-cssutils.changes 2012-03-13 09:38:34.0 +0100 @@ -1,0 +2,6 @@ +Mon Mar 12 20:48:16 UTC 2012 - sasc...@gmx.de + +- Update to version 9.9.9: + * No changelog provided + +--- Old: cssutils-0.9.8a3.zip New: cssutils-0.9.9.zip Other differences: -- ++ python-cssutils.spec ++ --- /var/tmp/diff_new_pack.20QrCH/_old 2012-03-13 09:38:36.0 +0100 +++ /var/tmp/diff_new_pack.20QrCH/_new 2012-03-13 09:38:36.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cssutils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,9 @@ # - Name: python-cssutils -Version:0.9.8a3 -Release:1 +Version:0.9.9 +Release:0 Url:http://cthedot.de/cssutils/ Summary:A CSS Cascading Style Sheets library for Python License:LGPL-3.0+ @@ -29,15 +28,13 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: unzip -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} 1110 -BuildArch: noarch -%endif -%endif Provides: python-css-utils-doc = %{version} Obsoletes: python-css-utils-doc %{version} -%{!?python_sitelib: %global python_sitelib %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib())} +%if 0%{?suse_version} 0%{?suse_version} = 1110 +%{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print get_python_lib())} +%else +BuildArch: noarch +%endif %description A Python package to parse and build CSS Cascading Style Sheets. DOM only, not any rendering facilities! -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at Wed Sep 21 17:18:47 CEST 2011. --- python-cssutils/python-cssutils.changes 2011-09-02 11:35:26.0 +0200 +++ /mounts/work_src_done/STABLE/python-cssutils/python-cssutils.changes 2011-09-07 16:43:35.0 +0200 @@ -1,0 +2,5 @@ +Wed Sep 7 14:35:28 UTC 2011 - sasc...@suse.de + +- Obsolete/Provide python-cssutils-doc + +--- calling whatdependson for head-i586 Other differences: -- ++ python-cssutils.spec ++ --- /var/tmp/diff_new_pack.FntNO2/_old 2011-09-21 17:18:40.0 +0200 +++ /var/tmp/diff_new_pack.FntNO2/_new 2011-09-21 17:18:40.0 +0200 @@ -35,6 +35,8 @@ BuildArch: noarch %endif %endif +Provides: python-css-utils-doc = %{version} +Obsoletes: python-css-utils-doc %{version} %{!?python_sitelib: %global python_sitelib %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib())} %description Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-cssutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-cssutils for openSUSE:Factory checked in at Mon Sep 5 16:55:19 CEST 2011. --- python-cssutils/python-cssutils.changes 2011-01-11 14:17:03.0 +0100 +++ python-cssutils/python-cssutils.changes 2011-09-02 11:35:26.0 +0200 @@ -1,0 +2,7 @@ +Fri Sep 2 09:33:05 UTC 2011 - sasc...@suse.de + +- Update to version 0.9.8a3: + * No HTML docs anymore +- Spec file cleanup + +--- calling whatdependson for head-i586 Old: cssutils-0.9.8a1.zip New: cssutils-0.9.8a3.zip Other differences: -- ++ python-cssutils.spec ++ --- /var/tmp/diff_new_pack.vS1Zqc/_old 2011-09-05 16:48:22.0 +0200 +++ /var/tmp/diff_new_pack.vS1Zqc/_new 2011-09-05 16:48:22.0 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-cssutils (Version 0.9.8a1) +# spec file for package python-cssutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,76 +15,46 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: python-cssutils -Version:0.9.8a1 +Version:0.9.8a3 Release:1 -Summary:Cascading Style Sheets (CSS) parser and library for Python -Source: http://cssutils.googlecode.com/files/cssutils-%{version}.zip -Url:http://cthedot.de/cssutils -Group: Development/Libraries/Python -License:LGPLv3+ +Url:http://cthedot.de/cssutils/ +Summary:A CSS Cascading Style Sheets library for Python +License:LGPL-3.0+ +Group: Development/Languages/Python +Source: http://pypi.python.org/packages/source/c/cssutils/cssutils-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} = 1120 -BuildArch: noarch -%endif +BuildRequires: python-devel +BuildRequires: python-distribute BuildRequires: unzip -BuildRequires: dos2unix python-devel python-setuptools = 0.6 -BuildRequires: python-xml -# Needed for unittests: -BuildRequires: python-chardet python-minimock +%if 0%{?suse_version} %py_requires -Recommends: %{name}-doc = %{version} +%if 0%{?suse_version} 1110 +BuildArch: noarch +%endif +%endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib())} %description -A Python package to parse and build CSS Cascading Style Sheets. -Currently a DOM only, no rendering options. - -%package doc -License:LGPLv3+ -Summary:Documentation and examples for cssutils -Group: Development/Libraries/Perl - -%description doc -HTML and TeX documentation for cssutils as well as examples of how to use them. +A Python package to parse and build CSS Cascading Style Sheets. DOM only, not any rendering facilities! %prep %setup -q -n cssutils-%{version} -find . -type f -print0 | xargs -0 dos2unix -find . -type f -name \*.py -print0 | xargs -0 sed -i -e 's,/usr/bin/env python,/usr/bin/python,' +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 %build -export CFLAGS=%{optflags} -python ./setup.py build +python setup.py build %install -python ./setup.py install \ - --prefix=%{_prefix} \ - --root=%{buildroot} \ - --record-rpm=%{name}.files - -# Remove any remaining files from sphinx: -rm -rf docs/html/.doctrees -rm -rf docs/html/.buildinfo - -mkdir -p %{buildroot}%{_defaultdocdir}/%{name} -cp -av docs/html %{buildroot}%{_defaultdocdir}/%{name} -cp -av CHANGELOG.txt COPYING COPYING.LESSER README.txt %{buildroot}%{_defaultdocdir}/%{name} - -%clean -rm -rf %{buildroot} - -%files -f %{name}.files -%defattr(-,root,root) -%dir %{_defaultdocdir}/%{name} -%doc %{_defaultdocdir}/%{name}/*.txt -%doc %{_defaultdocdir}/%{name}/COPYING* - -%files doc -%defattr(-,root,root) -%dir %{_defaultdocdir}/%{name}/html -%doc %{_defaultdocdir}/%{name}/html +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc COPYING COPYING.LESSER README.txt examples +%{_bindir}/css* +%{python_sitelib}/* %changelog Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org