aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-10-20 20:00:45 +0200
committerJustin Lecher <jlec@gentoo.org>2014-10-20 20:01:10 +0200
commit5f7b312a1fa336fc5f4b98909502579ce5557155 (patch)
tree4a2ac0c3ac37fa5392f03e4c1d531cb7ca1d6728 /sci-chemistry/pymol/files
parentdev-python/ccdproc: Version bump to 0.2.1 (diff)
downloadsci-5f7b312a1fa336fc5f4b98909502579ce5557155.tar.gz
sci-5f7b312a1fa336fc5f4b98909502579ce5557155.tar.bz2
sci-5f7b312a1fa336fc5f4b98909502579ce5557155.zip
sci-chemistry/pymol: Fix broken plugin listing
Package-Manager: portage-2.2.14
Diffstat (limited to 'sci-chemistry/pymol/files')
-rw-r--r--sci-chemistry/pymol/files/pymol-9999-listing.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-chemistry/pymol/files/pymol-9999-listing.patch b/sci-chemistry/pymol/files/pymol-9999-listing.patch
new file mode 100644
index 000000000..1b4039c56
--- /dev/null
+++ b/sci-chemistry/pymol/files/pymol-9999-listing.patch
@@ -0,0 +1,17 @@
+ pymol/modules/pymol/plugins/repository.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/pymol/modules/pymol/plugins/repository.py b/pymol/modules/pymol/plugins/repository.py
+index 9697f68..9820fac 100644
+--- a/pymol/modules/pymol/plugins/repository.py
++++ b/pymol/modules/pymol/plugins/repository.py
+@@ -182,7 +182,8 @@ class GithubRepository(HttpRepository):
+
+ def fetchjson(self, url):
+ handle = urlopen('https://api.github.com' + url)
+- return eval(handle.read())
++ ret = handle.read().replace("false", "False")
++ return eval(ret)
+
+ class LocalRepository(Repository):
+ def __init__(self, url):