Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/identicurse/files: 0.9-config_json_path.patch identicurse-0.8.2-config_json_path.patch
Date: Sat, 25 Feb 2012 20:37:02
Message-Id: 20120225203650.87F1B2004B@flycatcher.gentoo.org
1 xarthisius 12/02/25 20:36:50
2
3 Added: 0.9-config_json_path.patch
4 Removed: identicurse-0.8.2-config_json_path.patch
5 Log:
6 Version bump, remove bundled dev-python/oauth wrt bug 405735 by Patrick Lauer <patrick@g.o>. Drop old
7
8 (Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 net-misc/identicurse/files/0.9-config_json_path.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/identicurse/files/0.9-config_json_path.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/identicurse/files/0.9-config_json_path.patch?rev=1.1&content-type=text/plain
15
16 Index: 0.9-config_json_path.patch
17 ===================================================================
18 --- a/setup.py
19 +++ b/setup.py
20 @@ -42,7 +42,7 @@
21
22 license="GPLv3+",
23
24 - data_files=[('identicurse',['README', 'conf/config.json'])],
25 + data_files=[('share/identicurse',['conf/config.json'])],
26 packages=find_packages('src'),
27 package_dir={'': 'src'},
28 include_package_data=True,
29 --- a/src/identicurse/identicurse.py
30 +++ b/src/identicurse/identicurse.py
31 @@ -156,7 +156,7 @@
32 else:
33 import getpass, time
34 # no config yet, so let's build one
35 - config.config.load(os.path.join(self.path, "config.json"))
36 + config.config.load(os.path.join("/", "usr", "share", "identicurse", "config.json"))
37 print "No config was found, so we will now run through a few quick questions to set up a basic config for you (which will be saved as %s so you can manually edit it later). If the default (where defaults are available, they're stated in []) is already fine for any question, just press Enter without typing anything, and the default will be used." % (config.config.filename)
38 print "This version of IdentiCurse supports OAuth login. Using OAuth to log in means that you do not need to enter your username and password."
39 use_oauth = raw_input("Use OAuth [Y/n]? ").upper()