commit a75a686a1732a3bb7a7743ac17ba9b4dc20a64f1 Author: tigro Date: Thu Dec 26 00:54:46 2024 +0300 import python-cssselect-1.1.0-11.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..93099a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cssselect-1.1.0.tar.gz diff --git a/.python-cssselect.metadata b/.python-cssselect.metadata new file mode 100644 index 0000000..ba0639b --- /dev/null +++ b/.python-cssselect.metadata @@ -0,0 +1 @@ +8d7a605f5751cd6a83f98a9a2bed8a362e51ed11 SOURCES/cssselect-1.1.0.tar.gz diff --git a/SPECS/python-cssselect.spec b/SPECS/python-cssselect.spec new file mode 100644 index 0000000..190e58e --- /dev/null +++ b/SPECS/python-cssselect.spec @@ -0,0 +1,213 @@ +%global modname cssselect + +%bcond_without tests + +Name: python-cssselect +Version: 1.1.0 +Release: 11%{?dist} +Summary: Parses CSS3 Selectors and translates them to XPath 1.0 + +# Automatically converted from old format: BSD - review is highly recommended. +License: LicenseRef-Callaway-BSD +URL: https://github.com/scrapy/cssselect +Source0: %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz + +BuildArch: noarch + +%global _description \ +Cssselect parses CSS3 Selectors and translates them to XPath 1.0 expressions.\ +Such expressions can be used in lxml or another XPath engine to find the\ +matching elements in an XML or HTML document. + +%description %{_description} + +%package -n python3-%{modname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{modname}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%if %{with tests} +BuildRequires: python3-lxml +BuildRequires: python3-pytest +%endif + +%description -n python3-%{modname} %{_description} + +Python 3 version. + +%prep +%autosetup -n %{modname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%if %{with tests} +%check +%pytest +%endif + +%files -n python3-%{modname} +%license LICENSE +%doc README.rst CHANGES AUTHORS +%{python3_sitelib}/%{modname}-*.egg-info/ +%{python3_sitelib}/%{modname}/ + +%changelog +* Thu Dec 26 2024 Arkady L. Shane - 1.1.0-11 +- Rebuilt for MSVSphere 10 + +* Wed Sep 04 2024 Miroslav Suchý - 1.1.0-11 +- convert license to SPDX + +* Fri Jul 19 2024 Fedora Release Engineering - 1.1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.1.0-9 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 1.1.0-5 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.1.0-2 +- Rebuilt for Python 3.11 + +* Sat Jun 11 2022 Kevin Fenzi - 1.1.0-1 +- Update to 1.1.0. + +* Fri Jan 21 2022 Fedora Release Engineering - 0.9.2-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.9.2-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jun 03 2021 Python Maint - 0.9.2-18 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.9.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.9.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat May 23 2020 Miro Hrončok - 0.9.2-15 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.9.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Sep 09 2019 Miro Hrončok - 0.9.2-13 +- Subpackage python2-cssselect has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Aug 17 2019 Miro Hrončok - 0.9.2-12 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.9.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.9.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.9.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Jun 17 2018 Miro Hrončok - 0.9.2-8 +- Rebuilt for Python 3.7 + +* Mon Feb 12 2018 Iryna Shcherbina - 0.9.2-7 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 0.9.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.9.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.9.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Dec 20 2016 Miro Hrončok - 0.9.2-3 +- De-bootstrap for Python 3.6 + +* Mon Dec 19 2016 Miro Hrončok - 0.9.2-2 +- Rebuild for Python 3.6 + +* Sat Aug 27 2016 Igor Gnatenko - 0.9.2-1 +- Update to 0.9.2 +- Follow new packaging guidelines + +* Tue Jul 19 2016 Fedora Release Engineering - 0.9.1-10 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 0.9.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Nov 06 2015 Robert Kuska - 0.9.1-8 +- Enable tests + +* Fri Nov 06 2015 Robert Kuska - 0.9.1-7 +- Rebuilt for Python3.5 rebuild +- Disable tests as (circular dependency with python-lxml) + +* Thu Jun 18 2015 Fedora Release Engineering - 0.9.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Aug 14 2014 Ralph Bean - 0.9.1-5 +- Modernize with_python3 conditional. + +* Sat Jun 07 2014 Fedora Release Engineering - 0.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 15 2014 Bohuslav Kabrda - 0.9.1-3 +- Enable tests again. + +* Wed May 14 2014 Bohuslav Kabrda - 0.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 +- Bootstrap test running (circular dependency with python-lxml) + +* Fri Jan 17 2014 Eduardo Echeverria 0.9.1-1 +- Update to latest upstream. +- although this package have py3 support, the resultant python3 package + doesn't existed, reason? On install section, py3 setup install must be first, + if not, with every running of setup.py install, setup.py overwrite the files, + this behaviour has been fixed +- Workaround for python2 macro in epel versions +- use python2 macro instead of python + +* Thu Jul 25 2013 Eric Smith 0.8-1 +- Update to latest upstream. +- Added Python 3 support. +- Added EL6 support (uses Python 2.6 rather than 2.7). + +* Thu Feb 14 2013 Fedora Release Engineering - 0.7.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Nov 09 2012 Kevin Fenzi 0.7.1-3 +- Add tests. + +* Fri Nov 09 2012 Kevin Fenzi 0.7.1-2 +- Fixes from review. + +* Fri Nov 09 2012 Kevin Fenzi 0.7.1-1 +- Initial version for review + +