[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#882824: stretch-pu: package python-arpy/1.1.1-3~deb9u1



Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

Let's fix the python3 dependencies. #867418

There is some metadata noise by just rebuilding the package from sid.
And there is a lot of file movement noise in the python-arpy caused by
rebuilding a 4 year old package in stretch:

$ debdiff python-arpy_1.1.1-2_all.deb python-arpy_1.1.1-3~deb9u1_all.deb
[The following lists of changes regard files as different if they have
different names, permissions or owners.]

Files in second .deb but not in first
-------------------------------------
-rw-r--r--  root/root   /usr/lib/python2.7/dist-packages/arpy-1.1.1.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/lib/python2.7/dist-packages/arpy-1.1.1.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/lib/python2.7/dist-packages/arpy-1.1.1.egg-info/top_level.txt
-rw-r--r--  root/root   /usr/lib/python2.7/dist-packages/arpy.py

Files in first .deb but not in second
-------------------------------------
-rw-r--r--  root/root   /usr/share/pyshared/arpy-1.1.1.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/share/pyshared/arpy-1.1.1.egg-info/SOURCES.txt
-rw-r--r--  root/root   /usr/share/pyshared/arpy-1.1.1.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/share/pyshared/arpy-1.1.1.egg-info/top_level.txt
-rw-r--r--  root/root   /usr/share/pyshared/arpy.py
lrwxrwxr-x  root/root   /usr/lib/python2.7/dist-packages/arpy-1.1.1.egg-info/PKG-INFO -> ../../../../share/pyshared/arpy-1.1.1.egg-info/PKG-INFO
lrwxrwxr-x  root/root   /usr/lib/python2.7/dist-packages/arpy-1.1.1.egg-info/SOURCES.txt -> ../../../../share/pyshared/arpy-1.1.1.egg-info/SOURCES.txt
lrwxrwxr-x  root/root   /usr/lib/python2.7/dist-packages/arpy-1.1.1.egg-info/dependency_links.txt -> ../../../../share/pyshared/arpy-1.1.1.egg-info/dependency_links.txt
lrwxrwxr-x  root/root   /usr/lib/python2.7/dist-packages/arpy-1.1.1.egg-info/top_level.txt -> ../../../../share/pyshared/arpy-1.1.1.egg-info/top_level.txt
lrwxrwxr-x  root/root   /usr/lib/python2.7/dist-packages/arpy.py -> ../../../share/pyshared/arpy.py

Control files: lines which differ (wdiff format)
------------------------------------------------
Depends: python {+(<< 2.8), python+} (>= 2.7), [-python (<< 2.8)-] {+python:any (>= 2.6.6-7~)+}
Homepage: [-http://bitbucket.org/viraptor/arpy-] {+https://github.com/viraptor/arpy+}
Installed-Size: [-14-] {+29+}
[-Provides: python2.7-arpy-]
Version: [-1.1.1-2-] {+1.1.1-3~deb9u1+}

But if we rebuild -2 in stretch with no changes at all as -2.1, this
accounts for most of the changes and only these remain:

$ debdiff python-arpy_1.1.1-2.1_all.deb python-arpy_1.1.1-3~deb9u1_all.deb
File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)
------------------------------------------------
Homepage: [-http://bitbucket.org/viraptor/arpy-] {+https://github.com/viraptor/arpy+}
[-Provides: python2.7-arpy-]
Version: [-1.1.1-2.1-] {+1.1.1-3~deb9u1+}

The disappearing Provides: python2.7-arpy is not referenced by any package.

And this is the one we actually need:

$ debdiff python3-arpy_1.1.1-2_all.deb python3-arpy_1.1.1-3~deb9u1_all.deb
File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)
------------------------------------------------
{+Depends: python3:any (>= 3.3.2-2~)+}
Homepage: [-http://bitbucket.org/viraptor/arpy-] {+https://github.com/viraptor/arpy+}
Installed-Size: [-14-] {+29+}
Version: [-1.1.1-2-] {+1.1.1-3~deb9u1+}


Andreas
diff -Nru python-arpy-1.1.1/debian/.git-dpm python-arpy-1.1.1/debian/.git-dpm
--- python-arpy-1.1.1/debian/.git-dpm	1970-01-01 01:00:00.000000000 +0100
+++ python-arpy-1.1.1/debian/.git-dpm	2017-07-09 07:14:26.000000000 +0200
@@ -0,0 +1,11 @@
+# see git-dpm(1) from git-dpm package
+de95874c73cf1243b76aca7ff57be41d9461b9b6
+de95874c73cf1243b76aca7ff57be41d9461b9b6
+de95874c73cf1243b76aca7ff57be41d9461b9b6
+de95874c73cf1243b76aca7ff57be41d9461b9b6
+python-arpy_1.1.1.orig.tar.gz
+dc782f49726037b4abbf7e9135e8113c938fc535
+7171
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff -Nru python-arpy-1.1.1/debian/changelog python-arpy-1.1.1/debian/changelog
--- python-arpy-1.1.1/debian/changelog	2013-08-03 12:05:18.000000000 +0200
+++ python-arpy-1.1.1/debian/changelog	2017-11-27 02:26:20.000000000 +0100
@@ -1,3 +1,30 @@
+python-arpy (1.1.1-3~deb9u1) stretch; urgency=medium
+
+  * Non-maintainer upload.
+  * Rebuild for stretch.
+
+ -- Andreas Beckmann <anbe@debian.org>  Mon, 27 Nov 2017 02:26:20 +0100
+
+python-arpy (1.1.1-3) unstable; urgency=low
+
+  * Team upload.
+
+  [ Christoph Egger ]
+  * Add VCS-* headers
+
+  [ Ondřej Nový ]
+  * Fixed homepage (https)
+  * Fixed VCS URL (https)
+
+  [ Scott Kitterman ]
+  * Correct substitution variable for python3 interpreter depends (Closes:
+    #867418)
+  * Remove unneeded python:Provides
+  * Update homepage for move to github
+  * Add debian/watch
+
+ -- Scott Kitterman <scott@kitterman.com>  Sun, 09 Jul 2017 01:38:51 -0400
+
 python-arpy (1.1.1-2) unstable; urgency=low
 
   * Add python3 support
diff -Nru python-arpy-1.1.1/debian/control python-arpy-1.1.1/debian/control
--- python-arpy-1.1.1/debian/control	2013-08-03 11:59:45.000000000 +0200
+++ python-arpy-1.1.1/debian/control	2017-07-09 07:36:33.000000000 +0200
@@ -10,14 +10,15 @@
  python-setuptools,
  python3-setuptools
 Standards-Version: 3.9.4
-Homepage: http://bitbucket.org/viraptor/arpy
+Homepage: https://github.com/viraptor/arpy
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-arpy.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-arpy.git
 
 Package: python-arpy
 Architecture: all
 Depends: ${shlibs:Depends},
  ${misc:Depends},
  ${python:Depends}
-Provides: ${python:Provides}
 Description: library for accessing "ar" archives
  arpy is a library for accessing the archive files and reading the
  contents. It supports extended long filenames in both GNU and BSD
@@ -28,8 +29,7 @@
 Architecture: all
 Depends: ${shlibs:Depends},
  ${misc:Depends},
- ${python:Depends}
-Provides: ${python:Provides}
+ ${python3:Depends}
 Description: library for accessing "ar" archives
  arpy is a library for accessing the archive files and reading the
  contents. It supports extended long filenames in both GNU and BSD
diff -Nru python-arpy-1.1.1/debian/watch python-arpy-1.1.1/debian/watch
--- python-arpy-1.1.1/debian/watch	1970-01-01 01:00:00.000000000 +0100
+++ python-arpy-1.1.1/debian/watch	2017-07-09 07:38:25.000000000 +0200
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/arpy/arpy-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

Reply to: