Python2 binary package has been removed
This commit is contained in:
parent
4eb8d1df4f
commit
412b8966e4
@ -1,7 +1,7 @@
|
||||
%global srcname pyudev
|
||||
Name: python-%{srcname}
|
||||
Version: 0.21.0
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: A libudev binding
|
||||
|
||||
License: LGPLv2+
|
||||
@ -22,95 +22,6 @@ PyPy 1.5 or newer. It is tested against udev 151 or newer, earlier
|
||||
versions of udev as found on dated Linux systems may work, but are not
|
||||
officially supported.
|
||||
|
||||
%package -n python2-%{srcname}
|
||||
Summary: A libudev binding
|
||||
%{?python_provide:%python_provide python2-%{srcname}}
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
|
||||
# Dependencies for libraries loaded through ctypes
|
||||
# glibc is needed for pipe2. This is not needed in the python3 package.
|
||||
Requires: glibc
|
||||
|
||||
# Needed for libudev
|
||||
Requires: systemd-libs
|
||||
|
||||
# Used for python2/3 compatibility
|
||||
Requires: python2-six
|
||||
|
||||
%description -n python2-%{srcname}
|
||||
pyudev is a LGPL licensed, pure Python binding for libudev, the device
|
||||
and hardware management and information library for Linux. It supports
|
||||
almost all libudev functionality, you can enumerate devices, query device
|
||||
properties and attributes or monitor devices, including asynchronous
|
||||
monitoring with threads, or within the event loops of Qt, Glib or wxPython.
|
||||
|
||||
The binding supports CPython 2 (2.6 or newer) and 3 (3.1 or newer), and
|
||||
PyPy 1.5 or newer. It is tested against udev 151 or newer, earlier
|
||||
versions of udev as found on dated Linux systems may work, but are not
|
||||
officially supported.
|
||||
|
||||
%package -n python2-%{srcname}-glib
|
||||
Summary: GLib integration for pyudev
|
||||
|
||||
Requires: pygobject2
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-glib
|
||||
GLib integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.glib that contains classes for
|
||||
integrating a pyudev monitor with the GLib main loop.
|
||||
|
||||
%package -n python2-%{srcname}-qt4
|
||||
Summary: Qt4 integration for pyudev
|
||||
|
||||
Requires: python2-qt4
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-qt4
|
||||
Qt4 integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.pyqt4 that contains classes for
|
||||
integrating a pyudev monitor with the Qt4 main loop.
|
||||
|
||||
%package -n python2-%{srcname}-qt5
|
||||
Summary: Qt5 integration for pyudev
|
||||
|
||||
Requires: python2-qt5
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-qt5
|
||||
Qt5 integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.pyqt5 that contains classes for
|
||||
integrating a pyudev monitor with the Qt4 main loop.
|
||||
|
||||
%package -n python2-%{srcname}-pyside
|
||||
Summary: PySide integration for pyudev
|
||||
|
||||
Requires: python2-pyside
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-pyside
|
||||
PySide integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.pyside that contains classes for
|
||||
integrating a pyudev monitor with the PySide main loop.
|
||||
|
||||
%package -n python2-%{srcname}-wx
|
||||
Summary: wxPython integration for pyudev
|
||||
|
||||
Requires: python2-wxpython
|
||||
Requires: python2-%{srcname} = %{version}-%{release}
|
||||
|
||||
%description -n python2-%{srcname}-wx
|
||||
wxPython integration for pyudev.
|
||||
|
||||
This package provides a module pyudev.wx that contains classes for
|
||||
integrating a pyudev montior with the wxPython main loop.
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: A libudev binding
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
@ -165,44 +76,11 @@ integrating a pyudev monitor with the Qt5 main loop.
|
||||
rm -rf pyudev.egg-info
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%files -n python2-%{srcname}
|
||||
%license COPYING
|
||||
%doc README.rst CHANGES.rst
|
||||
%{python2_sitelib}/pyudev/
|
||||
%{python2_sitelib}/pyudev-%{version}-*.egg-info
|
||||
%exclude %{python2_sitelib}/pyudev/glib.py*
|
||||
%exclude %{python2_sitelib}/pyudev/pyqt4.py*
|
||||
%exclude %{python2_sitelib}/pyudev/pyqt5.py*
|
||||
%exclude %{python2_sitelib}/pyudev/pyside.py*
|
||||
%exclude %{python2_sitelib}/pyudev/wx.py*
|
||||
|
||||
%files -n python2-%{srcname}-glib
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/glib.py*
|
||||
|
||||
%files -n python2-%{srcname}-qt4
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/pyqt4.py*
|
||||
|
||||
%files -n python2-%{srcname}-qt5
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/pyqt5.py*
|
||||
|
||||
%files -n python2-%{srcname}-pyside
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/pyside.py*
|
||||
|
||||
%files -n python2-%{srcname}-wx
|
||||
%license COPYING
|
||||
%{python2_sitelib}/pyudev/wx.py*
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license COPYING
|
||||
%doc README.rst CHANGES.rst
|
||||
@ -230,6 +108,10 @@ rm -rf pyudev.egg-info
|
||||
%{python3_sitelib}/pyudev/__pycache__/pyqt5.*
|
||||
|
||||
%changelog
|
||||
* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.21.0-9
|
||||
- Python2 binary package has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user