From: Anas Nashif Date: Fri, 9 Nov 2012 20:20:16 +0000 (-0800) Subject: Rebase for python-lxml 4.3.0 X-Git-Tag: accepted/tizen/base/20190201.061422~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f80ed126b4570cfb089e09706b2a2c4c1b0866f5;p=platform%2Fupstream%2Fpython-lxml.git Rebase for python-lxml 4.3.0 Change-Id: Ica8f63f9313eedc2654c68cdbfece535513b91fb Signed-off-by: Hyunjee Kim --- diff --git a/packaging/python-lxml.manifest b/packaging/python-lxml.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/python-lxml.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python-lxml.spec b/packaging/python-lxml.spec new file mode 100644 index 0000000..8de7f9b --- /dev/null +++ b/packaging/python-lxml.spec @@ -0,0 +1,41 @@ +Name: python-lxml +Version: 2.3.4 +Release: 0 +Summary: Powerful and Pythonic XML processing library +License: BSD-3-Clause and GPL-2.0+ +Group: Development/Languages/Python +Url: http://lxml.de/ +Source: http://pypi.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz +Source1001: python-lxml.manifest +BuildRequires: libxslt-devel +#BuildRequires: python-Cython +BuildRequires: python-devel +BuildRequires: pkgconfig(libxml-2.0) + +%description +lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It +provides safe and convenient access to these libraries using the ElementTree +API. It extends the ElementTree API significantly to offer support for XPath, +RelaxNG, XML Schema, XSLT, C14N and much more. + + +%prep +%setup -q -n lxml-%{version} +cp %{SOURCE1001} . + +%build +CFLAGS="%{optflags}" python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%doc LICENSES.txt +%{python_sitearch}/lxml/ +%{python_sitearch}/lxml-%{version}-py%{py_ver}.egg-info +%exclude %{python_sitearch}/lxml/etree_defs.h + + +%changelog