tag 937504 + patch
thanks

Would you be open to migrating pyparted to Debian Python Modules Team
to fix this bug?

I've done an initial look, it seems that a simple removal of the
python2 support is all that's needed.

A new source-only upload is needed to get 3.11.2-11 into testing
anyway, would it be ok for me to do that upload, changing Maintainer to
Debian Python Modules Team with you in Uploaders?

A simple python3 diff is attached.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

commit ce7b3d0f004f50cdfd1593be8d427fa040f636f6
Author: Neil Williams <codeh...@debian.org>
Date:   Wed Oct 23 20:47:29 2019 +0100

    Drop python2 package (Closes: #937504)
    
    Shift across to DPMT maintenance.

diff --git a/debian/changelog b/debian/changelog
index 211e3f8..20431db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pyparted (3.11.2-12) unstable; urgency=medium
+
+  * Team upload
+  * Drop python2 package (Closes: #937504)
+
+ -- Neil Williams <codeh...@debian.org>  Wed, 23 Oct 2019 20:46:57 +0100
+
 pyparted (3.11.2-11) unstable; urgency=medium
 
   * debian/patches:
diff --git a/debian/control b/debian/control
index d52418e..6d1831c 100644
--- a/debian/control
+++ b/debian/control
@@ -1,14 +1,13 @@
 Source: pyparted
 Section: python
 Priority: optional
-Maintainer: Herbert Parentes Fortes Neto <h...@debian.org>
+Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>
+Uploaders: Herbert Parentes Fortes Neto <h...@debian.org>
 Build-Depends: debhelper (>= 11),
                dh-python,
                libparted-dev,
                parted,
                pkg-config,
-               python-all-dev (>= 2.6.6-13~),
-               python-six,
                python3-all-dev,
                python3-six
 Standards-Version: 4.3.0
@@ -16,18 +15,6 @@ Homepage: https://github.com/dcantrell/pyparted
 Vcs-Git: https://salsa.debian.org/debian/pyparted.git
 Vcs-Browser: https://salsa.debian.org/debian/pyparted
 
-Package: python-parted
-Architecture: any
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
-Provides: ${python:Provides}
-Suggests: python-parted-doc (>= 3.11.1-5)
-Description: Python interface for libparted
- pyparted is a set of Python modules that provide Python programmers an
- interface to libparted (http://www.gnu.org/software/parted), the GNU parted
- library for disk partitioning and file system manipulation.
- .
- This package contains Python extension itself.
-
 Package: python3-parted
 Architecture: any
 Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
diff --git a/debian/rules b/debian/rules
index fc5ddc3..252503e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 %:
-	dh $@ --buildsystem pybuild --with python2,python3
+	dh $@ --buildsystem pybuild --with python3
 
 override_dh_auto_install:
 	dh_auto_install
-	rm -rf debian/python-parted-dbg/usr/lib/python2.7/dist-packages/parted/
 	rm -rf debian/python3-parted-dbg/usr/lib/python3*/dist-packages/parted/
 
 override_dh_clean:

Attachment: pgphOp24mlK0f.pgp
Description: OpenPGP digital signature

Reply via email to