7ba971e
%global pypi_name cmarkgfm
7ba971e
7ba971e
Name:           python-%{pypi_name}
55efd3e
Version:        0.6.0
55efd3e
Release:        1%{?dist}
7ba971e
Summary:        Minimal bindings to GitHub's fork of cmark
7ba971e
7ba971e
License:        MIT
7ba971e
URL:            https://github.com/jonparrott/cmarkgfm
7ba971e
Source0:        %{pypi_source}
7ba971e
7ba971e
BuildRequires:  gcc
7ba971e
7ba971e
%description
7ba971e
Bindings to GitHub's cmark Minimalist bindings to GitHub's fork of cmark.
7ba971e
7ba971e
%package -n     python3-%{pypi_name}
7ba971e
Summary:        %{summary}
7ba971e
7ba971e
BuildRequires:  python3-devel
7ba971e
BuildRequires:  python3-cffi
7ba971e
BuildRequires:  python3-setuptools
7ba971e
BuildRequires:  python3-pytest
7ba971e
%{?python_provide:%python_provide python3-%{pypi_name}}
7ba971e
7ba971e
%description -n python3-%{pypi_name}
7ba971e
Bindings to GitHub's cmark Minimalist bindings to GitHub's fork of cmark.
7ba971e
7ba971e
%prep
7ba971e
%autosetup -n %{pypi_name}-%{version}
7ba971e
rm -rf %{pypi_name}.egg-info
7ba971e
chmod -x README.rst LICENSE.txt
7ba971e
7ba971e
%build
7ba971e
%py3_build
7ba971e
7ba971e
%install
7ba971e
%py3_install
7ba971e
7ba971e
%check
7ba971e
%pytest -v tests
7ba971e
7ba971e
%files -n python3-%{pypi_name}
7ba971e
%license LICENSE.txt
7ba971e
%doc README.rst
7ba971e
%{python3_sitearch}/%{pypi_name}/
7ba971e
%{python3_sitearch}/%{pypi_name}-%{version}-py*.egg-info/
7ba971e
7ba971e
%changelog
55efd3e
* Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-4
55efd3e
- Update to latest upstream release 0.6.0 (rhbz#1911858)
55efd3e
70b91e9
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-4
70b91e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
70b91e9
f18c44c
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.2-3
f18c44c
- Rebuilt for Python 3.10
f18c44c
a547528
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
a547528
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a547528
1d30ef5
* Fri Jan 01 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.2-1
1d30ef5
- Update to latest upstream release 0.5.2 (#1911858)
1d30ef5
489598e
* Mon Dec 14 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.1-1
489598e
- Update to latest upstream release 0.5.1 (#1906646)
489598e
866c140
* Thu Nov 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-1
866c140
- Update to latest upstream release 0.5.0 (#1900317)
866c140
7ba971e
* Fri Jul 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.2-2
7ba971e
- Run tests (rhbz#1827045)
7ba971e
7ba971e
* Thu Apr 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.2-1
7ba971e
- Initial package