|
rdobuilder |
ea0526 |
%bcond_without tests
|
|
|
363831 |
|
|
|
363831 |
Name: python-soupsieve
|
|
rdobuilder |
ea0526 |
Version: 2.2.1
|
|
rdobuilder |
ea0526 |
Release: 2%{?dist}
|
|
|
363831 |
Summary: CSS selector library
|
|
|
363831 |
|
|
|
363831 |
License: MIT
|
|
|
363831 |
URL: https://github.com/facelessuser/soupsieve
|
|
|
363831 |
Source0: https://github.com/facelessuser/soupsieve/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
363831 |
|
|
|
363831 |
BuildArch: noarch
|
|
|
363831 |
|
|
|
363831 |
BuildRequires: python3-devel
|
|
|
363831 |
BuildRequires: python3dist(setuptools)
|
|
|
363831 |
%if %{with tests}
|
|
|
363831 |
BuildRequires: python3-pytest
|
|
|
363831 |
BuildRequires: python3dist(lxml)
|
|
|
363831 |
BuildRequires: python3dist(html5lib)
|
|
|
363831 |
BuildRequires: python3dist(beautifulsoup4)
|
|
|
363831 |
%endif
|
|
|
363831 |
|
|
|
363831 |
%global _description %{expand:
|
|
|
363831 |
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4.
|
|
|
363831 |
It aims to provide selecting, matching, and filtering using modern CSS
|
|
|
363831 |
selectors. Soup Sieve currently provides selectors from the CSS level 1
|
|
|
363831 |
specifications up through the latest CSS level 4 drafts and beyond (though some
|
|
|
363831 |
are not yet implemented).
|
|
|
363831 |
|
|
|
363831 |
Soup Sieve was written with the intent to replace Beautiful Soup's builtin
|
|
|
363831 |
select feature, and as of Beautiful Soup version 4.7.0, it now is. Soup Sieve
|
|
|
363831 |
can also be imported in order to use its API directly for more controlled,
|
|
|
363831 |
specialized parsing.
|
|
|
363831 |
|
|
|
363831 |
Soup Sieve has implemented most of the CSS selectors up through the latest CSS
|
|
|
363831 |
draft specifications, though there are a number that don't make sense in a
|
|
|
363831 |
non-browser environment. Selectors that cannot provide meaningful functionality
|
|
|
363831 |
simply do not match anything.}
|
|
|
363831 |
|
|
|
363831 |
%description %_description
|
|
|
363831 |
|
|
|
363831 |
%package -n python3-soupsieve
|
|
|
363831 |
Summary: %{summary}
|
|
|
363831 |
%{?python_provide:%python_provide python3-soupsieve}
|
|
|
363831 |
|
|
|
363831 |
%description -n python3-soupsieve %_description
|
|
|
363831 |
|
|
|
363831 |
%prep
|
|
|
363831 |
%autosetup -n soupsieve-%{version}
|
|
|
363831 |
|
|
|
363831 |
%build
|
|
|
363831 |
%py3_build
|
|
|
363831 |
|
|
|
363831 |
%install
|
|
|
363831 |
%py3_install
|
|
|
363831 |
|
|
|
363831 |
%if %{with tests}
|
|
|
363831 |
%check
|
|
rdobuilder |
ea0526 |
# test_contains_cdata_html and test_contains_own_cdata_html are disabled to unblock Python 3.10 rebuild
|
|
rdobuilder |
ea0526 |
# downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1962458
|
|
rdobuilder |
ea0526 |
pytest-3 -v tests -k 'not test_namespace_xml_with_namespace and not test_contains_cdata_html and not test_contains_own_cdata_html'
|
|
|
363831 |
%endif
|
|
|
363831 |
|
|
|
363831 |
%files -n python3-soupsieve
|
|
|
363831 |
%{python3_sitelib}/soupsieve/
|
|
|
363831 |
%{python3_sitelib}/soupsieve*.egg-info/
|
|
|
363831 |
%doc README.md
|
|
|
363831 |
%license LICENSE.md
|
|
|
363831 |
|
|
|
363831 |
%changelog
|
|
rdobuilder |
ea0526 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
|
|
rdobuilder |
ea0526 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
ea0526 |
|
|
rdobuilder |
ea0526 |
* Wed Jun 9 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2.1-1
|
|
rdobuilder |
ea0526 |
- Update to latest bugfix version
|
|
rdobuilder |
ea0526 |
|
|
rdobuilder |
ea0526 |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.2-3
|
|
rdobuilder |
ea0526 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
ea0526 |
|
|
rdobuilder |
ea0526 |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.2-2
|
|
rdobuilder |
ea0526 |
- Bootstrap for Python 3.10
|
|
rdobuilder |
ea0526 |
|
|
|
363831 |
* Sat Feb 13 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2-1
|
|
|
363831 |
- Latest version (#1927002)
|
|
|
363831 |
|
|
|
363831 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
363831 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
363831 |
|
|
|
363831 |
* Thu Jan 07 2021 Joel Capitao <jcapitao@redhat.com> - 2.1.0-1
|
|
|
363831 |
- Update to 2.1.0 (#1906625)
|
|
|
363831 |
|
|
|
363831 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
|
|
|
363831 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
363831 |
|
|
|
363831 |
* Fri Jun 26 2020 Charalampos Stratakis <cstratak@redhat.com> - 2.0.1-1
|
|
|
363831 |
- Update to 2.0.1 (#1814999)
|
|
|
363831 |
|
|
|
363831 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.9.2-6
|
|
|
363831 |
- Rebuilt for Python 3.9
|
|
|
363831 |
|
|
|
363831 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.9.2-5
|
|
|
363831 |
- Bootstrap for Python 3.9
|
|
|
363831 |
|
|
|
363831 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-4
|
|
|
363831 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
363831 |
|
|
|
363831 |
* Tue Sep 03 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.2-3
|
|
|
363831 |
- Subpackage python2-soupsieve has been removed (#1748298)
|
|
|
363831 |
|
|
|
363831 |
* Mon Aug 19 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.2-2
|
|
|
363831 |
- Rebuilt for Python 3.8
|
|
|
363831 |
|
|
|
363831 |
* Mon Jun 10 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.2-1
|
|
|
363831 |
- Initial packaging
|