[pyferret] 103/110: Add additional vars
Alastair McKinstry
mckinstry at moszumanska.debian.org
Fri Jul 28 08:42:26 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 9efa3a1d7c22eeaed01227fe595181ac415cd151
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Sat Jul 22 17:01:13 2017 +0100
Add additional vars
---
debian/patches/libname-fix.patch | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/debian/patches/libname-fix.patch b/debian/patches/libname-fix.patch
index 38b4760..7f7c6f9 100644
--- a/debian/patches/libname-fix.patch
+++ b/debian/patches/libname-fix.patch
@@ -16,3 +16,28 @@ Index: pyferret-7.1.1.beta/setup.py
# Linking in the rest of the system libraries were moved to addn_link_flags
# in order to make sure the appropriate netcdff, netcdf, hdf5_hl, hdf5, and
+Index: pyferret-7.1.1.beta/pyfermod/__init__.py
+===================================================================
+--- pyferret-7.1.1.beta.orig/pyfermod/__init__.py
++++ pyferret-7.1.1.beta/pyfermod/__init__.py
+@@ -56,6 +56,20 @@ if os.environ.get('FER_MODEL_RUNS') is N
+ 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'
++if os.environ['FER_PALETTE'] is None:
++ os.environ['FER_PALETTE'] = '/usr/share/ferret-vis/ppl/palettes'
++if os.environ['FER_FONTS'] is None:
++ os.environ['FER_FONTS'] = '/usr/share/ferret-vis/ppl/fonts'
++if os.environ['FER_DSETS'] is None:
++ os.environ['FER_DSETS'] = '/usr/share/ferret-vis/datasets'
++if os.environ['TMAP'] is None:
++ os.environ['TMAP'] = '/usr/share/ferret-vis/fmt'
++if os.environ['SPECTRA'] is None:
++ os.environ['SPECTRA'] = '/usr/share/ferret-vis/ppl'
++if os.environ['PLOTFONTS'] is None:
++ os.environ['PLOTFONTS'] = '/usr/share/ferret-vis/ppl/fonts'
++
++
+
+ from pyferret import libpyferret
+ # also import everything (not starting with an underscore) from libpyferret
--
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