|
|
8b25d7 |
%global upname mistune
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%global common_description %{expand:
|
|
|
8b25d7 |
The fastest markdown parser in pure Python, inspired by marked.}
|
|
|
8b25d7 |
|
|
|
8b25d7 |
Name: python-mistune
|
|
|
8b25d7 |
Version: 0.8.3
|
|
|
8b25d7 |
Release: 15%{?dist}
|
|
|
8b25d7 |
Summary: Markdown parser for Python
|
|
|
8b25d7 |
|
|
|
8b25d7 |
License: BSD
|
|
|
8b25d7 |
URL: https://github.com/lepture/mistune
|
|
|
8b25d7 |
Source0: https://github.com/lepture/mistune/archive/v%{version}.tar.gz
|
|
|
8b25d7 |
|
|
|
8b25d7 |
BuildRequires: gcc
|
|
|
8b25d7 |
|
|
|
8b25d7 |
BuildRequires: python3-Cython
|
|
|
8b25d7 |
BuildRequires: python3-devel
|
|
|
8b25d7 |
BuildRequires: python3-pytest
|
|
|
8b25d7 |
BuildRequires: python3-setuptools
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%description %{common_description}
|
|
|
8b25d7 |
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%package -n python3-%{upname}
|
|
|
8b25d7 |
Summary: %{summary}
|
|
|
8b25d7 |
%{?python_provide:%python_provide python3-%{upname}}
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%description -n python3-%{upname} %{common_description}
|
|
|
8b25d7 |
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%prep
|
|
|
8b25d7 |
%setup -q -n %{upname}-%{version}
|
|
|
8b25d7 |
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%build
|
|
|
8b25d7 |
%py3_build
|
|
|
8b25d7 |
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%install
|
|
|
8b25d7 |
%py3_install
|
|
|
8b25d7 |
|
|
|
8b25d7 |
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch}
|
|
|
8b25d7 |
%{_fixperms} %{buildroot}/*
|
|
|
8b25d7 |
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%check
|
|
|
8b25d7 |
%pytest
|
|
|
8b25d7 |
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%files -n python3-%{upname}
|
|
|
8b25d7 |
%doc README.rst
|
|
|
8b25d7 |
%license LICENSE
|
|
|
8b25d7 |
%{python3_sitearch}/%{upname}.*
|
|
|
8b25d7 |
%{python3_sitearch}/%{upname}-%{version}-py%{python3_version}.egg-info/
|
|
|
8b25d7 |
%{python3_sitearch}/__pycache__/%{upname}*
|
|
|
8b25d7 |
|
|
|
8b25d7 |
|
|
|
8b25d7 |
%changelog
|
|
|
8b25d7 |
* Mon Feb 08 2021 Charalampos Stratakis <cstratak@redhat.com> - 0.8.3-15
|
|
|
8b25d7 |
- Run the tests with pytest instead of nose
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-14
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-13
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-12
|
|
|
8b25d7 |
- Rebuilt for Python 3.9
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-11
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Thu Nov 14 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-10
|
|
|
8b25d7 |
- Subpackage python2-mistune has been removed
|
|
|
8b25d7 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Thu Sep 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-9
|
|
|
8b25d7 |
- Modernize packaging, drop build dependency on python2-Cython
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-8
|
|
|
8b25d7 |
- Rebuilt for Python 3.8
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-7
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-6
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-5
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.3-4
|
|
|
8b25d7 |
- Rebuilt for Python 3.7
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-3
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.3-2
|
|
|
8b25d7 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
8b25d7 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Tue Dec 19 2017 Christian Dersch <lupinix@fedoraproject.org> - 0.8.3-1
|
|
|
8b25d7 |
- new version (0.8.3)
|
|
|
8b25d7 |
- fixes CVE-2017-15612 and CVE-2017-16876
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.3-7
|
|
|
8b25d7 |
- Python 2 binary package renamed to python2-mistune
|
|
|
8b25d7 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-6
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-5
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-4
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.3-3
|
|
|
8b25d7 |
- Rebuild for Python 3.6
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-2
|
|
|
8b25d7 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Mon Jul 04 2016 Christian Dersch <lupinix@mailbox.org> - 0.7.3-1
|
|
|
8b25d7 |
- new version
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Sat Feb 27 2016 Christian Dersch <lupinix@mailbox.org> - 0.7.2-1
|
|
|
8b25d7 |
- new version
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-2
|
|
|
8b25d7 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Wed Sep 23 2015 Christian Dersch <lupinix@fedoraproject.org> - 0.7.1-1
|
|
|
8b25d7 |
- new version
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Wed Jun 17 2015 Christian Dersch <lupinix@fedoraproject.org> - 0.6-1
|
|
|
8b25d7 |
- new upstream release
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Mon Apr 20 2015 Christian Dersch <lupinix@fedoraproject.org> - 0.5.1-1
|
|
|
8b25d7 |
- new upstream release (0.5.1)
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Fri Dec 5 2014 Christian Dersch <lupinix@fedoraproject.org> - 0.5-1
|
|
|
8b25d7 |
- new upstream release
|
|
|
8b25d7 |
- enabled tests
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Thu Dec 4 2014 Christian Dersch <lupinix@fedoraproject.org> - 0.4.1-2
|
|
|
8b25d7 |
- spec fixes
|
|
|
8b25d7 |
|
|
|
8b25d7 |
* Thu Dec 4 2014 Christian Dersch <lupinix@fedoraproject.org> - 0.4.1-1
|
|
|
8b25d7 |
- initial spec
|