Your message dated Wed, 28 Mar 2018 09:00:13 +0000
with message-id <[email protected]>
and subject line Bug#893659: fixed in python-ethtool 0.12-1.2
has caused the Debian Bug report #893659,
regarding Please add Python 3 support
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
893659: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893659
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-ethtool
Severity: important
Tags: patch
Hi,
Please add support for Python 3 in this package. I have attached a patch to do
exactly that. If you don't have time, please allow me to NMU.
Note that the patch was made against the Git in Alioth, though it doesn't take
into account the NMU version currently in Sid. So it would have to be fixed
for that.
Last, this is important for me, because I've switched all of OpenStack to
Python 3, and this is on my way to finish the work (and this would fix the
RC bug: #892882).
Cheers,
Thomas Goirand (zigo)
From e5a221f6a0be7b6d12f1809cd8d84e25f440745a Mon Sep 17 00:00:00 2001
From: Thomas Goirand <[email protected]>
Date: Tue, 20 Mar 2018 22:40:03 +0000
Subject: [PATCH] * ran wrap-and-sort -bast. * Add Python 3 support. *
Standards-Version is now 4.1.3.
---
debian/changelog | 9 +++++++++
debian/control | 42 +++++++++++++++++++++++++++++++++++++-----
debian/copyright | 4 +---
debian/rules | 15 +++++++++++++--
4 files changed, 60 insertions(+), 10 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 26c0b76..be8bc43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-ethtool (0.12-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * ran wrap-and-sort -bast.
+ * Add Python 3 support.
+ * Standards-Version is now 4.1.3.
+
+ -- Thomas Goirand <[email protected]> Tue, 20 Mar 2018 22:35:22 +0000
+
python-ethtool (0.12-1) unstable; urgency=medium
* [ea5192b] Fix some other gcc5 warnings.
diff --git a/debian/control b/debian/control
index c346c13..5201912 100644
--- a/debian/control
+++ b/debian/control
@@ -1,17 +1,49 @@
Source: python-ethtool
Section: python
Priority: extra
-Uploaders: Miroslav Suchý <[email protected]>
+Uploaders:
+ Miroslav Suchý <[email protected]>,
Maintainer: Bernd Zeimetz <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.6.6-3~),
libnl-route-3-dev, asciidoc, pkg-config, libxml2-utils, docbook-xml, xsltproc,
sgml-data, libxml2, docbook-xsl, docbook-xml
-Standards-Version: 3.9.3
+Build-Depends:
+ asciidoc,
+ debhelper,
+ docbook-xml,
+ docbook-xsl,
+ libnl-route-3-dev,
+ libxml2,
+ libxml2-utils,
+ pkg-config,
+ python-all-dev,
+ python-setuptools,
+ python3-all-dev,
+ python3-setuptools,
+ sgml-data,
+ xsltproc,
+Standards-Version: 4.1.3
Homepage: https://fedorapeople.org/cgit/dsommers/public_git/python-ethtool.git/
Vcs-Browser:
http://anonscm.debian.org/gitweb/?p=collab-maint/spacewalk/python-ethtool.git
Vcs-Git: git://anonscm.debian.org/collab-maint/spacewalk/python-ethtool.git
Package: python-ethtool
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Description: Python bindings for the ethtool kernel interface
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+Description: Python bindings for the ethtool kernel interface - Python 2.7
Allows querying and changing of ethernet card settings, such as speed,
port, autonegotiation, and PCI locations.
+ .
+ This package provides the Python 2.7 module.
+
+Package: python3-ethtool
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+Description: Python bindings for the ethtool kernel interface - Python 3.x
+ Allows querying and changing of ethernet card settings, such as speed,
+ port, autonegotiation, and PCI locations.
+ .
+ This package provides the Python 3.x module.
diff --git a/debian/copyright b/debian/copyright
index 421fd55..dd6b229 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -33,7 +33,7 @@ On Debian systems, the complete text of the GNU General
Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
The Debian packaging is
- Copyright 2009, Lukáš Ďurfina <[email protected]>
+ Copyright 2009, Lukáš Ďurfina <[email protected]>
Copyright 2012 Miroslav Suchý <[email protected]>
Copyright 2012 Bernd Zeimetz <[email protected]>
and is licensed under the GPL 2, see above.
@@ -47,5 +47,3 @@ and is licenced under GPLv2.
* Portions Copyright 2002 Intel ([email protected],
* [email protected],
* [email protected])
-
-
diff --git a/debian/rules b/debian/rules
index 6e52b60..4e2bb16 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,19 +2,30 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+PYTHONS:=$(shell pyversions -vr)
+PYTHON3S:=$(shell py3versions -vr)
override_dh_auto_build:
+ set -e ; set -x ; for i in $(PYTHONs) $(PYTHON3S) ; do \
+ PYTHON=python$$i python$$i setup.py build --force ; \
+ done
dh_auto_build --buildsystem python_distutils
cp -p pethtool.py pethtool
cp -p pifconfig.py pifconfig
a2x -d manpage -f manpage man/pethtool.8.asciidoc
a2x -d manpage -f manpage man/pifconfig.8.asciidoc
+override_dh_auto_install:
+ python2.7 setup.py install --install-layout=deb --root
$(CURDIR)/debian/python-ethtool
+ set -e ; set -x ; for i in $(PYTHON3S) ; do \
+ python$$i setup.py install --install-layout=deb --root
$(CURDIR)/debian/python3-ethtool ; \
+ done
+
clean:
- if [ -f setup.py ]; then dh $@ --buildsystem python_distutils --with
python2; fi
+ if [ -f setup.py ]; then dh $@ --buildsystem python_distutils --with
python2,python3; fi
#rm -f setup.py
rm -f setup.cfg pethtool pifconfig man/pethtool.8 man/pifconfig.8
rm -rf build
%:
- dh $@ --buildsystem python_distutils --with python2
+ dh $@ --buildsystem python_distutils --with python2,python3
--
2.16.2
--- End Message ---
--- Begin Message ---
Source: python-ethtool
Source-Version: 0.12-1.2
We believe that the bug you reported is fixed in the latest version of
python-ethtool, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-ethtool package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 27 Mar 2018 13:16:46 +0000
Source: python-ethtool
Binary: python-ethtool python3-ethtool
Architecture: source amd64
Version: 0.12-1.2
Distribution: unstable
Urgency: medium
Maintainer: Bernd Zeimetz <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
python-ethtool - Python bindings for the ethtool kernel interface - Python 2.7
python3-ethtool - Python bindings for the ethtool kernel interface - Python 3.x
Closes: 893659
Changes:
python-ethtool (0.12-1.2) unstable; urgency=medium
.
* Non-maintainer upload after ACK from Bernd Zeimetz.
* Add Python 3 support (Closes: #893659).
Checksums-Sha1:
8451349737c8dbd5f33db77a49a4709ba17d96ce 2254 python-ethtool_0.12-1.2.dsc
c4c6b6e3deb2cb371ecdaecf184b21f9b4bce035 4120
python-ethtool_0.12-1.2.debian.tar.xz
17e36149fc60fa818c25b4b9715beac8fc51f689 42768
python-ethtool-dbgsym_0.12-1.2_amd64.deb
44884f29c0f2e7fa2463810dc347ee8fc4bf22ef 8207
python-ethtool_0.12-1.2_amd64.buildinfo
b20ac1d20267614a07ce5b0e9e5223f4954a1c30 18364
python-ethtool_0.12-1.2_amd64.deb
32ce21e7af4fdf18188cf2e9d070950a38ea0c33 46424
python3-ethtool-dbgsym_0.12-1.2_amd64.deb
61856e96afdbd37e4c02b20e503f1ca736bae183 13748
python3-ethtool_0.12-1.2_amd64.deb
Checksums-Sha256:
85a93faa917ac093f6465a51d9dba692087e21df6ff4dd4f8702a13d89234bd2 2254
python-ethtool_0.12-1.2.dsc
70cbe11de452288967936ccb739b840287b82e871389c8f99b26a9abab442a90 4120
python-ethtool_0.12-1.2.debian.tar.xz
ee1d15f755497a911f2579ad72b3acb7665050acb6b4ea0af30be993b85fd971 42768
python-ethtool-dbgsym_0.12-1.2_amd64.deb
6f82bcac0d2ca48004aa6e824e53c1f3e0c729b5c50e0dfcadb90ed7b5ffb622 8207
python-ethtool_0.12-1.2_amd64.buildinfo
f8e027182abedfcbe8739f13639a42c688780c753c8e2d160d9d7a74bebdefd4 18364
python-ethtool_0.12-1.2_amd64.deb
278af3bdc3cff55c32d473a37bd36aedbda9f1200991f356360acadc969b70e0 46424
python3-ethtool-dbgsym_0.12-1.2_amd64.deb
7254dda416715219c6e4c529ec90430e1256106be9990f12b866bcb630380006 13748
python3-ethtool_0.12-1.2_amd64.deb
Files:
2597d29805e1255f53a1dba3b3cfec16 2254 python extra python-ethtool_0.12-1.2.dsc
28e8825a573900372d65aed53fe76ee3 4120 python extra
python-ethtool_0.12-1.2.debian.tar.xz
8e7b6f938f508dadcdae84e598cb2da6 42768 debug optional
python-ethtool-dbgsym_0.12-1.2_amd64.deb
65bb3e24e8f42fb79f8d8c71abd5d391 8207 python extra
python-ethtool_0.12-1.2_amd64.buildinfo
c801fe892cb1dac025af59542d50966f 18364 python extra
python-ethtool_0.12-1.2_amd64.deb
193bbe155c9c4088dad47a69a183e5df 46424 debug optional
python3-ethtool-dbgsym_0.12-1.2_amd64.deb
cb4a1ce85259934331e61c22ce399f4c 13748 python extra
python3-ethtool_0.12-1.2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAlq6RS0ACgkQq1PlA1ho
d6ao0BAAybnjejqnX61VWstlzyTycx4b3oBFHPdt54k96GPN12UQRLDuYjbOc0mI
yOyOmEmkNmik6uONkY7weeXs7aJ9GwUpnpGaUDohNafOVqdlBw0zKTxUdMyhffih
ffp/dSE7Lke3EjsgDkkdeHMEvkJOjI0kImrX7Znc9SemulpA24nOi3r2y/LA1wa3
866vVbv8zodnTQLKfBu/Pk9kkfNqV8j8+zU5PPk5mCBnz4tcU3OiywaubaWHJtOA
UfRibO0vKohm61kugeH6T7LaHBA/Mz97Ra8taNHcGB/2ZT769SuyiImqWPYcyPT0
52YkXhh77QbJnaKZrURh7dx5zPWY/JeTeIBbr/YixYEY2gpkdXT8GnjQ9S+5LBuh
RSUz9C5xGXcilD74dKB82V17a6UQYB6RrLzuZO+J3NimZWvGMMcrkxTWD5i1b5Yz
udedMdReZL0y+m25iWwvsP2Md2Vorzvn8RAovhvrY7MLwd7ZLiSRF+xxB3VVCu9S
Jzm0hK9xL/Yo4CtK0J9txKv4PkEU+2ESS8ioRTaR/9tYcHyPgXaOCIQ0F4M3lBZF
OsQHCFev3WwIOWT7f5KREDHle8YOsxbNCTbA1Z9FV37kfyysv1DA135mXK1l8e3S
cmK0XTdEUQl2yobDx0Jd3NtP8K3pGAUE6Tkn0w8BGMNTigPE/pk=
=/nGK
-----END PGP SIGNATURE-----
--- End Message ---