Accepting request 200350 from home:TheBlackCat:branches:devel:languages:python

- Update to 0.11
- Use pypi url and download
- Replace rpmlint-non-executable scripts.diff with sed in the spec file

OBS-URL: https://build.opensuse.org/request/show/200350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=24
This commit is contained in:
Todd R 2013-09-24 10:54:44 +00:00 committed by Git OBS Bridge
parent 898dc78255
commit cbf6bdfc5d
5 changed files with 40 additions and 1523 deletions

View File

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

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

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

View File

@ -1,3 +1,31 @@
Tue Sep 24 09:48:27 UTC 2013 - toddrme2178@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
-------------------------------------------------------------------
Mon Sep 16 12:09:22 UTC 2013 - tchvatal@suse.com

View File

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

File diff suppressed because it is too large Load Diff