forked from pool/python-cssselect2
Accepting request 790635 from home:mcalabkova:branches:devel:languages:python
- Update to 0.3.0 * Drop Python2 support * Improve packaging and testing OBS-URL: https://build.opensuse.org/request/show/790635 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect2?expand=0&rev=14
This commit is contained in:
parent
e1b69f624a
commit
13b2a63a22
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:70485a680cd72b023f0ce5ae4dcd392e2b10f7280e20afdb1735334bd6af7e6a
|
|
||||||
size 31764
|
|
3
cssselect2-0.3.0.tar.gz
Normal file
3
cssselect2-0.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc
|
||||||
|
size 29534
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 1 14:58:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.3.0
|
||||||
|
* Drop Python2 support
|
||||||
|
* Improve packaging and testing
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 13 10:29:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Fri Sep 13 10:29:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-cssselect2
|
# spec file for package python-cssselect2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -19,21 +19,23 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-cssselect2
|
Name: python-cssselect2
|
||||||
Version: 0.2.2
|
Version: 0.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: CSS selectors for Python ElementTree
|
Summary: CSS selectors for Python ElementTree
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/Kozea/cssselect2/
|
URL: https://github.com/Kozea/cssselect2/
|
||||||
Source: https://files.pythonhosted.org/packages/source/c/cssselect2/cssselect2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/cssselect2/cssselect2-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools >= 39.2.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-tinycss2
|
Requires: python-tinycss2
|
||||||
|
Requires: python-webencodings
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tinycss2}
|
BuildRequires: %{python_module tinycss2}
|
||||||
|
BuildRequires: %{python_module webencodings}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -49,6 +51,7 @@ cssselect.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n cssselect2-%{version}
|
%setup -q -n cssselect2-%{version}
|
||||||
sed -i '/addopts/d' setup.cfg
|
sed -i '/addopts/d' setup.cfg
|
||||||
|
sed -i -e 's/pytest-.*//' setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -62,7 +65,7 @@ export LANG=en_US.UTF-8
|
|||||||
%pytest cssselect2/tests
|
%pytest cssselect2/tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user