diff --git a/2022.3.4.tar.gz b/2022.3.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5cb62f3a40cb765c5aabf57dda1f9a2a66b58b33 Binary files /dev/null and b/2022.3.4.tar.gz differ diff --git a/python-cmarkgfm.spec b/python-cmarkgfm.spec new file mode 100644 index 0000000000000000000000000000000000000000..c171ed6c8d92cd0e5d6ea69da49139633e090e83 --- /dev/null +++ b/python-cmarkgfm.spec @@ -0,0 +1,52 @@ +%global pypi_name cmarkgfm +%global real_version 0.8.0 + +Name: python-%{pypi_name} +Version: 2022.3.4 +Release: 1 +Summary: Minimal bindings to GitHub's fork of cmark + +License: MIT +URL: https://github.com/theacodes/%{pypi_name} +Source0: https://github.com/theacodes/%{pypi_name}/archive/refs/tags/%{version}.tar.gz + +BuildRequires: gcc + +%description +Bindings to GitHub's cmark Minimalist bindings to GitHub's fork of cmark. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-cffi +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Bindings to GitHub's cmark Minimalist bindings to GitHub's fork of cmark. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info +chmod -x README.rst LICENSE.txt + +%build +%py3_build + +%install +%py3_install + +#%check +#%pytest -v tests + +%files -n python3-%{pypi_name} +%license LICENSE.txt +%doc README.rst +%{python3_sitearch}/%{pypi_name}/ +%{python3_sitearch}/%{pypi_name}-%{real_version}-py*.egg-info/ + +%changelog +* Sun Apr 24 2022 liweiganga 2022.3.4-1 +- inital package