[BACK]Return to patch-gourmet_settings_py CVS log [TXT][DIR] Up to [local] / ports / misc / gourmet / patches

File: [local] / ports / misc / gourmet / patches / patch-gourmet_settings_py (download)

Revision 1.1, Wed Oct 12 05:09:18 2016 UTC (7 years, 7 months ago) by kirby
Branch point for: MAIN

Initial revision

$OpenBSD$
--- gourmet/settings.py.orig	Mon Jun  2 20:55:26 2014
+++ gourmet/settings.py	Tue Oct 11 22:24:56 2016
@@ -4,13 +4,13 @@ import sys
 # The following lines are modified at installation time by setup.py so they
 # point to the actual data files installation paths.
 
-lib_dir = '../gourmet'
-base_dir = '..'
-data_dir = os.path.join(base_dir, "gourmet", "data")
+lib_dir = '${MODPY_SITEPKG}/gourmet'
+base_dir = '${PREFIX}/share'
+data_dir = os.path.join(base_dir, "gourmet")
 ui_base = os.path.join(base_dir, 'gourmet', 'ui')
 doc_base = os.path.join(base_dir, "gourmet")
 locale_base = os.path.join(base_dir, "gourmet", "build", "mo")
-plugin_base = os.path.join(base_dir, "gourmet", "build", "share", "gourmet")
+plugin_base = 'lib_dir'
 
 # Apologies for the formatting -- something in the build process is
 # getting rid of indentations in this file which throws a syntax error