Blame SPECS/python-cssselect.spec

9af740
%global modname cssselect
9af740
9af740
%bcond_without tests
9af740
9af740
Name:           python-cssselect
9af740
Version:        0.9.2
9af740
Release:        17%{?dist}
9af740
Summary:        Parses CSS3 Selectors and translates them to XPath 1.0
9af740
9af740
License:        BSD
9af740
URL:            https://github.com/scrapy/cssselect
9af740
Source0:        %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz
9af740
9af740
BuildArch:      noarch
9af740
9af740
%global _description \
9af740
Cssselect parses CSS3 Selectors and translates them to XPath 1.0 expressions.\
9af740
Such expressions can be used in lxml or another XPath engine to find the\
9af740
matching elements in an XML or HTML document.
9af740
9af740
%description %{_description}
9af740
9af740
%package -n python3-%{modname}
9af740
Summary:        %{summary}
9af740
%{?python_provide:%python_provide python3-%{modname}}
9af740
BuildRequires:  python3-devel
9af740
BuildRequires:  python3-setuptools
9af740
%if %{with tests}
9af740
BuildRequires:  python3-lxml
9af740
%endif
9af740
9af740
%description -n python3-%{modname} %{_description}
9af740
9af740
Python 3 version.
9af740
9af740
%prep
9af740
%autosetup -n %{modname}-%{version}
9af740
mv %{modname}/tests.py .
9af740
9af740
%build
9af740
%py3_build
9af740
9af740
%install
9af740
%py3_install
9af740
9af740
%if %{with tests}
9af740
%check
9af740
%{__python3} tests.py -v
9af740
%endif
9af740
9af740
%files -n python3-%{modname}
9af740
%license LICENSE
9af740
%doc README.rst CHANGES AUTHORS
9af740
%{python3_sitelib}/%{modname}-*.egg-info/
9af740
%{python3_sitelib}/%{modname}/
9af740
9af740
%changelog
9af740
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-17
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9af740
9af740
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-16
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9af740
9af740
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-15
9af740
- Rebuilt for Python 3.9
9af740
9af740
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-14
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9af740
9af740
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-13
9af740
- Subpackage python2-cssselect has been removed
9af740
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
9af740
9af740
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-12
9af740
- Rebuilt for Python 3.8
9af740
9af740
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-11
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9af740
9af740
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-10
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9af740
9af740
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-9
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9af740
9af740
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-8
9af740
- Rebuilt for Python 3.7
9af740
9af740
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.2-7
9af740
- Update Python 2 dependency declarations to new packaging standards
9af740
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9af740
9af740
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-6
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9af740
9af740
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9af740
9af740
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-4
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9af740
9af740
* Tue Dec 20 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-3
9af740
- De-bootstrap for Python 3.6
9af740
9af740
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-2
9af740
- Rebuild for Python 3.6
9af740
9af740
* Sat Aug 27 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.9.2-1
9af740
- Update to 0.9.2
9af740
- Follow new packaging guidelines
9af740
9af740
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-10
9af740
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
9af740
9af740
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-9
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9af740
9af740
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 0.9.1-8
9af740
- Enable tests
9af740
9af740
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 0.9.1-7
9af740
- Rebuilt for Python3.5 rebuild
9af740
- Disable tests as (circular dependency with python-lxml)
9af740
9af740
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-6
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9af740
9af740
* Thu Aug 14 2014 Ralph Bean <rbean@redhat.com> - 0.9.1-5
9af740
- Modernize with_python3 conditional.
9af740
9af740
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-4
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9af740
9af740
* Thu May 15 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.9.1-3
9af740
- Enable tests again.
9af740
9af740
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.9.1-2
9af740
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
9af740
- Bootstrap test running (circular dependency with python-lxml)
9af740
9af740
* Fri Jan 17 2014 Eduardo Echeverria <echevemaster@gmail.com> 0.9.1-1
9af740
- Update to latest upstream.
9af740
- although this package have py3 support, the resultant python3 package 
9af740
  doesn't existed, reason? On install section, py3 setup install must be first,
9af740
  if not, with every running of setup.py install, setup.py overwrite the files, 
9af740
  this behaviour has been fixed
9af740
- Workaround for python2 macro in epel versions
9af740
- use python2 macro instead of python
9af740
9af740
* Thu Jul 25 2013 Eric Smith <brouhaha@fedoraproject.org> 0.8-1
9af740
- Update to latest upstream.
9af740
- Added Python 3 support.
9af740
- Added EL6 support (uses Python 2.6 rather than 2.7).
9af740
9af740
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-4
9af740
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9af740
9af740
* Fri Nov 09 2012 Kevin Fenzi <kevin@scrye.com> 0.7.1-3
9af740
- Add tests.
9af740
9af740
* Fri Nov 09 2012 Kevin Fenzi <kevin@scrye.com> 0.7.1-2
9af740
- Fixes from review. 
9af740
9af740
* Fri Nov 09 2012 Kevin Fenzi <kevin@scrye.com> 0.7.1-1
9af740
- Initial version for review
9af740
9af740