diff --git a/lxml-4.0.0.tar.gz b/lxml-4.0.0.tar.gz deleted file mode 100644 index 8d85465..0000000 --- a/lxml-4.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7bc9f702500e205b1560d620f14015fec76dcd6f9e889a946a2ddcc3c344fd0 -size 4217301 diff --git a/lxml-4.1.1.tar.gz b/lxml-4.1.1.tar.gz new file mode 100644 index 0000000..ff7f6f0 --- /dev/null +++ b/lxml-4.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:940caef1ec7c78e0c34b0f6b94fe42d0f2022915ffc78643d28538a5cfd0f40e +size 2380804 diff --git a/lxmldoc-4.0.0.pdf b/lxmldoc-4.0.0.pdf deleted file mode 100644 index c853eb2..0000000 --- a/lxmldoc-4.0.0.pdf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c025f4c18aa3d6b4dd23ba034eea4170b0df26b0830df4d7e10c72fd326cff3 -size 1138534 diff --git a/lxmldoc-4.1.1.pdf b/lxmldoc-4.1.1.pdf new file mode 100644 index 0000000..2b6f55e --- /dev/null +++ b/lxmldoc-4.1.1.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7062db228fd4a3e41ba74a04e0cb0d336cbd3b51c70b12a7a9c5aa7cabab73f +size 1142132 diff --git a/python-lxml.changes b/python-lxml.changes index ad0c31b..adfc91e 100644 --- a/python-lxml.changes +++ b/python-lxml.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Feb 8 12:34:33 UTC 2018 - mimi.vx@gmail.com + +- update to 4.1.1 + - ElementPath supports text predicates for current node, like "[.='text']". + - ElementPath allows spaces in predicates. + - Custom Element classes and XPath functions can now be registered with + a decorator rather than explicit dict assignments. + - LP#1722776: Requesting non-Element objects like comments from + a document with PythonElementClassLookup could fail with a TypeError. + ------------------------------------------------------------------- Tue Oct 31 14:24:25 UTC 2017 - jmatejek@suse.com diff --git a/python-lxml.spec b/python-lxml.spec index 0d0ec37..017186c 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,7 +1,7 @@ # # spec file for package python-lxml # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,26 +18,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-lxml -Version: 4.0.0 +Version: 4.1.1 Release: 0 Summary: Pythonic XML processing library -License: BSD-3-Clause and GPL-2.0+ +License: BSD-3-Clause AND GPL-2.0+ Group: Development/Languages/Python Url: https://lxml.de/ Source: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz Source1: http://lxml.de/lxmldoc-%{version}.pdf -BuildRequires: %{python_module Cython >= 0.22.1} +BuildRequires: %{python_module Cython >= 0.26.1} +BuildRequires: %{python_module cssselect >= 0.9.1} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools >= 18.0.1} BuildRequires: fdupes BuildRequires: libxml2-devel >= 2.7.0 BuildRequires: libxslt-devel >= 1.1.23 BuildRequires: python-rpm-macros -# Needed for test cases: -BuildRequires: %{python_module cssselect >= 0.9.1} Requires: python-cssselect >= 0.9.1 -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %python_subpackages %description @@ -93,10 +90,10 @@ export CFLAGS="%{optflags}" export LANG=en_US.UTF-8 export PYTHONUNBUFFERED=x %if 0%{?have_python2} -make test +make %{?_smp_mflags} test %endif %if 0%{?have_python3} -make test3 +make %{?_smp_mflags} test3 %endif %install @@ -104,7 +101,6 @@ make test3 %fdupes %{buildroot} %files %{python_files} -%defattr(-,root,root) %doc CHANGES.txt CREDITS.txt LICENSES.txt README.rst %{python_sitearch}/lxml/ %{python_sitearch}/lxml-%{version}-py%{python_version}.egg-info @@ -112,12 +108,10 @@ make test3 %exclude %{python_sitearch}/lxml/includes/*.h %files %{python_files devel} -%defattr(-,root,root) %{python_sitearch}/lxml/*.h %{python_sitearch}/lxml/includes/*.h %files %{python_files doc} -%defattr(-,root,root) %doc doc/html lxmldoc-%{version}.pdf %changelog