- 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: OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=1
This commit is contained in:
commit
321a37a8eb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
docutils-0.8.1.tar.gz
Normal file
3
docutils-0.8.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5a3b776518257a59fefaf48ef1e0635bc1179f8cafb02a9cc84c9644bb25df71
|
||||||
|
size 1499832
|
127
python-docutils.changes
Normal file
127
python-docutils.changes
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 21 09:47:31 UTC 2011 - saschpe@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 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections from specfile
|
||||||
|
(cf. packaging guidelines)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 20 10:36:00 UTC 2010 - saschpe@suse.de
|
||||||
|
|
||||||
|
- reduce rpmlint complaints:
|
||||||
|
* name in summary
|
||||||
|
* executables in doc package ('tools' folder)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 12 12:26:31 UTC 2010 - saschpe@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 - matejcik@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 - matejcik@suse.cz
|
||||||
|
|
||||||
|
- build as noarch on new distros
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 5 17:50:16 CEST 2009 - matejcik@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 - jmatejek@suse.cz
|
||||||
|
|
||||||
|
- updated to reflect python changes due to #149809
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:35:33 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 22 00:17:14 CET 2006 - cthiel@suse.de
|
||||||
|
|
||||||
|
- update to 0.4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 31 11:13:03 CEST 2005 - ltinkl@suse.cz
|
||||||
|
|
||||||
|
- update to 0.3.9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 03 15:46:05 CET 2005 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- update to 0.3.7
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 30 17:08:51 CEST 2004 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- update to 0.3.5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 31 09:58:18 CEST 2004 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- updated to 0.3.3-alpha
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 18 20:33:59 CET 2004 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- corrected python dependency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 10 17:27:34 CET 2004 - vinil@suse.cz
|
||||||
|
|
||||||
|
- initial version (CVS from 2004-02-10)
|
||||||
|
|
67
python-docutils.spec
Normal file
67
python-docutils.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
#
|
||||||
|
# spec file for package docutils
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Name: 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)
|
||||||
|
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
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-xml
|
||||||
|
Requires: python-xml
|
||||||
|
%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()")}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Docutils is a modular system for processing documentation into useful formats,
|
||||||
|
such as HTML, XML, and LaTeX. For input Docutils supports reStructuredText, an
|
||||||
|
easy-to-read, what-you-see-is-what-you-get plaintext markup syntax.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n docutils-%{version}
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%check
|
||||||
|
cd test && python alltests.py
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING.txt FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/* licenses
|
||||||
|
%{_bindir}/rst*
|
||||||
|
%python_sitelib/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user