14
0

2 Commits

Author SHA256 Message Date
3ec6cba154 Accepting request 1224558 from devel:languages:python
Forwarded request #1224459 from glaubitz

- Update to 2.0.1
    * Breaking change: its seems no longer possible to use the
      html parser with a xml file so its no longer tested
    * Drop support for python 3.7
  - Refresh make_webtest_optional.patch

OBS-URL: https://build.opensuse.org/request/show/1224558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyquery?expand=0&rev=25
2024-11-17 15:39:35 +00:00
029e2af74f Accepting request 1224459 from home:glaubitz:branches:devel:languages:python
- Update to 2.0.1
  * Breaking change: its seems no longer possible to use the
    html parser with a xml file so its no longer tested
  * Drop support for python 3.7
- Refresh make_webtest_optional.patch

OBS-URL: https://build.opensuse.org/request/show/1224459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyquery?expand=0&rev=48
2024-11-16 08:48:37 +00:00
2 changed files with 4 additions and 11 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Wed Jun 11 05:49:31 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 15 13:38:40 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Fri Nov 15 13:38:40 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyquery # spec file for package python-pyquery
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2024 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
@@ -38,9 +38,7 @@ Source: https://files.pythonhosted.org/packages/source/p/pyquery/pyquery
Patch0: make_webtest_optional.patch Patch0: make_webtest_optional.patch
BuildRequires: %{python_module cssselect >= 1.2.0} BuildRequires: %{python_module cssselect >= 1.2.0}
BuildRequires: %{python_module lxml >= 2.1} BuildRequires: %{python_module lxml >= 2.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-cssselect >= 1.2.0 Requires: python-cssselect >= 1.2.0
@@ -65,11 +63,11 @@ XML and HTML manipulation.
%autosetup -p1 -n pyquery-%{version} %autosetup -p1 -n pyquery-%{version}
%build %build
%pyproject_wheel %python_build
%install %install
%if !%{with test} %if !%{with test}
%pyproject_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif
@@ -85,7 +83,7 @@ XML and HTML manipulation.
%license LICENSE.txt %license LICENSE.txt
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%{python_sitelib}/pyquery/ %{python_sitelib}/pyquery/
%{python_sitelib}/pyquery-%{version}.dist-info %{python_sitelib}/pyquery-%{version}*-info
%endif %endif
%changelog %changelog