[pygrib] 10/14: Patch: use setuptools not distutils

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Oct 28 11:26:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to tag debian/2.0.1-3
in repository pygrib.

commit 333294fb5d687b5444e1acc50048d2bfda949381
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Feb 29 13:38:56 2016 +0000

    Patch: use setuptools not distutils
---
 debian/changelog                |  1 +
 debian/patches/series           |  1 +
 debian/patches/setuptools.patch | 16 ++++++++++++++++
 3 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 88ae199..8e5095f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ pygrib (2.0.1-2) unstable; urgency=medium
   * Drop jasper from Debian as obsolete; using openjpeg instead.
   * Standards-Version: 3.9.7 ; no changes required.
   * add {python,python3}-pyproj as build-dependencies.
+  * Patch: use setuptools not distutils
 
  -- Alastair McKinstry <mckinstry at debian.org>  Mon, 29 Feb 2016 11:07:53 +0000
 
diff --git a/debian/patches/series b/debian/patches/series
index e8c3bd7..973e0fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 use_g2clib.patch
 packed-4bytes.patch
+setuptools.patch
diff --git a/debian/patches/setuptools.patch b/debian/patches/setuptools.patch
new file mode 100644
index 0000000..6bc380e
--- /dev/null
+++ b/debian/patches/setuptools.patch
@@ -0,0 +1,16 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Move from distuils -> setuptools
+Last-Updated: 2016-02-29
+Forwarded: no
+
+Index: pygrib-2.0.1/setup.py
+===================================================================
+--- pygrib-2.0.1.orig/setup.py
++++ pygrib-2.0.1/setup.py
+@@ -1,4 +1,5 @@
+-from distutils.core import setup, Extension
++# from distutils.core import setup, Extension
++from setuptools import setup, Extension
+ import os, glob, numpy, sys
+ from os import environ
+ if sys.version_info[0] < 3:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pygrib.git



More information about the debian-science-commits mailing list