forked from pool/python-html2text
- Update to 3.200:
- Sorry, no changelog atm. - COPYING file on tarball, not outside it. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
0cd9339cbf
commit
0308eac375
@@ -15,16 +15,17 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: python-html2text
|
||||
Version: 3.101
|
||||
Version: 3.200.0
|
||||
Release: 0
|
||||
Url: http://www.aaronsw.com/2002/html2text/
|
||||
Summary: Turn HTML into equivalent Markdown-structured text
|
||||
License: GPL-3.0
|
||||
Group: Development/Languages/Python
|
||||
Source: html2text-%{version}.tar.bz2
|
||||
Source1: COPYING
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
@@ -34,14 +35,12 @@ BuildRequires: python-distribute
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%description
|
||||
Turn HTML into equivalent Markdown-structured text.
|
||||
|
||||
%prep
|
||||
%setup -q -n html2text-%{version}
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -52,6 +51,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_bindir}/html2text
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user