From babbe94172576db81d62d0b9b5ad20aeb4ed6185 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:14:00 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.4-1mamba;Fri Oct 27 2017] --- README.md | 2 ++ python-html5-parser.spec | 48 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 python-html5-parser.spec diff --git a/README.md b/README.md index 75540b4..e16b64a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-html5-parser +A *fast*, standards compliant, C based, HTML 5 parser for python. + diff --git a/python-html5-parser.spec b/python-html5-parser.spec new file mode 100644 index 0000000..68df901 --- /dev/null +++ b/python-html5-parser.spec @@ -0,0 +1,48 @@ +Name: python-html5-parser +Version: 0.4.4 +Release: 1mamba +Summary: A *fast*, standards compliant, C based, HTML 5 parser for python +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.python.org/pypi/html5-parser +Source: https://pypi.debian.net/html5-parser/html5-parser-%{version}.tar.gz +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpython-devel +BuildRequires: libxml2-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n html5-parser-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{python_inc} \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +%files %{?pyappend} -f %{name}.filelist +%defattr(-,root,root) +%doc LICENSE + +%changelog +* Fri Oct 27 2017 Silvan Calarco 0.4.4-1mamba +- package created using the webbuild interface