public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/eric/files: 4.1.4-paths.patch
@ 2008-05-24 22:54 Ben de Groot (yngwin)
  0 siblings, 0 replies; only message in thread
From: Ben de Groot (yngwin) @ 2008-05-24 22:54 UTC (permalink / raw
  To: gentoo-commits

yngwin      08/05/24 22:54:14

  Added:                4.1.4-paths.patch
  Log:
  Version bump
  (Portage version: 2.1.5.2)

Revision  Changes    Path
1.1                  dev-util/eric/files/4.1.4-paths.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/files/4.1.4-paths.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/files/4.1.4-paths.patch?rev=1.1&content-type=text/plain

Index: 4.1.4-paths.patch
===================================================================
--- eric4-4.1.4-orig/install.py	2008-05-22 00:13:29.000000000 +0200
+++ eric4-4.1.4/install.py	2008-05-22 00:21:27.000000000 +0200
@@ -187,7 +187,7 @@
     fname = os.path.join(pdir, "__init__.py")
     if not os.path.exists(fname):
         if not os.path.exists(pdir):
-            os.mkdir(pdir,  0755)
+            os.makedirs(pdir,  0755)
         f = open(fname, "wb")
         f.write(\
 '''# -*- coding: utf-8 -*-
@@ -210,7 +210,10 @@
     
     try:
         from PyQt4 import pyqtconfig
-        qtDataDir = pyqtconfig._pkg_config["qt_data_dir"]
+        if distDir:
+            qtDataDir = distDir + pyqtconfig._pkg_config["qt_data_dir"]
+        else:
+            qtDataDir = pyqtconfig._pkg_config["qt_data_dir"]
     except (AttributeError, ImportError):
         print
         print "Please enter the name of the Qt data directory."
@@ -475,7 +478,7 @@
        cfg['ericTemplatesDir'],
        cfg['ericCodeTemplatesDir'], cfg['ericOthersDir'],
        cfg['bindir'], cfg['mdir'], 
-       getAPIsPath(), apis)
+       getAPIsPath()[len(distDir):], apis)
     copyToFile(fn, config)
 
 def doDependancyChecks():    



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-24 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-24 22:54 [gentoo-commits] gentoo-x86 commit in dev-util/eric/files: 4.1.4-paths.patch Ben de Groot (yngwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox