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

Bug#909793: RFS: intel-mkl/2019.0.117-2~bpo9+1 [NEW,stable-backports]



Package: sponsorship-requests
Severity: wishlist
X-Debbugs-CC: debian-science@lists.debian.org

Dear mentors and science team,

I am looking for a sponsor for my package "intel-mkl". I'm a Debian
Developer but I don't have backports ACL permission. I filed this RFS
because I don't need that permission. Of all my packages, only intel-mkl
is worth backporting.

 * Package name    : intel-mkl
   Version         : 2019.0.117-2~bpo9+1
   Upstream Author : Intel
 * URL             : https://software.intel.com/en-us/mkl
 * License         : Intel Simplified Software License (ISSL)
   Section         : non-free/math

Backports-Justification:

 * The best (yet non-free) x86 CPU based BLAS/LAPACK implementation.
 * Expected to be very stable for Debian stable users.
 * This package has migrated into testing.

How to build this package and prepare *_multi.changes for stretch-bpo:

 1. Clone https://salsa.debian.org/science-team/intel-mkl
    And checkout to the "stretch-bpo" branch.
 2. Download orig.tar.gz from the archive.
 3. Build package for amd64 and i386, respectively.
 4. mergechanges -f xxx_amd64.changes xxx_i386.changes
 5. changestool xxx_multi.changes updatechecksums
 6. debsign and dput.

Changes since the last upload:

 intel-mkl (2019.0.117-2~bpo9+1) stretch-backports; urgency=medium
 
   * Downgrade python3 requirement to (>= 3.5)
   * Downgrade debhelper compat level to 10.
   * Enable control.bpo.py script in rules.
   * Backport to stretch.

Debdiff and Justification:

 * The debhelper compat level downgrade is very safe since this package
   is just repacking upstream binary tarball.

 * control.py is originally written in python3.6 . In order to build
   this package, I wrote control.bpo.py which automatically edits
   control.py, making it compatible with python3.5 . It actually
   replaces the following pattern (python3.6 feature: format string)

     f'blah {var1} blah {var2}'

   into

     'blah {var1} blah {var2}'.format(**locals())

   control.bpo.py has been verified in one of my VMs (stretch).

-------------------------------------------------------------------------------
diff --git a/debian/changelog b/debian/changelog
index b1223f2..a5ec794 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+intel-mkl (2019.0.117-2~bpo9+1) stretch-backports; urgency=medium
+
+  * Downgrade python3 requirement to (>= 3.5)
+  * Downgrade debhelper compat level to 10.
+  * Enable control.bpo.py script in rules.
+  * Backport to stretch.
+
+ -- Mo Zhou <cdluminate@gmail.com>  Tue, 25 Sep 2018 08:19:29 +0000
+
 intel-mkl (2019.0.117-2) unstable; urgency=medium

   * Export HOME=/tmp/ to fix FTBFS due to the failure that rpm would
diff --git a/debian/compat b/debian/compat
index b4de394..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-11
+10
diff --git a/debian/control b/debian/control
index 6566846..f5ec94b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,11 +3,11 @@ Section: non-free/science
 Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
 Uploaders: Mo Zhou <cdluminate@gmail.com>,
-Build-Depends: debhelper (>=11~),
+Build-Depends: debhelper (>=10~),
                dh-exec,
 # The script control.py requires python3 >= 3.6 .
 # but you can patch it with debian/bpo.patch to support python3 >= 3.5 .
-               python3 (>= 3.6),
+               python3 (>= 3.5),
                rpm,
                cpio,
                rpm2cpio,
diff --git a/debian/rules b/debian/rules
index 91f4bc5..805a4bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,7 +45,7 @@ autogen: extract-rpms $(AUTOGEN_FILES)
        chmod +x debian/libmkl-dev.postinst debian/libmkl-dev.prerm  debian/libmkl-dev.config

 override_dh_auto_configure: autogen
-       #python3 debian/control.bpo.py  # Patch control.py to support python3.5
+       python3 debian/control.bpo.py  # Patch control.py to support python3.5
        python3 debian/control.py  # Generate install files and lintian overrides

        # deal with embedded libjs-jquery


Reply to: