[med-svn] [hyphy] 01/03: make generated swig file ready for Python 3.5
Andreas Tille
tille at debian.org
Mon Oct 26 10:54:57 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository hyphy.
commit 5b219f27f2dcfa9c4218370d427315345ef6121b
Author: Andreas Tille <tille at debian.org>
Date: Mon Oct 26 11:14:17 2015 +0100
make generated swig file ready for Python 3.5
---
debian/changelog | 8 +++++
debian/patches/python3.5.patch | 78 ++++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 87 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c034d4d..588599d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+hyphy (2.2.6+dfsg-2) UNRELEASED; urgency=medium
+
+ [ Matthias Klose ]
+ * Hand-edit swig generated file to build with Python3.5.
+ Closes: #802999
+
+ -- Andreas Tille <tille at debian.org> Mon, 26 Oct 2015 11:09:03 +0100
+
hyphy (2.2.6+dfsg-1) unstable; urgency=medium
* New upstream version
diff --git a/debian/patches/python3.5.patch b/debian/patches/python3.5.patch
new file mode 100644
index 0000000..4fc77fd
--- /dev/null
+++ b/debian/patches/python3.5.patch
@@ -0,0 +1,78 @@
+Author: Matthias Klose <doko at debian.org>
+Last-Update: Sun, 25 Oct 2015 22:24:40 +0200
+Bug-Debian: http://bugs.debian.org/802999
+Description: make generated swig file ready for Python 3.5
+ Remark: How to autogenerate this file properly?
+
+--- a/src/lib/SWIGWrappers/THyPhy_py3.cpp
++++ b/src/lib/SWIGWrappers/THyPhy_py3.cpp
+@@ -5632,6 +5632,13 @@ static PyHeapTypeObject SwigPyBuiltin___
+ (int) 0, /* tp_version_tag */
+ #endif
+ },
++#if PY_VERSION_HEX >= 0x03050000
++ {
++ (unaryfunc) 0, /* am_await */
++ (unaryfunc) 0, /* am_aiter */
++ (unaryfunc) 0, /* am_anext */
++ },
++#endif
+ {
+ (binaryfunc) 0, /* nb_add */
+ (binaryfunc) 0, /* nb_subtract */
+@@ -5830,6 +5837,13 @@ static PyHeapTypeObject SwigPyBuiltin___
+ (int) 0, /* tp_version_tag */
+ #endif
+ },
++#if PY_VERSION_HEX >= 0x03050000
++ {
++ (unaryfunc) 0, /* am_await */
++ (unaryfunc) 0, /* am_aiter */
++ (unaryfunc) 0, /* am_anext */
++ },
++#endif
+ {
+ (binaryfunc) 0, /* nb_add */
+ (binaryfunc) 0, /* nb_subtract */
+@@ -6025,6 +6039,13 @@ static PyHeapTypeObject SwigPyBuiltin___
+ (int) 0, /* tp_version_tag */
+ #endif
+ },
++#if PY_VERSION_HEX >= 0x03050000
++ {
++ (unaryfunc) 0, /* am_await */
++ (unaryfunc) 0, /* am_aiter */
++ (unaryfunc) 0, /* am_anext */
++ },
++#endif
+ {
+ (binaryfunc) 0, /* nb_add */
+ (binaryfunc) 0, /* nb_subtract */
+@@ -6227,6 +6248,13 @@ static PyHeapTypeObject SwigPyBuiltin___
+ (int) 0, /* tp_version_tag */
+ #endif
+ },
++#if PY_VERSION_HEX >= 0x03050000
++ {
++ (unaryfunc) 0, /* am_await */
++ (unaryfunc) 0, /* am_aiter */
++ (unaryfunc) 0, /* am_anext */
++ },
++#endif
+ {
+ (binaryfunc) 0, /* nb_add */
+ (binaryfunc) 0, /* nb_subtract */
+@@ -6433,6 +6461,13 @@ static PyHeapTypeObject SwigPyBuiltin___
+ (int) 0, /* tp_version_tag */
+ #endif
+ },
++#if PY_VERSION_HEX >= 0x03050000
++ {
++ (unaryfunc) 0, /* am_await */
++ (unaryfunc) 0, /* am_aiter */
++ (unaryfunc) 0, /* am_anext */
++ },
++#endif
+ {
+ (binaryfunc) 0, /* nb_add */
+ (binaryfunc) 0, /* nb_subtract */
diff --git a/debian/patches/series b/debian/patches/series
index 490c633..7637bde 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ drop_profiling_option.patch
remove_unneeded_test.patch
msse_option_only_if_available.patch
setup_fix_clean_target.patch
+python3.5.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hyphy.git
More information about the debian-med-commit
mailing list