[med-svn] [inspect] 01/02: InsPect expects psyco which is outdated and dead. Add a warning that migration to pypy should be done.
Andreas Tille
tille at debian.org
Thu Oct 1 19:07:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository inspect.
commit edb2941de7ec8d0b2306ca6ce59fc8252ee4c350
Author: Andreas Tille <tille at debian.org>
Date: Thu Oct 1 13:22:27 2015 +0200
InsPect expects psyco which is outdated and dead. Add a warning that migration to pypy should be done.
---
debian/README.Debian | 5 ++++
debian/patches/psyco-pypy-warning.patch | 48 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 54 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
index 8514c15..68881f4 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -5,4 +5,9 @@ Due to a naming conflict with /usr/bin/inspect from the libboost-tools-dev
package the binary was renamed to ms-inspect. Please suggest better names
if you would expect the binary under a different name.
+InsPect makes use of Psyco which is unmaintained and dead upstream according to
+ http://psyco.sourceforge.net/
+Any patch to use PyPy instead would be welcome.
+
+
-- Andreas Tille <tille at debian.org> Tue, 29 Sep 2015 15:21:50 +0200
diff --git a/debian/patches/psyco-pypy-warning.patch b/debian/patches/psyco-pypy-warning.patch
new file mode 100644
index 0000000..e52304c
--- /dev/null
+++ b/debian/patches/psyco-pypy-warning.patch
@@ -0,0 +1,48 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 29 Sep 2015 15:21:50 +0200
+Description: Extend warning about a hint that InsPecT should be migrated to pypy.
+
+--- a/Summary.py
++++ b/Summary.py
+@@ -462,7 +462,7 @@ if __name__ == "__main__":
+ import psyco
+ psyco.full()
+ except:
+- print "(psyco not found - running in non-optimized mode)"
++ print "(psyco not found - running in non-optimized mode. Please help migrating InsPecT to pypy!)"
+ Summarizer = SummarizerClass()
+ Summarizer.ParseCommandLine(sys.argv[1:])
+ StartTime = time.clock()
+--- a/InspectToPepXML.py
++++ b/InspectToPepXML.py
+@@ -275,7 +275,7 @@ class InspectToPepXMLClass(ResultsParser
+ import psyco
+ psyco.full()
+ except:
+- print "(psyco not found - running in non-optimized mode)"
++ print "(psyco not found - running in non-optimized mode. Please help migrating InsPecT to pypy!)"
+ # Line directly below needed only if we want to handle directories
+ #self.self.ProcessResultsFiles(self.InputFilePath,
+ # self.ConvertInspectToPepXML)
+--- a/PhosphateLocalization.py
++++ b/PhosphateLocalization.py
+@@ -318,7 +318,7 @@ if __name__ == "__main__":
+ import psyco
+ psyco.full()
+ except:
+- print "(psyco not found - running in non-optimized mode)"
++ print "(psyco not found - running in non-optimized mode. Please help migrating InsPecT to pypy!)"
+ MacGyver = DetectiveClass()
+ MacGyver.ParseCommandLine(sys.argv[1:])
+ MacGyver.Main()
+--- a/PrepDB.py
++++ b/PrepDB.py
+@@ -245,7 +245,7 @@ if __name__ == "__main__":
+ import psyco
+ psyco.full()
+ except:
+- print "(psyco not found - running in non-optimized mode)"
++ print "(psyco not found - running in non-optimized mode. Please help migrating InsPecT to pypy!)"
+ # First argument: Original database file format
+ Format = sys.argv[1].lower()
+ if Format == "fasta":
diff --git a/debian/patches/series b/debian/patches/series
index 814900f..22d69ef 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
hardening.patch
+psyco-pypy-warning.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/inspect.git
More information about the debian-med-commit
mailing list