Accepting request 181898 from Cloud:OpenStack:Master

- 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.
  * <code> 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.

OBS-URL: https://build.opensuse.org/request/show/181898
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=20
This commit is contained in:
Alexandre Rogoski 2013-07-03 16:06:19 +00:00 committed by Git OBS Bridge
parent 190272c5bb
commit 558bcb3109
5 changed files with 1532 additions and 6 deletions

3
docutils-0.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:370624e61b6773da2f2fb17cc2a4eaea4bb596c3585d13f75ff193c1c738603e
size 1602552

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff49bf77e9135490a73740d884b418ab8b982ad16ee52cfe796d059c592ea245
size 1534138

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Jul 3 15:37:57 UTC 2013 - dmueller@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.
* <code> 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.
-------------------------------------------------------------------
Tue Nov 20 19:34:53 UTC 2012 - saschpe@suse.de

View File

@ -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 @@ easy-to-read, what-you-see-is-what-you-get plaintext markup syntax.
%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

File diff suppressed because it is too large Load Diff