14
0
Files
python-cssutils/python-cssutils.spec

75 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package python-cssutils
#
# Copyright (c) 2025 SUSE LLC
#
# 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/
#
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-cssutils
Version: 2.11.1
Release: 0
Summary: A CSS Cascading Style Sheets library for Python
License: LGPL-3.0-or-later
Group: Development/Languages/Python
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 base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
Accepting request 519965 from devel:languages:python:singlespec-staging - singlespec auto-conversion - 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 - update to version 1.0.1: * Fixed Python 3.5 compatibility - 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). - Require python-setuptools instead of distribute (upstreams merged) - Update to version 0.9.10: * No changelog provided - Remove BuildRequires: python-2to3, useless since included in main python devel package - Add Requires: python3; fix build for OpenSUSE <= 12.2 - Initial python3 support - Update to version 9.9.9: * No changelog provided - Obsolete/Provide python-cssutils-doc - Update to version 0.9.8a3: * No HTML docs anymore - Spec file cleanup - Update to version 0.9.8a1 * BUGFIX: fixes issue #41, #42, #45, #46 - Update to 0.9.7b4 * improves parsing of MS specific (and probably invalid!) values - Make package own the documentation subdir. - Mark documentation as such. - update to 0.9.7b3 - several changes (see CHANGELOG.txt), just random picks: * Massive speed improvement of handling of CSSVariables of a stylesheet * CSSFunction value parameters may contain HASH values like ``#fff`` now * Changed parameters of script/utility function ``csscombine``. - sphinx conf no longer provided - Update to 0.9.7a4 - cleanup spec file - api changes: * CSSRule values changed: NAMESPACE_RULE, COMMENT, VARIABLES_RULE * CSSStyleSheet.setSerializer and CSSStyleSheet.setSerializerPref DEPRECATED - compliance to http://dev.w3.org/csswg/cssom improved. - new features: * Started CSS Variables <http://disruptive-innovations.com/zoo/cssvariables/> * added cssutils.css.CSSStyleSheet.variables * cssutils.ser.prefs.resolveVariables switchable * cssutils.ser.prefs.normalizedVarNames switchable * Added new options to cssutils.script.csscombine: cssText=None, href=None * Added CSSRuleList.rulesOfType(type) - Update to 0.9.7a3 as needed for FATE#309541 - Added build requirement for python-sphinx - Added patch for copy.py (sphinx documentation) - Rebuild HTML documentation with sphinx - Better separate documentation package from main package - Initial package. OBS-URL: https://build.opensuse.org/request/show/519965 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssutils?expand=0&rev=44
2017-09-01 14:31:41 +00:00
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes
Accepting request 519965 from devel:languages:python:singlespec-staging - singlespec auto-conversion - 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 - update to version 1.0.1: * Fixed Python 3.5 compatibility - 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). - Require python-setuptools instead of distribute (upstreams merged) - Update to version 0.9.10: * No changelog provided - Remove BuildRequires: python-2to3, useless since included in main python devel package - Add Requires: python3; fix build for OpenSUSE <= 12.2 - Initial python3 support - Update to version 9.9.9: * No changelog provided - Obsolete/Provide python-cssutils-doc - Update to version 0.9.8a3: * No HTML docs anymore - Spec file cleanup - Update to version 0.9.8a1 * BUGFIX: fixes issue #41, #42, #45, #46 - Update to 0.9.7b4 * improves parsing of MS specific (and probably invalid!) values - Make package own the documentation subdir. - Mark documentation as such. - update to 0.9.7b3 - several changes (see CHANGELOG.txt), just random picks: * Massive speed improvement of handling of CSSVariables of a stylesheet * CSSFunction value parameters may contain HASH values like ``#fff`` now * Changed parameters of script/utility function ``csscombine``. - sphinx conf no longer provided - Update to 0.9.7a4 - cleanup spec file - api changes: * CSSRule values changed: NAMESPACE_RULE, COMMENT, VARIABLES_RULE * CSSStyleSheet.setSerializer and CSSStyleSheet.setSerializerPref DEPRECATED - compliance to http://dev.w3.org/csswg/cssom improved. - new features: * Started CSS Variables <http://disruptive-innovations.com/zoo/cssvariables/> * added cssutils.css.CSSStyleSheet.variables * cssutils.ser.prefs.resolveVariables switchable * cssutils.ser.prefs.normalizedVarNames switchable * Added new options to cssutils.script.csscombine: cssText=None, href=None * Added CSSRuleList.rulesOfType(type) - Update to 0.9.7a3 as needed for FATE#309541 - Added build requirement for python-sphinx - Added patch for copy.py (sphinx documentation) - Rebuild HTML documentation with sphinx - Better separate documentation package from main package - Initial package. OBS-URL: https://build.opensuse.org/request/show/519965 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssutils?expand=0&rev=44
2017-09-01 14:31:41 +00:00
BuildRequires: python-rpm-macros
Requires: alts
Requires: python-more-itertools
BuildArch: noarch
Accepting request 519965 from devel:languages:python:singlespec-staging - singlespec auto-conversion - 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 - update to version 1.0.1: * Fixed Python 3.5 compatibility - 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). - Require python-setuptools instead of distribute (upstreams merged) - Update to version 0.9.10: * No changelog provided - Remove BuildRequires: python-2to3, useless since included in main python devel package - Add Requires: python3; fix build for OpenSUSE <= 12.2 - Initial python3 support - Update to version 9.9.9: * No changelog provided - Obsolete/Provide python-cssutils-doc - Update to version 0.9.8a3: * No HTML docs anymore - Spec file cleanup - Update to version 0.9.8a1 * BUGFIX: fixes issue #41, #42, #45, #46 - Update to 0.9.7b4 * improves parsing of MS specific (and probably invalid!) values - Make package own the documentation subdir. - Mark documentation as such. - update to 0.9.7b3 - several changes (see CHANGELOG.txt), just random picks: * Massive speed improvement of handling of CSSVariables of a stylesheet * CSSFunction value parameters may contain HASH values like ``#fff`` now * Changed parameters of script/utility function ``csscombine``. - sphinx conf no longer provided - Update to 0.9.7a4 - cleanup spec file - api changes: * CSSRule values changed: NAMESPACE_RULE, COMMENT, VARIABLES_RULE * CSSStyleSheet.setSerializer and CSSStyleSheet.setSerializerPref DEPRECATED - compliance to http://dev.w3.org/csswg/cssom improved. - new features: * Started CSS Variables <http://disruptive-innovations.com/zoo/cssvariables/> * added cssutils.css.CSSStyleSheet.variables * cssutils.ser.prefs.resolveVariables switchable * cssutils.ser.prefs.normalizedVarNames switchable * Added new options to cssutils.script.csscombine: cssText=None, href=None * Added CSSRuleList.rulesOfType(type) - Update to 0.9.7a3 as needed for FATE#309541 - Added build requirement for python-sphinx - Added patch for copy.py (sphinx documentation) - Rebuild HTML documentation with sphinx - Better separate documentation package from main package - Initial package. OBS-URL: https://build.opensuse.org/request/show/519965 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssutils?expand=0&rev=44
2017-09-01 14:31:41 +00:00
%python_subpackages
%description
A Python package to parse and build CSS Cascading Style Sheets. DOM only, not any rendering facilities!
%prep
%setup -q -n cssutils-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
Accepting request 519965 from devel:languages:python:singlespec-staging - singlespec auto-conversion - 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 - update to version 1.0.1: * Fixed Python 3.5 compatibility - 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). - Require python-setuptools instead of distribute (upstreams merged) - Update to version 0.9.10: * No changelog provided - Remove BuildRequires: python-2to3, useless since included in main python devel package - Add Requires: python3; fix build for OpenSUSE <= 12.2 - Initial python3 support - Update to version 9.9.9: * No changelog provided - Obsolete/Provide python-cssutils-doc - Update to version 0.9.8a3: * No HTML docs anymore - Spec file cleanup - Update to version 0.9.8a1 * BUGFIX: fixes issue #41, #42, #45, #46 - Update to 0.9.7b4 * improves parsing of MS specific (and probably invalid!) values - Make package own the documentation subdir. - Mark documentation as such. - update to 0.9.7b3 - several changes (see CHANGELOG.txt), just random picks: * Massive speed improvement of handling of CSSVariables of a stylesheet * CSSFunction value parameters may contain HASH values like ``#fff`` now * Changed parameters of script/utility function ``csscombine``. - sphinx conf no longer provided - Update to 0.9.7a4 - cleanup spec file - api changes: * CSSRule values changed: NAMESPACE_RULE, COMMENT, VARIABLES_RULE * CSSStyleSheet.setSerializer and CSSStyleSheet.setSerializerPref DEPRECATED - compliance to http://dev.w3.org/csswg/cssom improved. - new features: * Started CSS Variables <http://disruptive-innovations.com/zoo/cssvariables/> * added cssutils.css.CSSStyleSheet.variables * cssutils.ser.prefs.resolveVariables switchable * cssutils.ser.prefs.normalizedVarNames switchable * Added new options to cssutils.script.csscombine: cssText=None, href=None * Added CSSRuleList.rulesOfType(type) - Update to 0.9.7a3 as needed for FATE#309541 - Added build requirement for python-sphinx - Added patch for copy.py (sphinx documentation) - Rebuild HTML documentation with sphinx - Better separate documentation package from main package - Initial package. OBS-URL: https://build.opensuse.org/request/show/519965 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssutils?expand=0&rev=44
2017-09-01 14:31:41 +00:00
%python_clone -a %{buildroot}%{_bindir}/csscapture
%python_clone -a %{buildroot}%{_bindir}/csscombine
%python_clone -a %{buildroot}%{_bindir}/cssparse
%python_group_libalternatives csscapture csscombine cssparse
Accepting request 519965 from devel:languages:python:singlespec-staging - singlespec auto-conversion - 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 - update to version 1.0.1: * Fixed Python 3.5 compatibility - 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). - Require python-setuptools instead of distribute (upstreams merged) - Update to version 0.9.10: * No changelog provided - Remove BuildRequires: python-2to3, useless since included in main python devel package - Add Requires: python3; fix build for OpenSUSE <= 12.2 - Initial python3 support - Update to version 9.9.9: * No changelog provided - Obsolete/Provide python-cssutils-doc - Update to version 0.9.8a3: * No HTML docs anymore - Spec file cleanup - Update to version 0.9.8a1 * BUGFIX: fixes issue #41, #42, #45, #46 - Update to 0.9.7b4 * improves parsing of MS specific (and probably invalid!) values - Make package own the documentation subdir. - Mark documentation as such. - update to 0.9.7b3 - several changes (see CHANGELOG.txt), just random picks: * Massive speed improvement of handling of CSSVariables of a stylesheet * CSSFunction value parameters may contain HASH values like ``#fff`` now * Changed parameters of script/utility function ``csscombine``. - sphinx conf no longer provided - Update to 0.9.7a4 - cleanup spec file - api changes: * CSSRule values changed: NAMESPACE_RULE, COMMENT, VARIABLES_RULE * CSSStyleSheet.setSerializer and CSSStyleSheet.setSerializerPref DEPRECATED - compliance to http://dev.w3.org/csswg/cssom improved. - new features: * Started CSS Variables <http://disruptive-innovations.com/zoo/cssvariables/> * added cssutils.css.CSSStyleSheet.variables * cssutils.ser.prefs.resolveVariables switchable * cssutils.ser.prefs.normalizedVarNames switchable * Added new options to cssutils.script.csscombine: cssText=None, href=None * Added CSSRuleList.rulesOfType(type) - Update to 0.9.7a3 as needed for FATE#309541 - Added build requirement for python-sphinx - Added patch for copy.py (sphinx documentation) - Rebuild HTML documentation with sphinx - Better separate documentation package from main package - Initial package. OBS-URL: https://build.opensuse.org/request/show/519965 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssutils?expand=0&rev=44
2017-09-01 14:31:41 +00:00
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
%pre
%python_libalternatives_reset_alternative csscapture
Accepting request 519965 from devel:languages:python:singlespec-staging - singlespec auto-conversion - 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 - update to version 1.0.1: * Fixed Python 3.5 compatibility - 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). - Require python-setuptools instead of distribute (upstreams merged) - Update to version 0.9.10: * No changelog provided - Remove BuildRequires: python-2to3, useless since included in main python devel package - Add Requires: python3; fix build for OpenSUSE <= 12.2 - Initial python3 support - Update to version 9.9.9: * No changelog provided - Obsolete/Provide python-cssutils-doc - Update to version 0.9.8a3: * No HTML docs anymore - Spec file cleanup - Update to version 0.9.8a1 * BUGFIX: fixes issue #41, #42, #45, #46 - Update to 0.9.7b4 * improves parsing of MS specific (and probably invalid!) values - Make package own the documentation subdir. - Mark documentation as such. - update to 0.9.7b3 - several changes (see CHANGELOG.txt), just random picks: * Massive speed improvement of handling of CSSVariables of a stylesheet * CSSFunction value parameters may contain HASH values like ``#fff`` now * Changed parameters of script/utility function ``csscombine``. - sphinx conf no longer provided - Update to 0.9.7a4 - cleanup spec file - api changes: * CSSRule values changed: NAMESPACE_RULE, COMMENT, VARIABLES_RULE * CSSStyleSheet.setSerializer and CSSStyleSheet.setSerializerPref DEPRECATED - compliance to http://dev.w3.org/csswg/cssom improved. - new features: * Started CSS Variables <http://disruptive-innovations.com/zoo/cssvariables/> * added cssutils.css.CSSStyleSheet.variables * cssutils.ser.prefs.resolveVariables switchable * cssutils.ser.prefs.normalizedVarNames switchable * Added new options to cssutils.script.csscombine: cssText=None, href=None * Added CSSRuleList.rulesOfType(type) - Update to 0.9.7a3 as needed for FATE#309541 - Added build requirement for python-sphinx - Added patch for copy.py (sphinx documentation) - Rebuild HTML documentation with sphinx - Better separate documentation package from main package - Initial package. OBS-URL: https://build.opensuse.org/request/show/519965 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssutils?expand=0&rev=44
2017-09-01 14:31:41 +00:00
%files %{python_files}
%license LICENSE
%doc README.rst examples
Accepting request 519965 from devel:languages:python:singlespec-staging - singlespec auto-conversion - 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 - update to version 1.0.1: * Fixed Python 3.5 compatibility - 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). - Require python-setuptools instead of distribute (upstreams merged) - Update to version 0.9.10: * No changelog provided - Remove BuildRequires: python-2to3, useless since included in main python devel package - Add Requires: python3; fix build for OpenSUSE <= 12.2 - Initial python3 support - Update to version 9.9.9: * No changelog provided - Obsolete/Provide python-cssutils-doc - Update to version 0.9.8a3: * No HTML docs anymore - Spec file cleanup - Update to version 0.9.8a1 * BUGFIX: fixes issue #41, #42, #45, #46 - Update to 0.9.7b4 * improves parsing of MS specific (and probably invalid!) values - Make package own the documentation subdir. - Mark documentation as such. - update to 0.9.7b3 - several changes (see CHANGELOG.txt), just random picks: * Massive speed improvement of handling of CSSVariables of a stylesheet * CSSFunction value parameters may contain HASH values like ``#fff`` now * Changed parameters of script/utility function ``csscombine``. - sphinx conf no longer provided - Update to 0.9.7a4 - cleanup spec file - api changes: * CSSRule values changed: NAMESPACE_RULE, COMMENT, VARIABLES_RULE * CSSStyleSheet.setSerializer and CSSStyleSheet.setSerializerPref DEPRECATED - compliance to http://dev.w3.org/csswg/cssom improved. - new features: * Started CSS Variables <http://disruptive-innovations.com/zoo/cssvariables/> * added cssutils.css.CSSStyleSheet.variables * cssutils.ser.prefs.resolveVariables switchable * cssutils.ser.prefs.normalizedVarNames switchable * Added new options to cssutils.script.csscombine: cssText=None, href=None * Added CSSRuleList.rulesOfType(type) - Update to 0.9.7a3 as needed for FATE#309541 - Added build requirement for python-sphinx - Added patch for copy.py (sphinx documentation) - Rebuild HTML documentation with sphinx - Better separate documentation package from main package - Initial package. OBS-URL: https://build.opensuse.org/request/show/519965 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssutils?expand=0&rev=44
2017-09-01 14:31:41 +00:00
%python_alternative %{_bindir}/csscapture
%python_alternative %{_bindir}/csscombine
%python_alternative %{_bindir}/cssparse
%{python_sitelib}/cssutils-%{version}.dist-info
%{python_sitelib}/cssutils/
%{python_sitelib}/encutils/
%changelog