Comment 93 for bug 1640978

Revision history for this message
Michael Casadevall (mcasadevall) wrote :

Breakdown of josepy for SRU:

josepy was split from python-acme, and is a NEW package going into Trusty. This is a straight backport of the bionic packaging.

--- python-josepy-1.1.0/debian/compat 2018-04-15 20:45:24.000000000 +0000
+++ python-josepy-1.1.0/debian/compat 2018-11-23 19:55:13.000000000 +0000
@@ -1 +1 @@
-11
+9
diff -Nru python-josepy-1.1.0/debian/control python-josepy-1.1.0/debian/control
--- python-josepy-1.1.0/debian/control 2018-04-15 20:45:24.000000000 +0000
+++ python-josepy-1.1.0/debian/control 2018-11-23 19:55:13.000000000 +0000
@@ -1,9 +1,10 @@
 Source: python-josepy
 Section: python
 Priority: optional
-Maintainer: Debian Let's Encrypt <email address hidden>
+Maintainer: Ubuntu Developers <email address hidden>
+XSBC-Original-Maintainer: Debian Let's Encrypt <email address hidden>
 Uploaders: Harlan Lieberman-Berg <email address hidden>
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper (>= 9~),
         dh-python,
         python (>= 2.7),
         python-cryptography (>= 0.8),
diff -Nru python-josepy-1.1.0/debian/rules python-josepy-1.1.0/debian/rules

Explanation: Debhelper 9 was the shipped version in trusty so changes to dependencies to work with it were required.

--- python-josepy-1.1.0/debian/rules 2018-04-15 20:45:24.000000000 +0000
+++ python-josepy-1.1.0/debian/rules 2018-11-23 19:55:13.000000000 +0000
@@ -17,6 +17,6 @@
  find $(CURDIR)/debian/ -type d -name testdata -print0 | xargs -0 rm -rf '{}' \;
  rm -f $(CURDIR)/debian/python*-josepy/usr/bin/jws

-override_dh_installdocs:
- dh_installdocs --doc-main-package=python-josepy-doc -p python-josepy-doc
- dh_installdocs -p python-josepy -p python3-josepy
+#override_dh_installdocs:
+# dh_installdocs --doc-main-package=python-josepy-doc -p python-josepy-doc
+# dh_installdocs -p python-josepy -p python3-josepy

Explanation: installdocs doesn't support -p on Trusty which is used to create symlinks. This behavior mimics the way the docs packages were installed on Xenial for the existing packages; documentation still ends up properly in the -doc package (checked manually).