ソースを参照

Remove -dbg packages and migrate to -dbgsym packages.

Jelmer Vernooij 8 年 前
コミット
9dc1f55cd8
3 ファイル変更9 行追加40 行削除
  1. 6 0
      debian/changelog
  2. 1 37
      debian/control
  3. 2 3
      debian/rules

+ 6 - 0
debian/changelog

@@ -1,3 +1,9 @@
+dulwich (0.16.3-2) UNRELEASED; urgency=medium
+
+  * Remove -dbg packages and migrate to -dbgsym packages.
+
+ -- Jelmer Vernooij <jelmer@debian.org>  Sun, 15 Jan 2017 14:13:41 +0000
+
 dulwich (0.16.3-1) unstable; urgency=medium
 
   * New upstream release.

+ 1 - 37
debian/control

@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
 Uploaders: Jelmer Vernooij <jelmer@debian.org>
 Homepage: https://www.dulwich.io/
-Build-Depends: python-all-dev (>= 2.6.6-3), python-all-dbg (>= 2.6.6-3), python3-all-dev, python3-all-dbg, debhelper (>= 9), python-unittest2, git (>= 1:1.7.0.4-2) | git-core, python-fastimport (>= 0.9.0~bzr293), python3-fastimport, pypy-dev [!hurd-any !m68k !sh4 !x32], dh-python
+Build-Depends: python-all-dev (>= 2.6.6-3), python-all-dbg (>= 2.6.6-3), python3-all-dev, python3-all-dbg, debhelper (>= 9.20160114), python-unittest2, git (>= 1:1.7.0.4-2) | git-core, python-fastimport (>= 0.9.0~bzr293), python3-fastimport, pypy-dev [!hurd-any !m68k !sh4 !x32], dh-python
 Standards-Version: 3.9.8
 X-Python-Version: >= 2.7
 X-Python3-Version: >= 3.2
@@ -16,7 +16,6 @@ Package: python-dulwich
 Architecture: any
 Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}
 Breaks: bzr-git (<< 0.6.2)
-Suggests: python-dulwich-dbg
 Recommends: python-fastimport
 Description: Python Git library
  Dulwich is a Python implementation of the file formats and protocols
@@ -30,23 +29,6 @@ Description: Python Git library
  .
  This package contains the module built for Python version 2.x.
 
-Package: python-dulwich-dbg
-Architecture: any
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, python-dbg, python-dulwich (= ${binary:Version})
-Priority: extra
-Section: debug
-Description: Python Git library - Debug Extension
- Dulwich is a Python implementation of the file formats and protocols
- used by the Git version control system. It can currently read from and write
- to existing Git repositories and implements the protocol for pushing and
- receiving packs from remote servers.
- .
- All functionality is available in pure Python, but for improved performance
- replacements of some modules written in C are also available. This package
- includes the high performance versions.
- .
- This package contains the extensions built for the Python debug interpreter.
-
 Package: pypy-dulwich
 Architecture: amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x alpha hppa kfreebsd-any powerpc powerpcspe ppc64 sparc64
 Provides: ${pypy:Provides}
@@ -68,7 +50,6 @@ Package: python3-dulwich
 Architecture: any
 Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
 Breaks: bzr-git (<< 0.6.2)
-Suggests: python3-dulwich-dbg
 Recommends: python3-fastimport
 Description: Python Git library - Python3 module
  Dulwich is a Python implementation of the file formats and protocols
@@ -81,20 +62,3 @@ Description: Python Git library - Python3 module
  includes the high performance versions.
  .
  This package contains the module built for Python version 3.x.
-
-Package: python3-dulwich-dbg
-Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, python3-dbg, python3-dulwich (= ${binary:Version})
-Priority: extra
-Section: debug
-Description: Python Git library - Python 3 Debug Extension
- Dulwich is a Python implementation of the file formats and protocols
- used by the Git version control system. It can currently read from and write
- to existing Git repositories and implements the protocol for pushing and
- receiving packs from remote servers.
- .
- All functionality is available in pure Python, but for improved performance
- replacements of some modules written in C are also available. This package
- includes the high performance versions.
- .
- This package contains the extensions built for the Python 3 debug interpreter.

+ 2 - 3
debian/rules

@@ -60,10 +60,9 @@ ifneq (,$(findstring pypy,$(pyflavours)))
 endif
 
 override_dh_strip:
-	dh_strip -p python-dulwich --dbg-package=python-dulwich-dbg
-	dh_strip -p python3-dulwich --dbg-package=python3-dulwich-dbg
+	dh_strip -p python-dulwich --dbgsym-migration='python-dulwich-dbg (<< 0.16.4-1)'
+	dh_strip -p python3-dulwich --dbgsym-migration='python3-dulwich-dbg (<< 0.16.4-1)'
 ifneq (,$(findstring pypy,$(pyflavours)))
-	# For the moment, there is no dbg package for pypy-dulwich.
 	dh_strip -p pypy-dulwich
 endif