[pyferret] 11/110: Add FER_LIBS and efmem/*.so

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 08:41:43 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository pyferret.

commit da287e6240826e1f3512d3f1a07d5b8216ee32cb
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed Nov 19 08:36:44 2014 +0000

    Add FER_LIBS and efmem/*.so
---
 debian/patches/set-envvars.patch | 4 +++-
 debian/python-ferret.install     | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/patches/set-envvars.patch b/debian/patches/set-envvars.patch
index 8fb541d..c8820fa 100644
--- a/debian/patches/set-envvars.patch
+++ b/debian/patches/set-envvars.patch
@@ -2,7 +2,7 @@ Index: pyferret-1.0.2/pyfermod/__init__.py
 ===================================================================
 --- pyferret-1.0.2.orig/pyfermod/__init__.py
 +++ pyferret-1.0.2/pyfermod/__init__.py
-@@ -47,6 +47,19 @@ import numpy
+@@ -47,6 +47,21 @@ import numpy
  import numpy.ma
  import StringIO
  
@@ -18,6 +18,8 @@ Index: pyferret-1.0.2/pyfermod/__init__.py
 +    os.environ['FER_GRIDS'] = '/usr/share/ferret-vis/grids'
 +if os.environ.get('FER_MODEL_RUNS') is None:
 +    os.environ['FER_MODEL_RUNS'] = '/usr/share/ferret-vis/model_runs'
++if os.environ.get('FER_LIBS') is None:
++    os.environ['FER_LIBS'] = '/usr/lib/ferret-vis/efmem:/usr/lib/ferret-vis/external_functions'
 +
  # import everything from libpyferret so constants
  # in that module are seen as part of this module
diff --git a/debian/python-ferret.install b/debian/python-ferret.install
index 1842cea..4d74d66 100644
--- a/debian/python-ferret.install
+++ b/debian/python-ferret.install
@@ -1 +1,2 @@
 lib/python2.7/site-packages/*	/usr/lib/python2.7/dist-packages
+efmem/ferret_ef_mem_subsc.so   /usr/lib/ferret-vis/efmem

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



More information about the debian-science-commits mailing list