forked from pool/python-cssselect
- 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:
committed by
Git OBS Bridge
parent
91e274edf1
commit
7ea1eb5203
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,18 +18,19 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cssselect
|
||||
Version: 1.0.3
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: CSS3 selectors for Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://packages.python.org/cssselect/
|
||||
Source: https://pypi.io/packages/source/c/cssselect/cssselect-%{version}.tar.gz
|
||||
URL: https://github.com/scrapy/cssselect
|
||||
Source: https://github.com/scrapy/cssselect/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -48,10 +49,14 @@ extracted as a stand-alone project.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %python_files
|
||||
%defattr(-,root,root,-)
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/*
|
||||
%doc README.rst LICENSE CHANGES AUTHORS
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGES AUTHORS
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user