Bump to python-lxml 4.6.2 82/250582/3 accepted/tizen_6.5_base accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_8.0_base accepted/tizen_base_dev sandbox/jinwang.an/python-lxml_4.6.2_20201230 sandbox/wangbiao/deb_support tizen_6.5_base tizen_7.0_base tizen_7.0_base_hotfix tizen_8.0_base accepted/tizen/6.5/base/20211028.055854 accepted/tizen/7.0/base/20221116.030057 accepted/tizen/7.0/base/hotfix/20221116.055508 accepted/tizen/8.0/base/20231005.045110 accepted/tizen/base/20210110.213318 accepted/tizen/base/20221115.103930 accepted/tizen/base/dev/20230602.081024 submit/tizen_6.5_base/20211028.134601 submit/tizen_base/20210105.001011 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
authorJinWang An <jinwang.an@samsung.com>
Wed, 30 Dec 2020 01:31:24 +0000 (10:31 +0900)
committerJinWang An <jinwang.an@samsung.com>
Mon, 4 Jan 2021 22:49:09 +0000 (07:49 +0900)
Change-Id: I252658cb1454c7d17d86be96289a9aacc42b3cd9
Signed-off-by: JinWang An <jinwang.an@samsung.com>
doc/licenses/BSD.txt
packaging/python-lxml.manifest [new file with mode: 0644]
packaging/python-lxml.spec [new file with mode: 0644]

index a76d0ed..136624a 100644 (file)
@@ -6,7 +6,7 @@ met:
 
   1. Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
-   
+
   2. Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in
      the documentation and/or other materials provided with the
diff --git a/packaging/python-lxml.manifest b/packaging/python-lxml.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python-lxml.spec b/packaging/python-lxml.spec
new file mode 100644 (file)
index 0000000..a7afa9d
--- /dev/null
@@ -0,0 +1,42 @@
+Name:           python-lxml
+Version:        4.6.2
+Release:        0
+Summary:        Powerful and Pythonic XML processing library
+License:        BSD-3-Clause and ElementTree
+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)
+%license doc/licenses/BSD.txt
+%license doc/licenses/elementtree.txt
+%{python_sitearch}/lxml/
+%{python_sitearch}/lxml-%{version}-py%{py_ver}.egg-info
+%exclude %{python_sitearch}/lxml/etree_defs.h
+
+
+%changelog