commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2020-04-19 21:48:52 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.2738 (New) Package is "python-docutils" Sun Apr 19 21:48:52 2020 rev:30 rq:791944 version:0.16 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2020-01-16 18:16:04.956799745 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.2738/python-docutils.changes 2020-04-19 21:48:55.504015193 +0200 @@ -1,0 +2,16 @@ +Tue Apr 7 09:31:55 UTC 2020 - Tomáš Chvátal + +- Fix the condition to really generate the direct binaries + +--- +Mon Apr 6 15:57:17 UTC 2020 - Matej Cepl + +- Remove %python3_only and use full alternatives. + +--- +Sat Mar 14 09:56:02 UTC 2020 - Tomáš Chvátal + +- Add patch to fix build with pygments 2.4 and newer: + * pygments25.patch + +--- New: pygments25.patch Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.vgzvw4/_old 2020-04-19 21:48:56.216016621 +0200 +++ /var/tmp/diff_new_pack.vgzvw4/_new 2020-04-19 21:48:56.220016629 +0200 @@ -30,10 +30,10 @@ Release:0 Summary:Python Documentation Utilities License:Python-2.0 AND BSD-2-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND SUSE-Public-Domain -Group: Development/Languages/Python URL:https://pypi.python.org/pypi/docutils/ Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz Source99: python-docutils-rpmlintrc +Patch0: pygments25.patch BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} BuildRequires: fdupes @@ -63,6 +63,7 @@ %prep %setup -q -n docutils-%{version} +%patch0 -p1 # Remove useless ".py" ending from executables: for i in tools/rst*; do mv "$i" "${i/.py}"; done sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1'|" setup.py @@ -79,57 +80,40 @@ %if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +for binary in rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html rst2html4 rst2html5 ; do +%python_clone -a %{buildroot}%{_bindir}/$binary +done +%endif -# To avoid conflicts with the rst2html4 package -mv %{buildroot}%{_bindir}/rst2html4 %{buildroot}%{_bindir}/rst2html4-docutils -ln -s -f %{_sysconfdir}/alternatives/rst2html4 %{buildroot}%{_bindir}/rst2html4 - -# To avoid conflicts with the rst2html5 package -mv %{buildroot}%{_bindir}/rst2html5 %{buildroot}%{_bindir}/rst2html5-docutils -ln -s -f %{_sysconfdir}/alternatives/rst2html5 %{buildroot}%{_bindir}/rst2html5 +%check +%if %{with test} +%python_exec test/alltests.py %endif -%ifpython3 +%if !%{with test} %post -update-alternatives --install %{_bindir}/rst2html4 rst2html4 %{_bindir}/rst2html4-docutils 15 -update-alternatives --install %{_bindir}/rst2html5 rst2html5 %{_bindir}/rst2html5-docutils 15 -%endif +%{python_install_alternative rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html rst2html4 rst2html5} -%ifpython3 %postun -if [ ! -f %{_bindir}/rst2html4-docutils ] ; then - update-alternatives --remove rst2html4 %{_bindir}/rst2html4-docutils -fi -if [ ! -f %{_bindir}/rst2html5-docutils ] ; then - update-alternatives --remove rst2html5 %{_bindir}/rst2html5-docutils -fi -%endif - -%check -%if %{with test} -%python_exec test/alltests.py +%{python_uninstall_alternative rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html rst2html4 rst2html5} %endif %if !%{with test} %files %{python_files} %license COPYING.txt licenses/*.txt %doc FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/* -%python3_only %{_bindir}/rst2html -%python3_only %{_bindir}/rst2latex -%python3_only %{_bindir}/rst2man -%python3_only %{_bindir}/rst2odt -%python3_only %{_bindir}/rst2odt_prepstyles -%python3_only %{_bindir}/rst2pseudoxml -%python3_only %{_bindir}/rst2s5 -%python3_only %{_bindir}/rst2xetex -%python3_only %{_bindir}/rst2xml -%python3_only %{_bindir}/rstpep2html -%python3_only %{_bindir}/rst2html4 -%python3_only %{_bindir}/rst2html4-docutils -%python3_only %{_bindir}/rst2html5 -%python3_only %{_bindir}/rst2html5-docutils -%python3_only %ghost %{_sysconfdir}/alternatives/rst2html4 -%python3_only %ghost %{_sysconfdir}/alternatives/rst2html5 +%python_alternative %{_bindir
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2020-01-16 18:15:49 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.26092 (New) Package is "python-docutils" Thu Jan 16 18:15:49 2020 rev:29 rq:764622 version:0.16 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2019-10-14 14:53:15.786174107 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.26092/python-docutils.changes 2020-01-16 18:16:04.956799745 +0100 @@ -1,0 +2,13 @@ +Wed Jan 15 10:56:28 UTC 2020 - Tomáš Chvátal + +- Update to 0.16: + - Dropped support for Python 2.6, 3.3 and 3.4 + - Docutils now supports Python 2.7 and Python 3.5+ natively +(without conversion by ``2to3``). + - Keep `backslash escapes`__ in the document tree. Backslash characters in +text are be represented by NULL characters in the ``text`` attribute of +Doctree nodes and removed in the writing stage by the node's +``astext()`` method. +- Remove merged patch fix_tests_38.patch + +--- Old: docutils-0.15.2.tar.gz fix_tests_38.patch New: docutils-0.16.tar.gz Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.n82XKJ/_old 2020-01-16 18:16:05.912800285 +0100 +++ /var/tmp/diff_new_pack.n82XKJ/_new 2020-01-16 18:16:05.912800285 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-docutils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-docutils%{psuffix} -Version:0.15.2 +Version:0.16 Release:0 Summary:Python Documentation Utilities License:Python-2.0 AND BSD-2-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND SUSE-Public-Domain @@ -34,9 +34,6 @@ URL:https://pypi.python.org/pypi/docutils/ Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz Source99: python-docutils-rpmlintrc -# PATCH-FIX-UPSTREAM fix_tests_38.patch shp#docutils#161 mc...@suse.com -# Fixes failing tests in test_writers.test_odt.DocutilsOdtTestCase -Patch0: fix_tests_38.patch BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} BuildRequires: fdupes @@ -66,7 +63,6 @@ %prep %setup -q -n docutils-%{version} -%autopatch -p1 # Remove useless ".py" ending from executables: for i in tools/rst*; do mv "$i" "${i/.py}"; done sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1'|" setup.py @@ -79,14 +75,6 @@ %build %python_build -# test3 is generated from test during build -%if 0%{?have_python2} && ! 0%{?skip_python2} -mv test test%{python2_bin_suffix} -%endif -%if 0%{?have_python3} && ! 0%{?skip_python3} -mv test3 test%{python3_bin_suffix} -%endif - %install %if !%{with test} %python_install @@ -119,7 +107,7 @@ %check %if %{with test} -%python_exec test%{$python_bin_suffix}/alltests.py +%python_exec test/alltests.py %endif %if !%{with test} ++ docutils-0.15.2.tar.gz -> docutils-0.16.tar.gz ++ 43091 lines of diff (skipped)
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2019-10-14 14:53:14 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.2352 (New) Package is "python-docutils" Mon Oct 14 14:53:14 2019 rev:28 rq:737543 version:0.15.2 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2019-09-23 12:17:44.101803569 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.2352/python-docutils.changes 2019-10-14 14:53:15.786174107 +0200 @@ -1,0 +2,7 @@ +Fri Oct 11 14:11:49 CEST 2019 - Matej Cepl + +- Add fix_tests_38.patch to overcome failing + test_writers.test_odt.DocutilsOdtTestCase with Python 3.8. + Also, failed as shp#docutils#161. + +--- New: fix_tests_38.patch Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.wIr0m2/_old 2019-10-14 14:53:16.690171750 +0200 +++ /var/tmp/diff_new_pack.wIr0m2/_new 2019-10-14 14:53:16.694171739 +0200 @@ -34,6 +34,9 @@ URL:https://pypi.python.org/pypi/docutils/ Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz Source99: python-docutils-rpmlintrc +# PATCH-FIX-UPSTREAM fix_tests_38.patch shp#docutils#161 mc...@suse.com +# Fixes failing tests in test_writers.test_odt.DocutilsOdtTestCase +Patch0: fix_tests_38.patch BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} BuildRequires: fdupes @@ -63,6 +66,7 @@ %prep %setup -q -n docutils-%{version} +%autopatch -p1 # Remove useless ".py" ending from executables: for i in tools/rst*; do mv "$i" "${i/.py}"; done sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1'|" setup.py ++ fix_tests_38.patch ++ --- a/test/test_writers/test_odt.py +++ b/test/test_writers/test_odt.py @@ -80,7 +80,7 @@ class DocutilsOdtTestCase(DocutilsTestSu sys.stderr.write(s1) return WhichElementTree -def process_test(self, input_filename, expected_filename, +def process_test(self, input_filename, expected_filename, save_output_name=None, settings_overrides=None): if not self.check_import(): return @@ -112,19 +112,22 @@ class DocutilsOdtTestCase(DocutilsTestSu outfile.close() content1 = self.extract_file(result, 'content.xml') content2 = self.extract_file(expected, 'content.xml') -msg = 'content.xml not equal: expected len: %d actual len: %d' % ( -len(content2), len(content1), ) -self.assertEqual(content1, content2, msg) +# self.assertEqual(content1, content2, msg) +self.assertEqual(content1, content2) def extract_file(self, payload, filename): +from xml.etree import ElementTree as etree payloadfile = BytesIO() payloadfile.write(payload) payloadfile.seek(0) zfile = zipfile.ZipFile(payloadfile, 'r') content1 = zfile.read(filename) -doc = minidom.parseString(content1) -#content2 = doc.toprettyxml(indent=' ') -content2 = doc.toxml() +if hasattr(etree, 'canonicalize'): +content2 = etree.canonicalize(content1, with_comments=True) +else: +#content2 = doc.toprettyxml(indent=' ') +doc = minidom.parseString(content1) +content2 = doc.toxml() return content2 def assertEqual(self, first, second, msg=None):
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2019-09-23 12:17:41 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.7948 (New) Package is "python-docutils" Mon Sep 23 12:17:41 2019 rev:27 rq:731177 version:0.15.2 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2019-05-16 21:58:58.214812493 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.7948/python-docutils.changes 2019-09-23 12:17:44.101803569 +0200 @@ -1,0 +2,15 @@ +Sat Sep 14 01:50:36 UTC 2019 - John Vandenberg + +- Skip the tests for the flavors not being built + +--- +Fri Aug 9 09:53:07 UTC 2019 - Marketa Calabkova + +- update to version 0.15.2 + * Docutils 0.14.x is the last version supporting Python 2.4, 2.5, + 3.1, and 3.2. + * reStructured text: Allow embedded colons in field list field +names (before, tokens like :this:example: were considered ordinary text). + * Fixed a bug with the "trim" options of the "unicode" directive. + +--- Old: docutils-0.14.tar.gz New: docutils-0.15.2.tar.gz Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.8ZAAFP/_old 2019-09-23 12:17:44.901803438 +0200 +++ /var/tmp/diff_new_pack.8ZAAFP/_new 2019-09-23 12:17:44.905803437 +0200 @@ -26,7 +26,7 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-docutils%{psuffix} -Version:0.14 +Version:0.15.2 Release:0 Summary:Python Documentation Utilities License:Python-2.0 AND BSD-2-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND SUSE-Public-Domain @@ -34,11 +34,7 @@ URL:https://pypi.python.org/pypi/docutils/ Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz Source99: python-docutils-rpmlintrc -%if %{with test} -BuildRequires: %{python_module Pillow} -BuildRequires: %{python_module Pygments} -BuildRequires: %{python_module roman} -%endif +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -49,6 +45,11 @@ Recommends: python-Pygments Recommends: python-roman BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module roman} +%endif %ifpython3 Provides: docutils = %{version} Obsoletes: docutils < %{version} @@ -75,13 +76,17 @@ %python_build # test3 is generated from test during build +%if 0%{?have_python2} && ! 0%{?skip_python2} mv test test%{python2_bin_suffix} +%endif +%if 0%{?have_python3} && ! 0%{?skip_python3} mv test3 test%{python3_bin_suffix} +%endif %install %if !%{with test} %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} # To avoid conflicts with the rst2html4 package mv %{buildroot}%{_bindir}/rst2html4 %{buildroot}%{_bindir}/rst2html4-docutils ++ docutils-0.14.tar.gz -> docutils-0.15.2.tar.gz ++ 12937 lines of diff (skipped)
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2019-05-16 21:58:54 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.5148 (New) Package is "python-docutils" Thu May 16 21:58:54 2019 rev:26 rq:702723 version:0.14 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2019-01-26 22:19:27.526999362 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.5148/python-docutils.changes 2019-05-16 21:58:58.214812493 +0200 @@ -1,0 +2,14 @@ +Mon May 13 23:48:57 UTC 2019 - Tomáš Chvátal + +- Add multibuild in order to avoid buildcycle with Pillow and friends + +--- +Tue May 7 15:03:33 UTC 2019 - John Vandenberg + +- Add optional build dependencies Pillow, Pygments and roman, + causing 16 additonal test methods to run +- Add Recommends for Pillow, Pygments and roman +- Use %license +- Simplify test invocation + +--- New: _multibuild Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.1GYnJX/_old 2019-05-16 21:58:58.810812233 +0200 +++ /var/tmp/diff_new_pack.1GYnJX/_new 2019-05-16 21:58:58.810812233 +0200 @@ -16,22 +16,38 @@ # +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-docutils +Name: python-docutils%{psuffix} Version:0.14 Release:0 Summary:Python Documentation Utilities License:Python-2.0 AND BSD-2-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND SUSE-Public-Domain Group: Development/Languages/Python -Url:https://pypi.python.org/pypi/docutils/ +URL:https://pypi.python.org/pypi/docutils/ Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz Source99: python-docutils-rpmlintrc +%if %{with test} +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module roman} +%endif BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-xml Requires(post): update-alternatives Requires(postun): update-alternatives +Recommends: python-Pillow +Recommends: python-Pygments +Recommends: python-roman BuildArch: noarch %ifpython3 Provides: docutils = %{version} @@ -58,7 +74,12 @@ %build %python_build +# test3 is generated from test during build +mv test test%{python2_bin_suffix} +mv test3 test%{python3_bin_suffix} + %install +%if !%{with test} %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} @@ -69,6 +90,7 @@ # To avoid conflicts with the rst2html5 package mv %{buildroot}%{_bindir}/rst2html5 %{buildroot}%{_bindir}/rst2html5-docutils ln -s -f %{_sysconfdir}/alternatives/rst2html5 %{buildroot}%{_bindir}/rst2html5 +%endif %ifpython3 %post @@ -87,11 +109,14 @@ %endif %check -%python_exec -c 'import subprocess; import sys; sys.exit(subprocess.call([sys.executable, "test/alltests.py" if sys.version_info[0] == 2 else "test3/alltests.py"]))' +%if %{with test} +%python_exec test%{$python_bin_suffix}/alltests.py +%endif +%if !%{with test} %files %{python_files} -%defattr(-,root,root,-) -%doc COPYING.txt FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/* licenses +%license COPYING.txt licenses/*.txt +%doc FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/* %python3_only %{_bindir}/rst2html %python3_only %{_bindir}/rst2latex %python3_only %{_bindir}/rst2man @@ -110,5 +135,6 @@ %python3_only %ghost %{_sysconfdir}/alternatives/rst2html5 %{python_sitelib}/docutils/ %{python_sitelib}/docutils-%{version}-py%{python_version}.egg-info +%endif %changelog ++ _multibuild ++ test
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2019-01-26 22:19:26 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.28833 (New) Package is "python-docutils" Sat Jan 26 22:19:26 2019 rev:25 rq:668138 version:0.14 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2018-12-06 12:14:44.793685501 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.28833/python-docutils.changes 2019-01-26 22:19:27.526999362 +0100 @@ -1,0 +2,5 @@ +Wed Jan 9 22:14:42 UTC 2019 - Matej Cepl + +- Remove unnecessary node BR + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.7UncJ4/_old 2019-01-26 22:19:28.034998950 +0100 +++ /var/tmp/diff_new_pack.7UncJ4/_new 2019-01-26 22:19:28.038998947 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-docutils # -# 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 @@ -26,7 +26,6 @@ Url:https://pypi.python.org/pypi/docutils/ Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz Source99: python-docutils-rpmlintrc -BuildRequires: %{python_module nose} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2018-12-06 12:14:43 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.19453 (New) Package is "python-docutils" Thu Dec 6 12:14:43 2018 rev:24 rq:654022 version:0.14 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2017-11-17 10:35:49.765811764 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.19453/python-docutils.changes 2018-12-06 12:14:44.793685501 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:47:27 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.IBeCoE/_old 2018-12-06 12:14:45.241685019 +0100 +++ /var/tmp/diff_new_pack.IBeCoE/_new 2018-12-06 12:14:45.245685015 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-docutils # -# 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/ # @@ -21,12 +21,11 @@ Version:0.14 Release:0 Summary:Python Documentation Utilities -License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain +License:Python-2.0 AND BSD-2-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND SUSE-Public-Domain Group: Development/Languages/Python Url:https://pypi.python.org/pypi/docutils/ Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz Source99: python-docutils-rpmlintrc -BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} BuildRequires: %{python_module xml} BuildRequires: fdupes
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2017-11-17 10:35:48 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Fri Nov 17 10:35:48 2017 rev:23 rq:541212 version:0.14 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2017-06-13 16:07:07.135018069 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2017-11-17 10:35:49.765811764 +0100 @@ -1,0 +2,60 @@ +Fri Nov 10 22:54:38 UTC 2017 - a...@gmx.de + +- specfile: + * add binary rst2html4 + +- update to version 0.14: + * Enable validation of Docutils XML documents against the DTD: +Use attribute type NMTOKEN instead of REFID for the `refid` attribute +and NMTOKENS for `backrefs`: REFID refers to an ID type instance, +however, the `ids` attribute cannot use the ID type because `XML only +allows one ID per Element Type`__ and doesn't support a multiple-ID +"IDS" attribute type. + * Added documentation for escaped whitespace in URI contexts. + * Clarify use of Unicode character categories. + * Added functionality: escaped whitespace in URI contexts. + * Consistent handling of all whitespace characters in inline markup +recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]). + * Added support for escaped whitespace in URI contexts. + * Rework patch [ 120 ] (revert change to "Table.get_column_widths()" +that led to problems in an application with a custom table +directive). + * Fix [ 320 ] Russian docinfo fields not recognized. + * Don't add a second ID to problematic references. + * Fix SmartQuotes: warn only once if language is unsupported, keep +"rawsource" when "educating" quotes. + * Added "split_escaped_whitespace" function, support for escaped +whitespace in URI contexts. + * Fix [ 321 ] Import block might cause name error. + * Update quote definitions for languages et, fi, fr, ro, sv, tr, uk. + * New quote definitions for hr, hsb, hu, lv, sh, sl, sr. + * Fix [ 313 ] Differentiate apostrophe from closing single quote (if +possible). + * Fix [ 317 ] Extra space inserted with French smartquotes. + * Add command line interface for stand-alone use (requires 2.7). + * Provide default title in metadata (required by HTML5). + * Fix [ 312 ] HTML writer generates invalid HTML if the table has +two tags. + * Fix [ 319 ] The MathJax CDN shut down on April 30, 2017. For +security reasons, we don't use a third party public installation as default but +warn if math-output_ is set to MathJax without specifying a URL. + * Apply [ 125 ] HTML writer: respect automatic table column sizing. + * Handle class arguments for block-level elements by wrapping them +in a "DUclass" environment. This replaces the special handling for +"epigraph" and "topic" elements. + * Apply [ 141 ] Handling inline in manpage writer. + * Command setting "language" now sets the default language of the +generated ODF document. + * The use of image directive options :width: (%), :scale:, etc now +set the width/height/size of images in the generated ODF +documents. + * The heading/title of admonitions now reflects the language +specified by the "language" setting. + * Fixed [ 306 ] only first of multiple "image" directives with the +same URL shown in output. + * Fixed [ 282 ] python3: AttributeError. + * tools/rst2html4.py: New front-end. + * tools/dev/generate_punctuation_chars.py: New skript to test and +update utils.punctuation_chars. + +--- Old: docutils-0.13.1.tar.gz New: docutils-0.14.tar.gz Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.f6QgFn/_old 2017-11-17 10:35:50.493785120 +0100 +++ /var/tmp/diff_new_pack.f6QgFn/_new 2017-11-17 10:35:50.493785120 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-docutils -Version:0.13.1 +Version:0.14 Release:0 Summary:Python Documentation Utilities License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain @@ -64,17 +64,25 @@ %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} +# To avoid conflicts with the rst2html4 package +mv %{buildroot}%{_bindir}/rst2html4 %{buildroot}%{_bindir}/rst2html4-docutils +ln -s -f %{_sysconfdir}/alternatives/rst2html4 %{buildroot}%{_bindir}/rst2html4 + # To avoid conflicts with the rst2html5 package mv %{buildroot}%{_bindir}/rst2html5 %{buildroot}%{_b
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2017-06-13 16:07:04 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Tue Jun 13 16:07:04 2017 rev:22 rq:501919 version:0.13.1 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2017-05-16 14:28:03.903194026 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2017-06-13 16:07:07.135018069 +0200 @@ -1,0 +2,7 @@ +Tue Jun 6 13:31:03 UTC 2017 - jmate...@suse.com + +- only emit rst2html5 alternatives for python 3 +- switch the "docutils" provides to the python 3 package (all the comands live there) + (this fixes bsc#1039394) + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.06trhk/_old 2017-06-13 16:07:08.790784724 +0200 +++ /var/tmp/diff_new_pack.06trhk/_new 2017-06-13 16:07:08.794784161 +0200 @@ -32,13 +32,13 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-xml -%ifpython2 +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +%ifpython3 Provides: docutils = %{version} Obsoletes: docutils < %{version} %endif -Requires(post): update-alternatives -Requires(preun): update-alternatives -BuildArch: noarch %python_subpackages %description @@ -47,7 +47,7 @@ easy-to-read, what-you-see-is-what-you-get plaintext markup syntax. %prep -%setup -n docutils-%{version} +%setup -q -n docutils-%{version} # Remove useless ".py" ending from executables: for i in tools/rst*; do mv "$i" "${i/.py}"; done sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1'|" setup.py @@ -68,13 +68,17 @@ mv %{buildroot}%{_bindir}/rst2html5 %{buildroot}%{_bindir}/rst2html5-docutils ln -s -f %{_sysconfdir}/alternatives/rst2html5 %{buildroot}%{_bindir}/rst2html5 +%ifpython3 %post update-alternatives --install %{_bindir}/rst2html5 rst2html5 %{_bindir}/rst2html5-docutils 15 +%endif -%preun +%ifpython3 +%postun if [ ! -f %{_bindir}/rst2html5-docutils ] ; then update-alternatives --remove rst2html5 %{_bindir}/rst2html5-docutils fi +%endif %check %python_exec -c 'import subprocess; import sys; sys.exit(subprocess.call([sys.executable, "test/alltests.py" if sys.version_info[0] == 2 else "test3/alltests.py"]))'
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2017-05-16 14:27:57 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Tue May 16 14:27:57 2017 rev:21 rq:492365 version:0.13.1 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2017-04-28 10:44:07.384804898 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2017-05-16 14:28:03.903194026 +0200 @@ -1,0 +2,5 @@ +Mon May 1 19:33:19 UTC 2017 - toddrme2...@gmail.com + +- Make only the python2 package provide the "docutils" package. + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.qPYtvB/_old 2017-05-16 14:28:05.682944011 +0200 +++ /var/tmp/diff_new_pack.qPYtvB/_new 2017-05-16 14:28:05.682944011 +0200 @@ -32,8 +32,10 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-xml +%ifpython2 Provides: docutils = %{version} Obsoletes: docutils < %{version} +%endif Requires(post): update-alternatives Requires(preun): update-alternatives BuildArch: noarch
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2017-04-28 10:44:06 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Fri Apr 28 10:44:06 2017 rev:20 rq:489646 version:0.13.1 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2017-03-22 23:16:41.105335397 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2017-04-28 10:44:07.384804898 +0200 @@ -1,0 +2,14 @@ +Thu Apr 20 15:43:28 UTC 2017 - toddrme2...@gmail.com + +- Fix url +- Executables are python-independent so only have the python3 + version provide them. +- Implement update-alternatives to avoid conflict with rst2html5 + +--- +Fri Mar 24 12:53:55 UTC 2017 - aloi...@gmx.com + +- Converted to single-spec +- Added python-docutils-rpmlintrc + +--- New: python-docutils-rpmlintrc Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.Hb9IJ3/_old 2017-04-28 10:44:10.236401844 +0200 +++ /var/tmp/diff_new_pack.Hb9IJ3/_new 2017-04-28 10:44:10.240401278 +0200 @@ -16,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-docutils Version:0.13.1 Release:0 @@ -23,21 +24,20 @@ License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain Group: Development/Languages/Python Url:https://pypi.python.org/pypi/docutils/ -Source: https://pypi.io/packages/source/d/docutils/docutils-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-nose -BuildRequires: python-xml +Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz +Source99: python-docutils-rpmlintrc +BuildRequires: %{python_module devel} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module xml} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-xml Provides: docutils = %{version} Obsoletes: docutils < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%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 Requires(post): update-alternatives Requires(preun): update-alternatives +BuildArch: noarch +%python_subpackages %description Docutils is a modular system for processing documentation into useful formats, @@ -47,84 +47,53 @@ %prep %setup -n docutils-%{version} # Remove useless ".py" ending from executables: -for i in tools/rst*; do mv "$i" "${i/.py}-%{py_ver}"; done -sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1-%{py_ver}'|" setup.py +for i in tools/rst*; do mv "$i" "${i/.py}"; done +sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1'|" setup.py # Remove shebang from non-executable files -for i in {'code_analyzer','error_reporting','punctuation_chars','smartquotes','math/latex2mathml','math/math2html'}; do +for i in {'code_analyzer','error_reporting','punctuation_chars','smartquotes','math/latex2mathml','math/math2html','math/tex2mathml_extern'}; do sed -i -e "1d" "docutils/utils/$i.py" done -sed -i -e "1d" "docutils/writers/xetex/__init__.py" +sed -i -e "1d" "docutils/writers/xetex/__init__.py" "docutils/writers/_html_base.py" %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} -# Prepare for update-alternatives usage -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -binaries="rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html" -for p in $binaries ; do -ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p -done - -%check -nosetests +# To avoid conflicts with the rst2html5 package +mv %{buildroot}%{_bindir}/rst2html5 %{buildroot}%{_bindir}/rst2html5-docutils +ln -s -f %{_sysconfdir}/alternatives/rst2html5 %{buildroot}%{_bindir}/rst2html5 %post -%_sbindir/update-alternatives \ ---install %{_bindir}/rst2html rst2html %{_bindir}/rst2html-%{py_ver} 20 \ ---slave %{_bindir}/rst2html5 rst2html5 %{_bindir}/rst2html5-%{py_ver} \ ---slave %{_bindir}/rst2latex rst2latex %{_bindir}/rst2latex-%{py_ver} \ ---slave %{_bindir}/rst2man rst2man %{_bindir}/rst2man-%{py_ver} \ ---slave %{_bin
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2017-03-22 23:16:39 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Wed Mar 22 23:16:39 2017 rev:19 rq:480505 version:0.13.1 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2016-08-22 14:00:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2017-03-22 23:16:41.105335397 +0100 @@ -1,0 +2,10 @@ +Thu Mar 9 11:39:11 UTC 2017 - dmuel...@suse.com + +- update to 0.13.1: + * New HTML writer generating HTML 5. + * languages: persian/farsi (fa) and latvian (la) mappings. + * change default base url for :rfc: to http://tools.ietf.org/html/ + latex2e: Fix admonition width, remove deprecated options, + better tablewidth auto, ... + +--- Old: docutils-0.12.tar.gz New: docutils-0.13.1.tar.gz Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.MEYIa9/_old 2017-03-22 23:16:42.121191495 +0100 +++ /var/tmp/diff_new_pack.MEYIa9/_new 2017-03-22 23:16:42.125190928 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-docutils # -# Copyright (c) 2014 SUSE LINUX Products 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 @@ -17,13 +17,13 @@ Name: python-docutils -Version:0.12 +Version:0.13.1 Release:0 Summary:Python Documentation Utilities License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain Group: Development/Languages/Python Url:https://pypi.python.org/pypi/docutils/ -Source: https://pypi.python.org/packages/source/d/docutils/docutils-%{version}.tar.gz +Source: https://pypi.io/packages/source/d/docutils/docutils-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-nose BuildRequires: python-xml @@ -74,6 +74,7 @@ %post %_sbindir/update-alternatives \ --install %{_bindir}/rst2html rst2html %{_bindir}/rst2html-%{py_ver} 20 \ +--slave %{_bindir}/rst2html5 rst2html5 %{_bindir}/rst2html5-%{py_ver} \ --slave %{_bindir}/rst2latex rst2latex %{_bindir}/rst2latex-%{py_ver} \ --slave %{_bindir}/rst2man rst2man %{_bindir}/rst2man-%{py_ver} \ --slave %{_bindir}/rst2odt rst2odt %{_bindir}/rst2odt-%{py_ver} \ @@ -103,6 +104,7 @@ %{_bindir}/rst2xml %{_bindir}/rstpep2html %{_bindir}/rst2html-%{py_ver} +%{_bindir}/rst2html5-%{py_ver} %{_bindir}/rst2latex-%{py_ver} %{_bindir}/rst2man-%{py_ver} %{_bindir}/rst2odt-%{py_ver} ++ docutils-0.12.tar.gz -> docutils-0.13.1.tar.gz ++ 37856 lines of diff (skipped)
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2016-08-22 14:00:03 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2014-11-02 16:45:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2016-08-22 14:00:04.0 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com + +- Fix update-alternatives implementation. + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.vRqur7/_old 2016-08-22 14:00:05.0 +0200 +++ /var/tmp/diff_new_pack.vRqur7/_new 2016-08-22 14:00:05.0 +0200 @@ -37,7 +37,7 @@ BuildArch: noarch %endif Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(preun): update-alternatives %description Docutils is a modular system for processing documentation into useful formats, @@ -60,25 +60,19 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +# Prepare for update-alternatives usage +mkdir -p %{buildroot}%{_sysconfdir}/alternatives binaries="rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html" -for i in $binaries; do -ln -s %{_bindir}/${i}-%{py_ver} %{buildroot}%{_bindir}/${i} +for p in $binaries ; do +ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p done %check nosetests -%pre -# Since binaries became ghosted to be used with update-alternatives, -# we have to get rid of the old binary resulting from the -# non-update-alternativies-ified package. -for i in rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html; do - [ -L %_bindir/$i ] || rm -f %_bindir/$i -done -exit 0 - %post -update-alternatives \ +%_sbindir/update-alternatives \ --install %{_bindir}/rst2html rst2html %{_bindir}/rst2html-%{py_ver} 20 \ --slave %{_bindir}/rst2latex rst2latex %{_bindir}/rst2latex-%{py_ver} \ --slave %{_bindir}/rst2man rst2man %{_bindir}/rst2man-%{py_ver} \ @@ -92,23 +86,42 @@ %preun if [ $1 -eq 0 ] ; then -update-alternatives --remove rst2html %{_bindir}/rst2html-%{py_ver} +%_sbindir/update-alternatives --remove rst2html %{_bindir}/rst2html-%{py_ver} fi %files %defattr(-,root,root,-) %doc COPYING.txt FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/* licenses -%ghost %{_bindir}/rst2html -%ghost %{_bindir}/rst2latex -%ghost %{_bindir}/rst2man -%ghost %{_bindir}/rst2odt -%ghost %{_bindir}/rst2odt_prepstyles -%ghost %{_bindir}/rst2pseudoxml -%ghost %{_bindir}/rst2s5 -%ghost %{_bindir}/rst2xetex -%ghost %{_bindir}/rst2xml -%ghost %{_bindir}/rstpep2html -%{_bindir}/rst*-%{py_ver} +%{_bindir}/rst2html +%{_bindir}/rst2latex +%{_bindir}/rst2man +%{_bindir}/rst2odt +%{_bindir}/rst2odt_prepstyles +%{_bindir}/rst2pseudoxml +%{_bindir}/rst2s5 +%{_bindir}/rst2xetex +%{_bindir}/rst2xml +%{_bindir}/rstpep2html +%{_bindir}/rst2html-%{py_ver} +%{_bindir}/rst2latex-%{py_ver} +%{_bindir}/rst2man-%{py_ver} +%{_bindir}/rst2odt-%{py_ver} +%{_bindir}/rst2odt_prepstyles-%{py_ver} +%{_bindir}/rst2pseudoxml-%{py_ver} +%{_bindir}/rst2s5-%{py_ver} +%{_bindir}/rst2xetex-%{py_ver} +%{_bindir}/rst2xml-%{py_ver} +%{_bindir}/rstpep2html-%{py_ver} +%ghost %{_sysconfdir}/alternatives/rst2html +%ghost %{_sysconfdir}/alternatives/rst2latex +%ghost %{_sysconfdir}/alternatives/rst2man +%ghost %{_sysconfdir}/alternatives/rst2odt +%ghost %{_sysconfdir}/alternatives/rst2odt_prepstyles +%ghost %{_sysconfdir}/alternatives/rst2pseudoxml +%ghost %{_sysconfdir}/alternatives/rst2s5 +%ghost %{_sysconfdir}/alternatives/rst2xetex +%ghost %{_sysconfdir}/alternatives/rst2xml +%ghost %{_sysconfdir}/alternatives/rstpep2html %{python_sitelib}/docutils/ %{python_sitelib}/docutils-%{version}-py%{py_ver}.egg-info
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2014-11-02 16:45:41 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2014-07-16 16:37:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2014-11-02 16:45:47.0 +0100 @@ -1,0 +2,5 @@ +Wed Oct 29 02:14:00 UTC 2014 - Led + +- fix bashisms in pre script + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.DZxOWl/_old 2014-11-02 16:45:48.0 +0100 +++ /var/tmp/diff_new_pack.DZxOWl/_new 2014-11-02 16:45:48.0 +0100 @@ -72,9 +72,8 @@ # Since binaries became ghosted to be used with update-alternatives, # we have to get rid of the old binary resulting from the # non-update-alternativies-ified package. -binaries="rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html" -for i in $binaries; do -[[ ! -L %{_bindir}/${i} ]] && rm -f %{_bindir}/${i} +for i in rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html; do + [ -L %_bindir/$i ] || rm -f %_bindir/$i done exit 0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2014-07-16 16:37:15 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2013-09-26 19:49:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2014-07-16 16:37:16.0 +0200 @@ -1,0 +2,25 @@ +Tue Jul 15 10:36:57 UTC 2014 - toddrme2...@gmail.com + +- Update to 0.12 + * docs/ref/rst/directives.txt +- Update "math" and "csv-table" descriptions. + * docutils/parsers/rst/directives/images.py +- Fix [258] figwidth="image" generates unitless width value. + * docutils/parsers/rst/states.py +- Improve error report when a non-ASCII character is specified as +delimiter, quote or escape character under Python 2. +Fixes [ 249 ] and [ 250 ]. + * docutils/writers/html4css1/__init__.py +- Don't add newline after inline math. +Thanks to Yury G. Kudryashov for the patch. + * docutils/writers/latex2e/__init__.py +- Fix [ 239 ] Latex writer glues paragraphs with figure floats. +- Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle. + * docutils/writers/odf_odt/__init__.py +- Apply patch by Jakub Wilk to fix bug [ 100 ]. + * test/test_error_reporting.py +- Fix [ 223 ] by removing redundant tests we do not have control over. + * test/test_nodes.py +- Apply [ 115 ] respect fixed 2to3 string literal conversion behavior. + +--- Old: docutils-0.11.tar.gz New: docutils-0.12.tar.gz Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.ZrT9cs/_old 2014-07-16 16:37:17.0 +0200 +++ /var/tmp/diff_new_pack.ZrT9cs/_new 2014-07-16 16:37:17.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-docutils # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -17,7 +17,7 @@ Name: python-docutils -Version:0.11 +Version:0.12 Release:0 Summary:Python Documentation Utilities License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain ++ docutils-0.11.tar.gz -> docutils-0.12.tar.gz ++ 3285 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2013-09-26 19:49:22 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2013-09-17 16:25:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2013-09-26 19:49:22.0 +0200 @@ -1,0 +2,29 @@ +Tue Sep 24 09:48:27 UTC 2013 - toddrme2...@gmail.com + +- Update to 0.11 + * Fix for the overwritting of document attributes. + * Support embedded aliases within hyperlink references. + * try local import of docutils components (reader, writer, parser, +language module) before global search. + * Python 3.3 checks CVS syntax only if "strict" is True. + * Now, it is easy to add a custom stylesheet to Docutils' default +stylesheet with, e.g., +--stylesheet_path='html4css1.css, mystyle.css' + * If there is a file html4css1.css in the working directory of the +process at launch, it is used instead of the one provided by +Docutils in the writer source directory. + * New default for math-output: HTML math.css. + * Avoid repeated class declarations in html4css1 writer + * Drop the simple algorithm replacing straight double quotes with +English typographic ones. Activate the SmartQuotes transform if +you want this feature. + * New setting stylesheet_dirs: Comma-separated list of directories +where stylesheets are found. Used by stylesheet_path when +expanding relative path arguments. + * handle lines starting with a period. + * Fix option separating comma was bold (thanks to Bill Morris). +- Use pypi url and download +- Replace rpmlint-non-executable-scripts.diff with sed in the spec + file + +--- Old: docutils-0.10.tar.gz rpmlint-non-executable-scripts.diff New: docutils-0.11.tar.gz Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.QpXUnp/_old 2013-09-26 19:49:23.0 +0200 +++ /var/tmp/diff_new_pack.QpXUnp/_new 2013-09-26 19:49:23.0 +0200 @@ -17,14 +17,13 @@ Name: python-docutils -Version:0.10 +Version:0.11 Release:0 Summary:Python Documentation Utilities License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain Group: Development/Languages/Python -Url:http://docutils.sourceforge.net/ -Source: http://downloads.sourceforge.net/project/docutils/docutils/%{version}/docutils-%{version}.tar.gz -Patch0: rpmlint-non-executable-scripts.diff +Url:https://pypi.python.org/pypi/docutils/ +Source: https://pypi.python.org/packages/source/d/docutils/docutils-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-nose BuildRequires: python-xml @@ -47,10 +46,14 @@ %prep %setup -n docutils-%{version} -%patch0 # Remove useless ".py" ending from executables: for i in tools/rst*; do mv "$i" "${i/.py}-%{py_ver}"; done sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1-%{py_ver}'|" setup.py +# Remove shebang from non-executable files +for i in {'code_analyzer','error_reporting','punctuation_chars','smartquotes','math/latex2mathml','math/math2html'}; do +sed -i -e "1d" "docutils/utils/$i.py" +done +sed -i -e "1d" "docutils/writers/xetex/__init__.py" %build python setup.py build ++ docutils-0.10.tar.gz -> docutils-0.11.tar.gz ++ 9983 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2013-09-17 16:18:15 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2013-07-04 10:13:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2013-09-17 16:25:46.0 +0200 @@ -1,0 +2,16 @@ +Mon Sep 16 12:09:22 UTC 2013 - tchva...@suse.com + +- Fix the symlink creation. + +--- +Mon Sep 16 10:32:48 UTC 2013 - tchva...@suse.com + +- Drop r7486-python33-compat.patch as it is not needed. + +--- +Mon Sep 16 10:31:09 UTC 2013 - tchva...@suse.com + +- Use update-alternatives to allow switching between py2 and py3 + version of doctool binaries. + +--- Old: r7486-python33-compat.patch Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.9KJRu8/_old 2013-09-17 16:25:46.0 +0200 +++ /var/tmp/diff_new_pack.9KJRu8/_new 2013-09-17 16:25:46.0 +0200 @@ -37,6 +37,8 @@ %else BuildArch: noarch %endif +Requires(post): update-alternatives +Requires(postun): update-alternatives %description Docutils is a modular system for processing documentation into useful formats, @@ -47,22 +49,64 @@ %setup -n docutils-%{version} %patch0 # Remove useless ".py" ending from executables: -for i in tools/rst*; do mv "$i" "${i/.py}"; done -sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1'|" setup.py +for i in tools/rst*; do mv "$i" "${i/.py}-%{py_ver}"; done +sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1-%{py_ver}'|" setup.py %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +binaries="rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html" +for i in $binaries; do +ln -s %{_bindir}/${i}-%{py_ver} %{buildroot}%{_bindir}/${i} +done %check nosetests +%pre +# Since binaries became ghosted to be used with update-alternatives, +# we have to get rid of the old binary resulting from the +# non-update-alternativies-ified package. +binaries="rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html" +for i in $binaries; do +[[ ! -L %{_bindir}/${i} ]] && rm -f %{_bindir}/${i} +done +exit 0 + +%post +update-alternatives \ +--install %{_bindir}/rst2html rst2html %{_bindir}/rst2html-%{py_ver} 20 \ +--slave %{_bindir}/rst2latex rst2latex %{_bindir}/rst2latex-%{py_ver} \ +--slave %{_bindir}/rst2man rst2man %{_bindir}/rst2man-%{py_ver} \ +--slave %{_bindir}/rst2odt rst2odt %{_bindir}/rst2odt-%{py_ver} \ +--slave %{_bindir}/rst2odt_prepstyles rst2odt_prepstyles %{_bindir}/rst2odt_prepstyles-%{py_ver} \ +--slave %{_bindir}/rst2pseudoxml rst2pseudoxml %{_bindir}/rst2pseudoxml-%{py_ver} \ +--slave %{_bindir}/rst2s5 rst2s5 %{_bindir}/rst2s5-%{py_ver} \ +--slave %{_bindir}/rst2xetex rst2xetex %{_bindir}/rst2xetex-%{py_ver} \ +--slave %{_bindir}/rst2xml rst2xml %{_bindir}/rst2xml-%{py_ver} \ +--slave %{_bindir}/rstpep2html rstpep2html %{_bindir}/rstpep2html-%{py_ver} + +%preun +if [ $1 -eq 0 ] ; then +update-alternatives --remove rst2html %{_bindir}/rst2html-%{py_ver} +fi + %files %defattr(-,root,root,-) %doc COPYING.txt FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/* licenses -%{_bindir}/rst* +%ghost %{_bindir}/rst2html +%ghost %{_bindir}/rst2latex +%ghost %{_bindir}/rst2man +%ghost %{_bindir}/rst2odt +%ghost %{_bindir}/rst2odt_prepstyles +%ghost %{_bindir}/rst2pseudoxml +%ghost %{_bindir}/rst2s5 +%ghost %{_bindir}/rst2xetex +%ghost %{_bindir}/rst2xml +%ghost %{_bindir}/rstpep2html +%{_bindir}/rst*-%{py_ver} %{python_sitelib}/docutils/ %{python_sitelib}/docutils-%{version}-py%{py_ver}.egg-info -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2013-07-04 10:13:45 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2012-11-28 14:33:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2013-07-04 10:13:47.0 +0200 @@ -1,0 +2,11 @@ +Wed Jul 3 15:37:57 UTC 2013 - dmuel...@suse.com + +- update to 0.10: + - add rpmlint-non-executable-scripts.diff + * SmartQuotes transform for typographic quotes and dashes. + * FileInput/FileOutput: no system-exit on IOError. The handle_io_errors option is ignored. + * tag for inline "code", do not drop nested inline nodes (syntax highlight tokens). + * Customizable MathJax URL (based on patch by Dmitry Shachnev). + * No line break after opening inline math tag. + +--- Old: docutils-0.9.tar.gz New: docutils-0.10.tar.gz rpmlint-non-executable-scripts.diff Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.FQmv2v/_old 2013-07-04 10:13:48.0 +0200 +++ /var/tmp/diff_new_pack.FQmv2v/_new 2013-07-04 10:13:48.0 +0200 @@ -17,13 +17,14 @@ Name: python-docutils -Version:0.9 +Version:0.10 Release:0 Summary:Python Documentation Utilities License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain Group: Development/Languages/Python Url:http://docutils.sourceforge.net/ Source: http://downloads.sourceforge.net/project/docutils/docutils/%{version}/docutils-%{version}.tar.gz +Patch0: rpmlint-non-executable-scripts.diff BuildRequires: python-devel BuildRequires: python-nose BuildRequires: python-xml @@ -44,8 +45,7 @@ %prep %setup -n docutils-%{version} -# Fix non-executable scripts: -sed -i "s|#!.*||g" docutils/{math/math2html,_string_template_compat,error_reporting,writers/xetex/__init__,math/latex2mathml}.py docutils/utils/{code_analyzer,punctuation_chars}.py +%patch0 # Remove useless ".py" ending from executables: for i in tools/rst*; do mv "$i" "${i/.py}"; done sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1'|" setup.py ++ docutils-0.9.tar.gz -> docutils-0.10.tar.gz ++ 33892 lines of diff (skipped) ++ rpmlint-non-executable-scripts.diff ++ 1515 lines (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2013-06-19 16:36:42 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils" Changes: Old: python3-docutils.changes python3-docutils.spec Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.RwqCHk/_old 2013-06-19 16:36:44.0 +0200 +++ /var/tmp/diff_new_pack.RwqCHk/_new 2013-06-19 16:36:44.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-docutils # -# 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 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2012-11-28 14:33:09 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils", Maintainer is "cth...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2012-11-02 07:31:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2012-11-28 14:33:11.0 +0100 @@ -1,0 +2,8 @@ +Tue Nov 20 19:34:53 UTC 2012 - sasc...@suse.de + +- Run testsuite +- Correctly fix non-excutable script warning +- Remove outdated macros +- Also remove "*.py" ending in egg-info files + +--- --- /work/SRC/openSUSE:Factory/python-docutils/python3-docutils.changes 2012-11-02 07:31:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python3-docutils.changes 2012-11-28 14:33:11.0 +0100 @@ -1,0 +2,9 @@ +Tue Nov 20 19:36:25 UTC 2012 - sasc...@suse.de + +- Run testsuite +- Correctly fix non-excutable script warning +- Remove outdated macros +- Name Python3 binaries consistently: + + Fix in setup.py to have correct egg-info data + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.Nys5Xg/_old 2012-11-28 14:33:12.0 +0100 +++ /var/tmp/diff_new_pack.Nys5Xg/_new 2012-11-28 14:33:12.0 +0100 @@ -16,28 +16,21 @@ # -%define modname docutils -Name: python-%{modname} +Name: python-docutils Version:0.9 Release:0 Summary:Python Documentation Utilities License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain Group: Development/Languages/Python Url:http://docutils.sourceforge.net/ -Source: http://downloads.sourceforge.net/project/%{modname}/%{modname}/%{version}/%{modname}-%{version}.tar.gz +Source: http://downloads.sourceforge.net/project/docutils/docutils/%{version}/docutils-%{version}.tar.gz BuildRequires: python-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} +BuildRequires: python-nose BuildRequires: python-xml Requires: python-xml -%py_requires -%endif -%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} -BuildRequires: pyxml -Requires: pyxml -%endif Provides: docutils = %{version} Obsoletes: docutils < %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 @@ -50,24 +43,27 @@ easy-to-read, what-you-see-is-what-you-get plaintext markup syntax. %prep -%setup -n %{modname}-%{version} +%setup -n docutils-%{version} +# Fix non-executable scripts: +sed -i "s|#!.*||g" docutils/{math/math2html,_string_template_compat,error_reporting,writers/xetex/__init__,math/latex2mathml}.py docutils/utils/{code_analyzer,punctuation_chars}.py +# Remove useless ".py" ending from executables: +for i in tools/rst*; do mv "$i" "${i/.py}"; done +sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1'|" setup.py %build python setup.py build -sed -i "s|#!\s*\/usr\/bin\/env python||g" docutils/{math/math2html,_string_template_compat,error_reporting,writers/xetex/__init__,math/latex2mathml}.py # Fix non-executable scripts %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -for i in %{buildroot}%{_bindir}/rst*; do mv "$i" "${i/.py}"; done # Remove useless ".py" ending from executables -# fix for non-executable-script rpmlint warning -chmod +x %{buildroot}%{python_sitelib}/%{modname}/utils/code_analyzer.py -chmod +x %{buildroot}%{python_sitelib}/%{modname}/utils/punctuation_chars.py + +%check +nosetests %files %defattr(-,root,root,-) %doc COPYING.txt FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/* licenses %{_bindir}/rst* -%{python_sitelib}/%{modname}/ -%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/docutils/ +%{python_sitelib}/docutils-%{version}-py%{py_ver}.egg-info %changelog ++ python3-docutils.spec ++ --- /var/tmp/diff_new_pack.Nys5Xg/_old 2012-11-28 14:33:12.0 +0100 +++ /var/tmp/diff_new_pack.Nys5Xg/_new 2012-11-28 14:33:12.0 +0100 @@ -16,29 +16,23 @@ # -%define modname docutils -Name: python3-%{modname} +Name: python3-docutils Version:0.9 Release:0 Summary:Python Docume
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2012-11-02 07:31:15 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils", Maintainer is "cth...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2012-05-21 10:26:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2012-11-02 07:31:20.0 +0100 @@ -1,0 +2,6 @@ +Fri Oct 26 08:26:29 UTC 2012 - highwaystar...@gmail.com + +- patch from upstream for python3.3 support + * Fix [3541369] Relative __import__ also with Python 3.3 + +--- --- /work/SRC/openSUSE:Factory/python-docutils/python3-docutils.changes 2012-05-21 10:26:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python3-docutils.changes 2012-11-02 07:31:20.0 +0100 @@ -1,0 +2,6 @@ +Fri Oct 26 08:25:52 UTC 2012 - highwaystar...@gmail.com + +- patch from upstream for python3.3 support + * Fix [3541369] Relative __import__ also with Python 3.3 + +--- New: r7486-python33-compat.patch Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.FWQQdd/_old 2012-11-02 07:31:22.0 +0100 +++ /var/tmp/diff_new_pack.FWQQdd/_new 2012-11-02 07:31:22.0 +0100 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define modname docutils Name: python-%{modname} Version:0.9 ++ python3-docutils.spec ++ --- /var/tmp/diff_new_pack.FWQQdd/_old 2012-11-02 07:31:22.0 +0100 +++ /var/tmp/diff_new_pack.FWQQdd/_new 2012-11-02 07:31:22.0 +0100 @@ -11,10 +11,11 @@ # 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/ # + %define modname docutils Name: python3-%{modname} Version:0.9 @@ -24,6 +25,8 @@ Group: Development/Languages/Python Url:http://docutils.sourceforge.net/ Source: http://downloads.sourceforge.net/project/%{modname}/%{modname}/%{version}/%{modname}-%{version}.tar.gz +# patch from upstream: r7486 Fix [3541369] Relative __import__ also with Python 3.3 +Patch0: r7486-python33-compat.patch BuildRequires: python3 BuildRequires: python3-2to3 BuildRequires: python3-devel @@ -44,7 +47,7 @@ %prep %setup -n %{modname}-%{version} - +%patch0 -p2 %build python3 setup.py build sed -i "s|#!\s*\/usr\/bin\/env python3||g" docutils/{math/math2html,_string_template_compat,error_reporting,writers/xetex/__init__,math/latex2mathml}.py # Fix non-executable scripts ++ r7486-python33-compat.patch ++ Index: trunk/docutils/docutils/parsers/__init__.py === --- trunk/docutils/docutils/parsers/__init__.py (revision 7485) +++ trunk/docutils/docutils/parsers/__init__.py (revision 7486) @@ -8,7 +8,10 @@ __docformat__ = 'reStructuredText' +import sys from docutils import Component +if sys.version_info < (2,5): +from docutils._compat import __import__ class Parser(Component): @@ -43,5 +46,5 @@ parser_name = parser_name.lower() if parser_name in _parser_aliases: parser_name = _parser_aliases[parser_name] -module = __import__(parser_name, globals(), locals()) +module = __import__(parser_name, globals(), locals(), level=1) return module.Parser Index: trunk/docutils/docutils/parsers/rst/directives/__init__.py === --- trunk/docutils/docutils/parsers/rst/directives/__init__.py (revision 7485) +++ trunk/docutils/docutils/parsers/rst/directives/__init__.py (revision 7486) @@ -10,8 +10,12 @@ import re import codecs +import sys + from docutils import nodes from docutils.parsers.rst.languages import en as _fallback_language_module +if sys.version_info < (2,5): +from docutils._compat import __import__ _directive_registry = { @@ -109,7 +113,7 @@ # Error handling done by caller. return None, messages try: -module = __import__(modulename, globals(), locals()) +module = __import__(modulename, globals(), locals(), level=1) except ImportError, detail: messages.append(document.reporter.error( 'Error importing directive module "%s" (directive "%
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2012-05-21 10:26:22 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2012-05-07 22:49:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2012-05-21 10:26:26.0 +0200 @@ -1,0 +2,23 @@ +Thu May 3 14:28:17 UTC 2012 - toddrme2...@gmail.com + +- Update to version 0.9: + * reStructuredText "code" role and directive with syntax +highlighting by Pygments_. + * "code" option of the "include" directive. + * Fix [ 3402314 ] allow non-ASCII whitespace, punctuation +characters and "international" quotes around inline markup. + * Fix handling of missing stylesheets. + * Fix [ 2971827 ] and [ 3442827 ] extras/roman.py moved to +docutils/utils/roman.py + * docutils.utils is now a package (providing a place for +sub-modules) + * change default for `math-output` setting to MathJax + * Support the `abbreviation` and `acronym` standard roles. + * Record only files required to generate the LaTeX source as +dependencies. + * Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions +when suppressing LaTeX section numbering. +- Cleaned up spec files +- Fix rpmlint warnings + +--- --- /work/SRC/openSUSE:Factory/python-docutils/python3-docutils.changes 2012-05-07 22:49:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python3-docutils.changes 2012-05-21 10:26:26.0 +0200 @@ -1,0 +2,30 @@ +Thu May 3 14:28:17 UTC 2012 - toddrme2...@gmail.com + +- Update to version 0.9: + * reStructuredText "code" role and directive with syntax +highlighting by Pygments_. + * "code" option of the "include" directive. + * Fix [ 3402314 ] allow non-ASCII whitespace, punctuation +characters and "international" quotes around inline markup. + * Fix handling of missing stylesheets. + * Fix [ 2971827 ] and [ 3442827 ] extras/roman.py moved to +docutils/utils/roman.py + * docutils.utils is now a package (providing a place for +sub-modules) + * change default for `math-output` setting to MathJax + * Support the `abbreviation` and `acronym` standard roles. + * Record only files required to generate the LaTeX source as +dependencies. + * Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions +when suppressing LaTeX section numbering. +- Cleaned up spec files +- Fix rpmlint warnings + +--- +Mon Apr 30 14:07:34 UTC 2012 - cfarr...@suse.com + +- license update: Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and + SUSE-Public-Domain + tools/editors/emacs/rst.el is GPL-3.0+ - see also COPYING file + +--- Old: docutils-0.8.1.tar.gz New: docutils-0.9.tar.gz Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.T9cyyR/_old 2012-05-21 10:26:27.0 +0200 +++ /var/tmp/diff_new_pack.T9cyyR/_new 2012-05-21 10:26:27.0 +0200 @@ -15,20 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -Name: python-docutils -Version:0.8.1 +%define modname docutils +Name: python-%{modname} +Version:0.9 Release:0 Summary:Python Documentation Utilities License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain Group: Development/Languages/Python Url:http://docutils.sourceforge.net/ -Source: http://downloads.sourceforge.net/project/docutils/docutils/%{version}/docutils-%{version}.tar.gz +Source: http://downloads.sourceforge.net/project/%{modname}/%{modname}/%{version}/%{modname}-%{version}.tar.gz BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} BuildRequires: python-xml Requires: python-xml +%py_requires %endif %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: pyxml @@ -48,7 +49,7 @@ easy-to-read, what-you-see-is-what-you-get plaintext markup syntax. %prep -%setup -n docutils-%{version} +%setup -n %{modname}-%{version} %build python setup.py build @@ -57,11 +58,15 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} for i in %{buildroot}%{_bindir}/rst*; do mv "$i" "${i/.py}"; done # Remove useless ".py" ending
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2012-05-07 22:49:42 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) Package is "python-docutils", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2011-09-26 10:14:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2012-05-07 22:49:51.0 +0200 @@ -1,0 +2,22 @@ +Mon Apr 30 14:07:34 UTC 2012 - cfarr...@suse.com + +- license update: Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and + SUSE-Public-Domain + tools/editors/emacs/rst.el is GPL-3.0+ - see also COPYING file + +--- +Fri Apr 27 14:07:19 UTC 2012 - toddrme2...@gmail.com + +- Fix building python 3 package on openSUSE 11.4 x86_64 + +--- +Tue Apr 24 09:02:35 UTC 2012 - sasc...@suse.de + +- Disable testsuite altogether, fails also on the bleeding_edge_* repos + +--- +Tue Feb 28 08:58:23 UTC 2012 - sasc...@suse.de + +- Fixed SLE_11_SP2 build by disabling the testsuite + +--- New Changes file: --- /dev/null 2012-05-03 01:24:41.895590051 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python3-docutils.changes 2012-05-07 22:49:51.0 +0200 @@ -0,0 +1,10 @@ +--- +Fri Apr 27 14:07:19 UTC 2012 - toddrme2...@gmail.com + +- Fix building python 3 package on openSUSE 11.4 x86_64 + +--- +Mon Apr 23 12:00:49 UTC 2012 - toddrme2...@gmail.com + +- Add python 3 package + New: python3-docutils.changes python3-docutils.spec Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.3RX93b/_old 2012-05-07 22:49:52.0 +0200 +++ /var/tmp/diff_new_pack.3RX93b/_new 2012-05-07 22:49:52.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-docutils # -# 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,17 +16,16 @@ # - Name: python-docutils Version:0.8.1 Release:0 -Url:http://docutils.sourceforge.net/ Summary:Python Documentation Utilities -License:public domain, Python, BSD-2-Clause, GPL (see COPYING.txt) +License:Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain Group: Development/Languages/Python -Source: http://downloads.sourceforge.net/project/docutils/docutils/0.8.1/docutils-0.8.1.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url:http://docutils.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/docutils/docutils/%{version}/docutils-%{version}.tar.gz BuildRequires: python-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} BuildRequires: python-xml Requires: python-xml @@ -35,15 +34,13 @@ BuildRequires: pyxml Requires: pyxml %endif -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -%endif Provides: docutils = %{version} Obsoletes: docutils < %{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 Docutils is a modular system for processing documentation into useful formats, @@ -55,23 +52,16 @@ %build python setup.py build -sed -i "1d" docutils/{math/math2html,_string_template_compat,error_reporting,writers/xetex/__init__,math/latex2mathml}.py # Fix non-executable scripts +sed -i "s|#!\s*\/usr\/bin\/env python||g" docutils/{math/math2html,_string_template_compat,error_reporting,writers/xetex/__init__,math/latex2mathml}.py # Fix non-executable scripts %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} for i in %{buildroot}%{_bindir}/rst*; do mv "$i" "${i/.py}"; done # Remove useless ".py" ending from e
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at Mon Sep 26 10:14:16 CEST 2011. --- python-docutils/python-docutils.changes 2011-09-21 12:17:05.0 +0200 +++ /mounts/work_src_done/STABLE/python-docutils/python-docutils.changes 2011-09-23 12:21:18.0 +0200 @@ -1,0 +2,7 @@ +Fri Sep 23 10:19:38 UTC 2011 - sasc...@suse.de + +- Fixed build: + * python-xml is only required on SUSE + * pyxml is required on Fedora (and RHEL) + +--- calling whatdependson for head-i586 Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.4YEiMc/_old 2011-09-26 10:14:12.0 +0200 +++ /var/tmp/diff_new_pack.4YEiMc/_new 2011-09-26 10:14:12.0 +0200 @@ -1,5 +1,5 @@ # -# spec file for package docutils +# spec file for package python-docutils # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -11,7 +11,7 @@ # 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/ # @@ -27,8 +27,14 @@ Source: http://downloads.sourceforge.net/project/docutils/docutils/0.8.1/docutils-0.8.1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +%if 0%{?suse_version} BuildRequires: python-xml Requires: python-xml +%endif +%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} +BuildRequires: pyxml +Requires: pyxml +%endif %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 @@ -55,8 +61,9 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} for i in %{buildroot}%{_bindir}/rst*; do mv "$i" "${i/.py}"; done # Remove useless ".py" ending from executables -%if ! 0%{?sles_version} -# Tests break SLE builds +# Tests break SLE and Mandriva builds +%if ! 0%{?sles_version} && ! 0%{?mandriva_version} + %check cd test && python alltests.py %endif 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-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at Thu Sep 22 12:57:08 CEST 2011. New Changes file: --- /dev/null 2010-08-26 16:28:41.0 +0200 +++ /mounts/work_src_done/STABLE/python-docutils/python-docutils.changes 2011-09-21 12:17:05.0 +0200 @@ -0,0 +1,132 @@ +--- +Wed Sep 21 10:15:51 UTC 2011 - sasc...@suse.de + +- Don't run tests on SLE, they break the build + +--- +Wed Sep 21 09:47:31 UTC 2011 - sasc...@suse.de + +- Renamed to python-docutils (from docutils), also fixes rpmlint + warning about naming policy +- Update to version 0.8.1: + * Change last file with Apache license to BSD-2-Clause and correct copyright +info for rst.el + * Fix tests under py3k. + * Clean up Babel language setting. Restores Sphinx compatibility. +- Changes from version 0.8.0: + * Some additions to the Docutils core are released under the 2-Clause BSD +license. + * Handle language codes according to BCP 47. + * If the specified langauage is not supported by Docutils, warn and fall +back to English. + * Math support: reStructuredText "math" role and directive, math and +math_block doctree elements. + * Orphaned "python" reader and "newlatex2e" writer moved to the sandbox. + * Added lithuanian mappings. +- Changes from version 0.7.0: + * Support SVG and SWF images + * Generate valid XHTML for centered images with targets. Use CSS classes +instead of "align" tags for image alignment. + * Preserve runs of spaces in 'inline literals'. + * Deprecate figure_footnotes setting. + * Rename use_latex_footnotes setting to docutils_footnotes. + * New latex_preamble setting. + * Use PDF standard fonts (Times/Helvetica/Courier) as default. + * hyperref package called with unicode option + * Drop the special output_encoding default ("latin-1"). The Docutils wide +default (usually "UTF-8") is used instead. +- Spec file cleanup: + * Removed outdated docutils-0.6-insecure-temp.patch + * Fixed non-executable scripts rpmlint warning + * Removed ".py" ending from executables in /usr/bin, this is what +other Python packages expect anyway + +--- +Sun Sep 18 17:17:12 UTC 2011 - jeng...@medozas.de + +- Remove redundant tags/sections from specfile + (cf. packaging guidelines) + +--- +Mon Dec 20 10:36:00 UTC 2010 - sasc...@suse.de + +- reduce rpmlint complaints: + * name in summary + * executables in doc package ('tools' folder) + +--- +Sun Dec 12 12:26:31 UTC 2010 - sasc...@gmx.de + +- update to 0.6 + * support for SVG and SWF images in HTML writer + * many improvements in LaTeX2e writer +- re-generated spec file with py2pack + * now builds for Fedora and Mandriva + +--- +Thu Mar 18 16:50:35 CET 2010 - matej...@suse.cz + +- update to 0.6 + * scaling figures/images by percents + * many improvements in LaTeX2e writer +- fixed insecure usage of temp files in emacs mode + (bnc#564366) + +--- +Tue Aug 11 15:14:34 CEST 2009 - matej...@suse.cz + +- build as noarch on new distros + +--- +Wed Aug 5 17:50:16 CEST 2009 - matej...@suse.cz + +- update to 0.5 + * added hebrew mappings + * configuration is now in UTF-8 + * minor fixes and refactoring + +--- +Tue Feb 28 16:46:02 CET 2006 - jmate...@suse.cz + +- updated to reflect python changes due to #149809 + +--- +Wed Jan 25 21:35:33 CET 2006 - m...@suse.de + +- converted neededforbuild to BuildRequires + +--- +Sun Jan 22 00:17:14 CET 2006 - cth...@suse.de + +- update to 0.4 + +--- +Tue May 31 11:13:03 CEST 2005 - lti...@suse.cz + +- update to 0.3.9 + +--- +Mon Jan 03 15:46:05 CET 2005 - mci...@suse.cz + +- update to 0.3.7 + +--- +Fri Jul 30 17:08:51 CEST 2004 - mci...@suse.cz + +- update to 0.3.5 + +--- +Mon May 31 09:58:18 CEST 2004 - mci...@suse.cz + +- updated to 0.3.3-alpha + +--- +Thu Mar 18 20:33:59 CET 2004 - mci...@suse.cz + +- corrected python dependency + +--- +Tue Feb 10 17:27: