From: "Ben de Groot (yngwin)" <yngwin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/eric/files: 4.1.4-paths.patch
Date: Sat, 24 May 2008 22:54:14 +0000 [thread overview]
Message-ID: <E1K02cw-0005ff-Cy@stork.gentoo.org> (raw)
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
reply other threads:[~2008-05-24 22:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1K02cw-0005ff-Cy@stork.gentoo.org \
--to=yngwin@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox