|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%bcond_without tests
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
Name: python-soupsieve
|
|
rdobuilder |
f6582b |
Version: 2.6
|
|
rdobuilder |
f6582b |
Release: 2%{?dist}
|
|
rdobuilder |
f6582b |
Summary: CSS selector library
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
License: MIT
|
|
rdobuilder |
f6582b |
URL: https://github.com/facelessuser/soupsieve
|
|
rdobuilder |
f6582b |
Source0: https://github.com/facelessuser/soupsieve/archive/%{version}/%{name}-%{version}.tar.gz
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
BuildArch: noarch
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
BuildRequires: python3-devel
|
|
rdobuilder |
f6582b |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
f6582b |
BuildRequires: python3-pytest
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%global _description %{expand:
|
|
rdobuilder |
f6582b |
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4.
|
|
rdobuilder |
f6582b |
It aims to provide selecting, matching, and filtering using modern CSS
|
|
rdobuilder |
f6582b |
selectors. Soup Sieve currently provides selectors from the CSS level 1
|
|
rdobuilder |
f6582b |
specifications up through the latest CSS level 4 drafts and beyond (though some
|
|
rdobuilder |
f6582b |
are not yet implemented).
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
Soup Sieve was written with the intent to replace Beautiful Soup's builtin
|
|
rdobuilder |
f6582b |
select feature, and as of Beautiful Soup version 4.7.0, it now is. Soup Sieve
|
|
rdobuilder |
f6582b |
can also be imported in order to use its API directly for more controlled,
|
|
rdobuilder |
f6582b |
specialized parsing.
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
Soup Sieve has implemented most of the CSS selectors up through the latest CSS
|
|
rdobuilder |
f6582b |
draft specifications, though there are a number that don't make sense in a
|
|
rdobuilder |
f6582b |
non-browser environment. Selectors that cannot provide meaningful functionality
|
|
rdobuilder |
f6582b |
simply do not match anything.}
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%description %_description
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%package -n python3-soupsieve
|
|
rdobuilder |
f6582b |
Summary: %{summary}
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%description -n python3-soupsieve %_description
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%prep
|
|
rdobuilder |
f6582b |
%autosetup -n soupsieve-%{version}
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
# Do not run coverage report during check
|
|
rdobuilder |
f6582b |
sed -i -e '/coverage/d' -e '/pytest-cov/d' requirements/tests.txt
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%generate_buildrequires
|
|
rdobuilder |
f6582b |
%pyproject_buildrequires -w %{?with_tests:-r requirements/tests.txt}
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%build
|
|
rdobuilder |
f6582b |
%pyproject_wheel
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%install
|
|
rdobuilder |
f6582b |
%pyproject_install
|
|
rdobuilder |
f6582b |
%pyproject_save_files soupsieve
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%if %{with tests}
|
|
rdobuilder |
f6582b |
%check
|
|
rdobuilder |
f6582b |
%pytest -v
|
|
rdobuilder |
f6582b |
%endif
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%files -n python3-soupsieve -f %{pyproject_files}
|
|
rdobuilder |
f6582b |
%license LICENSE.md
|
|
rdobuilder |
f6582b |
%doc README.md
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
%changelog
|
|
rdobuilder |
f6582b |
* Tue Aug 13 2024 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.6-2
|
|
rdobuilder |
f6582b |
- Reenable tests that were failing with Python 3.10
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Tue Aug 13 2024 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.6-1
|
|
rdobuilder |
f6582b |
- Version 2.6 (rhbz#2304326)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-6
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.5-5
|
|
rdobuilder |
f6582b |
- Rebuilt for Python 3.13
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.5-4
|
|
rdobuilder |
f6582b |
- Bootstrap for Python 3.13
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-3
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Wed Sep 06 2023 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.5-1
|
|
rdobuilder |
f6582b |
- Version 2.5 (rhbz#2236980)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-7
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 2.4.1-6
|
|
rdobuilder |
f6582b |
- Rebuilt for Python 3.12
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon Jun 26 2023 Python Maint <python-maint@redhat.com> - 2.4.1-5
|
|
rdobuilder |
f6582b |
- Bootstrap for Python 3.12
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 2.4.1-4
|
|
rdobuilder |
f6582b |
- Rebuilt for Python 3.12
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.4.1-3
|
|
rdobuilder |
f6582b |
- Bootstrap for Python 3.12
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon May 29 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 2.4.1-2
|
|
rdobuilder |
f6582b |
- Avoid tox dependency
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Sat May 20 2023 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.4.1-1
|
|
rdobuilder |
f6582b |
- Version 2.4.1 (rhbz#2187123)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Wed Feb 22 2023 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.4-1
|
|
rdobuilder |
f6582b |
- Version 2.4 (rhbz#2169774)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2.post1-8
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2.post1-7
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon Jul 11 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 2.3.2.post1-6
|
|
rdobuilder |
f6582b |
- Explicitly list the license file
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon Jul 11 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 2.3.2.post1-5
|
|
rdobuilder |
f6582b |
- Fix pyproject_buildrequires invocation for hatchling backend
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon Jul 11 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 2.3.2.post1-4
|
|
rdobuilder |
f6582b |
- Remove obsolete workaround for rhbz#1985340
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.3.2.post1-3
|
|
rdobuilder |
f6582b |
- Rebuilt for Python 3.11
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.3.2.post1-2
|
|
rdobuilder |
f6582b |
- Bootstrap for Python 3.11
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Apr 22 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.3.2.post1-1
|
|
rdobuilder |
f6582b |
- Version 2.3.2.post1 (rhbz#2072609)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Tue Feb 08 2022 Miro Hrončok <miro@hroncok.cz> - 2.3.1-4
|
|
rdobuilder |
f6582b |
- Remove deprecated and redundant %%python_provide call
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Tue Feb 08 2022 Steve Traylen <steve.traylen@cern.ch> - 2.3.1-3
|
|
rdobuilder |
f6582b |
- Convert to pyproject macros
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Sat Nov 13 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.3.1-1
|
|
rdobuilder |
f6582b |
- Version 2.3.1 (fixes #2022380)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Sun Nov 07 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.3-1
|
|
rdobuilder |
f6582b |
- Version 2.3 (fixes #2019960)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Wed Jun 9 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2.1-1
|
|
rdobuilder |
f6582b |
- Update to latest bugfix version
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.2-3
|
|
rdobuilder |
f6582b |
- Rebuilt for Python 3.10
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.2-2
|
|
rdobuilder |
f6582b |
- Bootstrap for Python 3.10
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Sat Feb 13 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2-1
|
|
rdobuilder |
f6582b |
- Latest version (#1927002)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Thu Jan 07 2021 Joel Capitao <jcapitao@redhat.com> - 2.1.0-1
|
|
rdobuilder |
f6582b |
- Update to 2.1.0 (#1906625)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Fri Jun 26 2020 Charalampos Stratakis <cstratak@redhat.com> - 2.0.1-1
|
|
rdobuilder |
f6582b |
- Update to 2.0.1 (#1814999)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.9.2-6
|
|
rdobuilder |
f6582b |
- Rebuilt for Python 3.9
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.9.2-5
|
|
rdobuilder |
f6582b |
- Bootstrap for Python 3.9
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-4
|
|
rdobuilder |
f6582b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Tue Sep 03 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.2-3
|
|
rdobuilder |
f6582b |
- Subpackage python2-soupsieve has been removed (#1748298)
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon Aug 19 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.2-2
|
|
rdobuilder |
f6582b |
- Rebuilt for Python 3.8
|
|
rdobuilder |
f6582b |
|
|
rdobuilder |
f6582b |
* Mon Jun 10 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.2-1
|
|
rdobuilder |
f6582b |
- Initial packaging
|
|
rdobuilder |
f6582b |
|