- Update to 1.1.0:

* Support for the :scope selector, which allows to access immediate children of a selector.
  * Support for the |E syntax for type selectors without a namespace.
  * A new selector method, canonical, returns the CSS expression of the selector, as a string.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=19
This commit is contained in:
Tomáš Chvátal 2019-09-13 10:35:30 +00:00 committed by Git OBS Bridge
parent 91e274edf1
commit 7ea1eb5203
4 changed files with 25 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:066d8bc5229af09617e24b3ca4d52f1f9092d9e061931f4184cd572885c23204
size 22824

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 13 10:31:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.1.0:
* Support for the :scope selector, which allows to access immediate children of a selector.
* Support for the |E syntax for type selectors without a namespace.
* A new selector method, canonical, returns the CSS expression of the selector, as a string.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:47:02 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:47:02 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-cssselect # spec file for package python-cssselect
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,18 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cssselect Name: python-cssselect
Version: 1.0.3 Version: 1.1.0
Release: 0 Release: 0
Summary: CSS3 selectors for Python Summary: CSS3 selectors for Python
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://packages.python.org/cssselect/ URL: https://github.com/scrapy/cssselect
Source: https://pypi.io/packages/source/c/cssselect/cssselect-%{version}.tar.gz Source: https://github.com/scrapy/cssselect/archive/v%{version}.tar.gz
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -48,10 +49,14 @@ extracted as a stand-alone project.
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %python_files %check
%defattr(-,root,root,-) %pytest
%files %{python_files}
%{python_sitelib}/* %{python_sitelib}/*
%doc README.rst LICENSE CHANGES AUTHORS %license LICENSE
%doc README.rst CHANGES AUTHORS
%changelog %changelog

3
v1.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dde8c1d4a2c82de6889a3af1c1adbce1a6f3ec08b07a854d873f3f3da92960af
size 35516