Update to 0.8.1

epel9
Julien Enselme 6 years ago
parent eeb096779c
commit db44147d53

1
.gitignore vendored

@ -1,3 +1,4 @@
/CommonMark-0.5.4.tar.gz /CommonMark-0.5.4.tar.gz
/CommonMark-0.7.2.tar.gz /CommonMark-0.7.2.tar.gz
/CommonMark-0.7.5.tar.gz /CommonMark-0.7.5.tar.gz
/commonmark-0.8.1.tar.gz

@ -11,31 +11,19 @@ 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). so far seems to work (all tests pass on 2.7, 3.3, and 3.4).
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 0.7.5 Version: 0.8.1
Release: 3%{?dist} Release: 1%{?dist}
Summary: Python parser for the CommonMark Markdown spec Summary: Python parser for the CommonMark Markdown spec
License: BSD License: BSD
URL: https://pypi.python.org/pypi/%{pypi_name} URL: https://pypi.python.org/pypi/%{pypi_name}
Source0: https://files.pythonhosted.org/packages/77/16/44a297228a439484d049cdad818c7f6691c162b4cd741c619caeb208bb1e/CommonMark-0.7.5.tar.gz Source0: https://files.pythonhosted.org/packages/21/ba/5133e424a9112aa76cf09ce82cbc2af712691f4a80abd123b6de3aa47f07/commonmark-0.8.1.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
%{desc} %{desc}
%package -n python2-%{pypi_name}
BuildRequires: python2-devel
BuildRequires: python2-future
BuildRequires: python2-hypothesis
Requires: python2-future
Suggests: python-CommonMark-doc
Summary: %{summary}
%{?python_provide:%python_provide python2-%{pypi_name}}
%description -n python2-%{pypi_name}
%{desc}
%package doc %package doc
Summary: Documentation for python-%{pypi_name} Summary: Documentation for python-%{pypi_name}
@ -60,20 +48,18 @@ Summary: %{summary}
%prep %prep
%setup -qn %{pypi_name}-%{version} %setup -qn commonmark-%{version}
# Fix non executable scripts # Fix non executable scripts
sed -i '1{\@^#!/usr/bin/env python@d}' CommonMark/tests/run_spec_tests.py sed -i '1{\@^#!/usr/bin/env python@d}' commonmark/tests/run_spec_tests.py
sed -i '1{\@^#!/usr/bin/env python@d}' CommonMark/cmark.py sed -i '1{\@^#!/usr/bin/env python@d}' commonmark/cmark.py
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py2_install
%py3_install %py3_install
@ -82,20 +68,15 @@ export LC_ALL='en_US.utf8'
export LC_CTYPE='en_US.utf8' export LC_CTYPE='en_US.utf8'
export LANG=en_US.utf8 export LANG=en_US.utf8
export PYTHONIOENCODING=UTF-8 export PYTHONIOENCODING=UTF-8
PYTHONPATH=$(pwd) %{__python2} setup.py test
PYTHONPATH=$(pwd) %{__python3} setup.py test PYTHONPATH=$(pwd) %{__python3} setup.py test
%files -n python2-%{pypi_name}
%license LICENSE
%{python2_sitelib}/%{pypi_name}-%{version}-py%{python2_version}.egg-info
%{python2_sitelib}/%{pypi_name}/
%files -n python3-%{pypi_name} %files -n python3-%{pypi_name}
%license LICENSE %license LICENSE
%{_bindir}/cmark %{_bindir}/cmark
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/commonmark-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/commonmark/
%files doc %files doc
%license LICENSE %license LICENSE
@ -103,6 +84,10 @@ PYTHONPATH=$(pwd) %{__python3} setup.py test
%changelog %changelog
* Tue Oct 02 2018 Julien Enselme <jujens@jujens.eu> - 0.8.1-1
- Update to 0.8.1
- Remove Python 2 subpackage
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-3 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

@ -1 +1 @@
SHA512 (CommonMark-0.7.5.tar.gz) = b0e3c4fea6c99b51c541054ecfe887935c2cc517a82df86da1d9cb4914189652326ec5b543cbbcb40ec43e5e09c285c47f5304ca1907764692e659c540591bdd SHA512 (commonmark-0.8.1.tar.gz) = dbab51d45c1973a8d0906148d785fb8ddc2b52177dfe0e69fe79bef2a5eb05a5a7ab8693852f4aaa8545af19d741569d04a24f06ea65171e6e80d9f66af47fdf

Loading…
Cancel
Save