diff --git a/cssselect2-0.2.2.tar.gz b/cssselect2-0.2.2.tar.gz deleted file mode 100644 index 5be0c80..0000000 --- a/cssselect2-0.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70485a680cd72b023f0ce5ae4dcd392e2b10f7280e20afdb1735334bd6af7e6a -size 31764 diff --git a/cssselect2-0.3.0.tar.gz b/cssselect2-0.3.0.tar.gz new file mode 100644 index 0000000..4479d4a --- /dev/null +++ b/cssselect2-0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc +size 29534 diff --git a/python-cssselect2.changes b/python-cssselect2.changes index d68faf4..5432a6b 100644 --- a/python-cssselect2.changes +++ b/python-cssselect2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Apr 1 14:58:45 UTC 2020 - Marketa Calabkova + +- Update to 0.3.0 + * Drop Python2 support + * Improve packaging and testing + ------------------------------------------------------------------- Fri Sep 13 10:29:09 UTC 2019 - Tomáš Chvátal diff --git a/python-cssselect2.spec b/python-cssselect2.spec index c5ea17f..aee2d79 100644 --- a/python-cssselect2.spec +++ b/python-cssselect2.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -19,21 +19,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-cssselect2 -Version: 0.2.2 +Version: 0.3.0 Release: 0 Summary: CSS selectors for Python ElementTree License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/Kozea/cssselect2/ 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: python-rpm-macros Requires: python-tinycss2 +Requires: python-webencodings BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest} BuildRequires: %{python_module tinycss2} +BuildRequires: %{python_module webencodings} # /SECTION %python_subpackages @@ -49,6 +51,7 @@ cssselect. %prep %setup -q -n cssselect2-%{version} sed -i '/addopts/d' setup.cfg +sed -i -e 's/pytest-.*//' setup.cfg %build %python_build @@ -62,7 +65,7 @@ export LANG=en_US.UTF-8 %pytest cssselect2/tests %files %{python_files} -%doc CHANGES README.rst +%doc README.rst %license LICENSE %{python_sitelib}/*