commit
7013dac295
BIN
pandocfilters-1.5.0.tar.gz
Normal file
BIN
pandocfilters-1.5.0.tar.gz
Normal file
Binary file not shown.
46
python-pandocfilters.spec
Normal file
46
python-pandocfilters.spec
Normal 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.
|
||||
Loading…
x
Reference in New Issue
Block a user