!1 package init

Merge pull request !1 from zhangkea/master
This commit is contained in:
openeuler-ci-bot 2021-12-13 12:22:51 +00:00 committed by Gitee
commit 7013dac295
2 changed files with 46 additions and 0 deletions

BIN
pandocfilters-1.5.0.tar.gz Normal file

Binary file not shown.

46
python-pandocfilters.spec Normal file
View File

@ -0,0 +1,46 @@
%global pypi_name pandocfilters
Name: python-%{pypi_name}
Version: 1.5.0
Release: 1
Summary: Utilities for writing pandoc filters in python
License: BSD-3-Clause
URL: http://github.com/jgm/pandocfilters
Source0: https://files.pythonhosted.org/packages/source/%/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
A python module for writing pandoc filters
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
A python module for writing pandoc filters
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/%{pypi_name}.py
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog
* Fri Nov 12 2021 zhangkea <zhangkea@uniontech.com> - 1.5.0-1
- Initial package.