package created using the webbuild interface [release 0.7.1-1mamba;Fri Sep 25 2015]

This commit is contained in:
Davide Madrisan 2024-01-06 11:27:41 +01:00
parent 8f469eec92
commit 01201321dd
2 changed files with 55 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# python-mistune
A fast markdown parser in pure Python with renderer feature, inspired by marked and misaka.
A fast markdown parser in pure Python.

51
python-mistune.spec Normal file
View File

@ -0,0 +1,51 @@
Name: python-mistune
Version: 0.7.1
Release: 1mamba
Summary: A fast markdown parser in pure Python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://github.com/lepture/mistune
Source: https://github.com/lepture/mistune/archive/v%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 python-mistune' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
BuildRequires: Cython
BuildRequires: python-nose
BuildRequires: python-setuptools
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A fast markdown parser in pure Python with renderer feature, inspired by marked and misaka.
%description
%{summary}.
%prep
%setup -q -n mistune-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE README.rst
%changelog
* Fri Sep 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 0.7.1-1mamba
- package created using the webbuild interface