* [gentoo-commits] gentoo-x86 commit in sci-chemistry/aria/files: 2.2_p2-numpy.patch 2.2_p2-test.patch sa_ls_cool2.patch
@ 2010-02-06 21:50 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-02-06 21:50 UTC (permalink / raw
To: gentoo-commits
jlec 10/02/06 21:50:42
Added: 2.2_p2-numpy.patch 2.2_p2-test.patch
sa_ls_cool2.patch
Log:
inital commit
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-chemistry/aria/files/2.2_p2-numpy.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/aria/files/2.2_p2-numpy.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/aria/files/2.2_p2-numpy.patch?rev=1.1&content-type=text/plain
Index: 2.2_p2-numpy.patch
===================================================================
diff -arNu aria2.2/aria2.py aria2.2.new/aria2.py
--- aria2.2/aria2.py 2008-02-14 11:02:31.000000000 +0100
+++ aria2.2.new/aria2.py 2009-07-14 12:01:02.000000000 +0200
@@ -427,7 +427,7 @@
def check_numeric_slice():
- msg = "\nThe version of Numeric (%s) is known to be incompatible with ARIA.\nConsider reverting to a more stable version (like 23.8).\n"
+ msg = "\nThe version of Numeric (%s) is known to be incompatible with ARIA.\nSo we are using numpy instead.\n"
try:
from Numeric import ones, __version__ as NUMERIC_VERSION
diff -arNu aria2.2/check.py aria2.2.new/check.py
--- aria2.2/check.py 2009-07-14 11:50:54.000000000 +0200
+++ aria2.2.new/check.py 2009-07-14 12:02:56.000000000 +0200
@@ -55,18 +55,6 @@
failed = 0
try:
- import Numeric
- msg += 'ok (numeric).'
-
- except:
- #msg = 'could not import Numeric module.'
- failed = 1
-
- if not failed:
- print msg
- return 'numeric'#, None
-
- try:
import numpy.oldnumeric
version = LooseVersion(numpy.oldnumeric.__version__)
@@ -79,14 +67,14 @@
msg += 'version > %s required for Numpy' % str(NUMPY_MIN_VERSION)
except:
- msg += 'could not import Numeric/Numpy module.'
+ msg += 'could not import Numpy module.'
print msg
return None
def check_numeric_slice():
- msg = "\nWARNING: This version of Numeric (%s) is known to be incompatible with ARIA.\nConsider reverting to a more stable version (like 23.8).\n"
+ msg = "\nWARNING: This version of Numeric (%s) is known to be incompatible with ARIA.\nSo we use numpy instead.\n"
from Numeric import ones, __version__ as NUMERIC_VERSION
if not ones(10)[2:]:
diff -arNu aria2.2/src/py/Merger.py aria2.2.new/src/py/Merger.py
--- aria2.2/src/py/Merger.py 2007-03-05 16:50:12.000000000 +0100
+++ aria2.2.new/src/py/Merger.py 2009-07-14 12:06:55.000000000 +0200
@@ -213,12 +213,9 @@
new_long = []
try:
- from RandomArray import permutation
+ from numpy.oldnumeric.random_array import permutation
except:
- try:
- from numpy.oldnumeric.random_array import permutation
- except:
- return n, []
+ return n, []
ids = permutation(len(long_range))
diff -arNu aria2.2/src/py/N.py aria2.2.new/src/py/N.py
--- aria2.2/src/py/N.py 2007-12-04 17:01:46.000000000 +0100
+++ aria2.2.new/src/py/N.py 2009-07-14 12:07:16.000000000 +0200
@@ -1,7 +1,4 @@
try:
- from Numeric import *
+ from numpy.oldnumeric import *
except:
- try:
- from numpy.oldnumeric import *
- except:
- pass
+ pass
1.1 sci-chemistry/aria/files/2.2_p2-test.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/aria/files/2.2_p2-test.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/aria/files/2.2_p2-test.patch?rev=1.1&content-type=text/plain
Index: 2.2_p2-test.patch
===================================================================
diff --git a/check.py b/check.py
index 6592951..47772f5 100644
--- a/check.py
+++ b/check.py
@@ -170,8 +170,6 @@ if __name__ == '__main__':
print 'Checking Python environment...\n'
check_python()
- numeric = check_numeric()
- check_numeric_slice()
scientific = check_scientific()
check_tix()
check_ccpn()
1.1 sci-chemistry/aria/files/sa_ls_cool2.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/aria/files/sa_ls_cool2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/aria/files/sa_ls_cool2.patch?rev=1.1&content-type=text/plain
Index: sa_ls_cool2.patch
===================================================================
--- aria2.2/cns/protocols/sa_ls_cool2.cns.orig 2008-05-07 18:39:59.000000000 +0200
+++ aria2.2/cns/protocols/sa_ls_cool2.cns 2008-05-07 18:40:29.000000000 +0200
@@ -33,8 +33,8 @@
masym dist &Data.masy_cool2
masym hbon &Data.masy_cool2
- scale ambi &Data.amb_cool2
scale dist &Data.unamb_cool2
+ scale ambi &Data.amb_cool2
scale hbon &Data.hbond_cool2
end
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-06 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-06 21:50 [gentoo-commits] gentoo-x86 commit in sci-chemistry/aria/files: 2.2_p2-numpy.patch 2.2_p2-test.patch sa_ls_cool2.patch Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox