[sasmodels] 03/09: Drop python3 patch from usptream

Stuart Prescott stuart at debian.org
Mon Nov 6 11:23:35 UTC 2017


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

stuart pushed a commit to branch master
in repository sasmodels.

commit a9231cdcacb9952ccda3b90a7edd6783e28f9ed9
Author: Stuart Prescott <stuart at debian.org>
Date:   Mon Nov 6 21:45:40 2017 +1100

    Drop python3 patch from usptream
---
 debian/patches/python3-compat.patch | 16 ----------------
 debian/patches/series               |  1 -
 2 files changed, 17 deletions(-)

diff --git a/debian/patches/python3-compat.patch b/debian/patches/python3-compat.patch
deleted file mode 100644
index 0ac5608..0000000
--- a/debian/patches/python3-compat.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Description: Fix Python 3 support
-Author: Paul Kienzle<pkienzle at nist.gov>
-Origin: Upstream commit 6db17bd
---- a/sasmodels/generate.py
-+++ b/sasmodels/generate.py
-@@ -362,6 +362,10 @@
-     Return a unique tag for the source code.
-     """
-     # Note: need 0xffffffff&val to force an unsigned 32-bit number
-+    try:
-+        source = source.encode('utf8')
-+    except AttributeError: # bytes has no encode attribute in python 3
-+        pass
-     return "%08X"%(0xffffffff&crc32(source))
- 
- def convert_type(source, dtype):
diff --git a/debian/patches/series b/debian/patches/series
index 0d9784c..29de819 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 sphinx-loacl-mathjax.patch
-python3-compat.patch

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



More information about the debian-science-commits mailing list