From ba152d6d74cf88574a8dd15a76dbac2e77b8808b05aba61d323a4a9a555c96ad Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 9 Jun 2017 20:22:32 +0000 Subject: [PATCH] Accepting request 502639 from home:jengelh:branches:devel:languages:python - A roadmap does not belong into the description. - Resolve typographicly wrong apostrophe. OBS-URL: https://build.opensuse.org/request/show/502639 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CommonMark?expand=0&rev=6 --- python-CommonMark.changes | 6 ++++++ python-CommonMark.spec | 36 ++++++++++-------------------------- 2 files changed, 16 insertions(+), 26 deletions(-) diff --git a/python-CommonMark.changes b/python-CommonMark.changes index 8f9d380..ea9238d 100644 --- a/python-CommonMark.changes +++ b/python-CommonMark.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 9 13:22:57 UTC 2017 - jengelh@inai.de + +- A roadmap does not belong into the description. +- Resolve typographicly wrong apostrophe. + ------------------------------------------------------------------- Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com diff --git a/python-CommonMark.spec b/python-CommonMark.spec index 0ad625e..fd8a261 100644 --- a/python-CommonMark.spec +++ b/python-CommonMark.spec @@ -26,11 +26,11 @@ License: BSD-3-Clause Group: Development/Languages/Python Url: https://pypi.python.org/pypi/CommonMark Source: https://files.pythonhosted.org/packages/source/C/CommonMark/CommonMark-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module future} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: %{python_module future} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} Requires: python-future BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -46,41 +46,27 @@ Obsoletes: python3-commonmark < %{version} %python_subpackages %description -Pure Python port of jgm’s stmd.js, a Markdown parser and renderer for the -CommonMark specification, using only native modules. Once both this project and -the CommonMark specification are stable we will release the first 1.0 version -and attempt to keep up to date with changes in stmd.js. - -We are currently at the same development stage (actually a bit ahead because we -have implemented HTML entity conversion and href URL escaping) as stmd.js. Since -Python versions pre-3.4 use outdated (i.e. not HTML5 spec) entity conversion, -I’ve converted the 3.4 implementation into a single file, entitytrans.py which -so far seems to work (all tests pass on 2.7, 3.3, and 3.4). +Pure Python port of jgm's stmd.js, a Markdown parser and renderer for the +CommonMark specification, using only native modules. %package -n %{name}-doc Summary: Documentation for CommonMark +Group: Documentation/HTML Provides: %{python_module CommonMark-doc = %{version}} %description -n %{name}-doc -Documentation for Pure Python port of jgm’s stmd.js, a Markdown parser and +Documentation for Pure Python port of jgm's stmd.js, a Markdown parser and renderer for the CommonMark specification, using only native modules. %package -n cmark-python Summary: CommonMark parsing and rendering program in python +Group: Development/Languages/Python Requires: pyython3-CommonMark = %{version} Conflicts: cmark %description -n cmark-python -Pure Python port of jgm’s stmd.js, a Markdown parser and renderer for the -CommonMark specification, using only native modules. Once both this project and -the CommonMark specification are stable we will release the first 1.0 version -and attempt to keep up to date with changes in stmd.js. - -We are currently at the same development stage (actually a bit ahead because we -have implemented HTML entity conversion and href URL escaping) as stmd.js. Since -Python versions pre-3.4 use outdated (i.e. not HTML5 spec) entity conversion, -I’ve converted the 3.4 implementation into a single file, entitytrans.py which -so far seems to work (all tests pass on 2.7, 3.3, and 3.4). +Pure Python port of jgm's stmd.js, a Markdown parser and renderer for the +CommonMark specification, using only native modules. This package provides the "cmark" executable, to avoid conflicts with other implementations. @@ -101,14 +87,12 @@ find CommonMark -name "*.py" | xargs sed -i '1 {/^#!/ d}' %python_expand %fdupes %{buildroot}%{$python_sitelib} - # Test broken due to encoding issue # %check # export LANG=en_US.UTF-8 # export PYTHONPATH=%{buildroot}%{python_sitelib} # python setup.py test - %files %{python_files} %defattr(-,root,root,-) %doc README.rst LICENSE