15
0

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
This commit is contained in:
Todd R
2017-06-09 20:22:32 +00:00
committed by Git OBS Bridge
parent 35226cba31
commit ba152d6d74
2 changed files with 16 additions and 26 deletions

View File

@@ -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

View File

@@ -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 jgms 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,
Ive 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 jgms 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 jgms 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,
Ive 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