b9a64e5
%global upstream_name selenium
b9a64e5
b9a64e5
Name:          python-%{upstream_name}
05458a2
Version:       3.14.0
b65ca93
Release:       4%{?dist}
b9a64e5
Summary:       Python bindings for Selenium
b9a64e5
License:       ASL 2.0
b9a64e5
URL:           http://docs.seleniumhq.org/
fe00a0a
Source0:       https://files.pythonhosted.org/packages/source/s/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
b9a64e5
213f884
BuildArch:     noarch
213f884
213f884
Patch1:        selenium-use-without-bundled-libs.patch
213f884
213f884
%description
213f884
The selenium package is used automate web browser interaction from Python.
213f884
213f884
Several browsers/drivers are supported (Firefox, Chrome, Internet Explorer,
213f884
PhantomJS), as well as the Remote protocol.
213f884
b9a64e5
b9a64e5
%package -n python3-%{upstream_name}
b9a64e5
Summary:       Python bindings for Selenium
213f884
%{?python_provide:%python_provide python3-%{upstream_name}}
b9a64e5
b9a64e5
BuildRequires: python3-devel
b9a64e5
BuildRequires: python3-setuptools
6e93d57
Requires:      python3-rdflib
b9a64e5
BuildArch:     noarch
b9a64e5
b9a64e5
%description -n python3-%{upstream_name}
b9a64e5
The selenium package is used automate web browser interaction from Python.
b9a64e5
b9a64e5
Several browsers/drivers are supported (Firefox, Chrome, Internet Explorer,
b9a64e5
PhantomJS), as well as the Remote protocol.
b9a64e5
b9a64e5
%prep
2c8f216
%setup -qn %{upstream_name}-%{version}
b9a64e5
rm -r %{upstream_name}.egg-info
b9a64e5
2c8f216
find . -type f -name "*.py" -exec sed -i '1{/^#!/d;}' {} \;
b9a64e5
501b1f6
%patch1 -p2
b9a64e5
b9a64e5
%build
fb4495a
%py3_build
b9a64e5
b9a64e5
%install
fb4495a
%py3_install
b9a64e5
rm -f %{buildroot}%{python3_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so
b9a64e5
rm -f %{buildroot}%{python3_sitelib}/selenium/webdriver/firefox/x86/x_ignore_nofocus.so
b9a64e5
b9a64e5
%files -n python3-%{upstream_name}
fb4495a
%{python3_sitelib}/%{upstream_name}*
501b1f6
%doc README.rst
b9a64e5
b9a64e5
%changelog
b65ca93
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.0-4
b65ca93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b65ca93
5b7542a
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 3.14.0-3
5b7542a
- Rebuilt for Python 3.9
5b7542a
e8b6944
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.0-2
e8b6944
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e8b6944
05458a2
* Tue Jan 07 2020 Matthias Runge <mrunge@redhat.com> - 3.14.0-1
05458a2
- update to 3.14 (rhbz#1595006)
05458a2
7bbb1e2
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-8
7bbb1e2
- Rebuilt for Python 3.8.0rc1 (#1748018)
7bbb1e2
f17ed36
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-7
f17ed36
- Rebuilt for Python 3.8
f17ed36
8ea3824
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-6
8ea3824
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8ea3824
8dee8c8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-5
8dee8c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
8dee8c8
fb4495a
* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-4
fb4495a
- Remove python2 subpackage
fb4495a
57cb3ca
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-3
57cb3ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
57cb3ca
3c30bdf
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-2
3c30bdf
- Rebuilt for Python 3.7
3c30bdf
57484f5
* Wed May 09 2018 Matthias Runge <mrunge@redhat.com> - 3.12.0-1
57484f5
- update to 3.12.0 (rhbz#1431116)
57484f5
47826d5
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.7.0-4
47826d5
- Update Python 2 dependency declarations to new packaging standards
47826d5
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
47826d5
6733b08
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
6733b08
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6733b08
889788c
* Tue Jan 16 2018 Troy Dawson <tdawson@redhat.com> - 3.7.0-2
889788c
- Update conditionals
889788c
501b1f6
* Mon Nov 27 2017 Lumír Balhar <lbalhar@redhat.com> - 3.7.0-1
501b1f6
- New upstream version
501b1f6
7e20019
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.53.6-5
7e20019
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7e20019
b95e9e6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.53.6-4
b95e9e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b95e9e6
a27848b
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.53.6-3
a27848b
- Rebuild for Python 3.6
a27848b
c7451ac
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.53.6-2
c7451ac
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
c7451ac
7577f4d
* Mon Jul 04 2016 Matthias Runge <mrunge@redhat.com> - 2.53.6-1
7577f4d
- upstream version 2.53.6
7577f4d
db19314
* Wed Jun 15 2016 Matthias Runge <mrunge@redhat.com> - 2.53.5-1
db19314
- upstream version 2.53.5
db19314
fe00a0a
* Fri Jun 10 2016 Matthias Runge <mrunge@redhat.com> - 2.53.4-1
fe00a0a
- upstream version 2.53.4
fe00a0a
1145130
* Wed May 18 2016 Matthias Runge <mrunge@redhat.com> - 2.53.2-1
1145130
- update to 2.53.2
1145130
5fef93c
* Fri Feb 12 2016 Matthias Runge <mrunge@redhat.com> - 2.52.0-1
5fef93c
- update to 2.52.0
5fef93c
7f8dd24
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.49.0-2
7f8dd24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7f8dd24
213f884
* Mon Jan 18 2016 Matthias Runge <mrunge@redhat.com> - 2.49.0-1
213f884
- update to 2.49.0 (rhbz#1298407)
213f884
- spec cleanup, add py2 subpackage
213f884
Robert Kuska c7c0dc7
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 2.48.0-2
Robert Kuska c7c0dc7
- Rebuilt for Python3.5 rebuild
Robert Kuska c7c0dc7
09ff4da
* Wed Oct 14 2015 Dhiru Kholia <dhiru@openwall.com> - 2.48.0-1
09ff4da
- update to 2.48.0
09ff4da
80c4cf5
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.45.0-2
80c4cf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
80c4cf5
77d09ac
* Mon Mar 02 2015 Matthias Runge <mrunge@redhat.com> - 2.45.0-1
77d09ac
- update to 2.45.0 to fix compat issues with Firefox 36 (rhbz#1196922)
77d09ac
b567ba7
* Mon Feb 23 2015 Matthias Runge <mrunge@redhat.com> - 2.44.0-1
b567ba7
- update to 2.44.0
b567ba7
6e93d57
* Mon Oct 20 2014 Matthias Runge <mrunge@redhat.com> - 2.43.0-1
6e93d57
- update to 2.43.0
6e93d57
- correct deps for py3 version (rhbz#1116470)
6e93d57
8ed471b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.42.1-3
8ed471b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8ed471b
2c8f216
* Fri May 30 2014 Matthias Runge <mrunge@redhat.com> - 2.42.1-1
b9cd051
- rebuilt for python3.4 feature
2c8f216
- update to 2.42.1
2c8f216
- minor specs cleanup
b9cd051
e3a6b37
* Fri Apr 04 2014 Dhiru Kholia <dhiru@openwall.com> - 2.41.0-1
e3a6b37
- update to new upstream version
e3a6b37
b9a64e5
* Thu Feb 27 2014 Dhiru Kholia <dhiru@openwall.com> - 2.40.0-2
b9a64e5
- fixed shebangs (BZ #1070125)
b9a64e5
b9a64e5
* Wed Feb 26 2014 Dhiru Kholia <dhiru@openwall.com> - 2.40.0-1
b9a64e5
- initial version