summaryrefslogtreecommitdiff
path: root/app-emacs/elpy/files/elpy-elpy-rpc.el-elpy-rpc-pythonpath.patch
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-08 15:59:14 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-08 16:00:13 +0200
commitbab7113a6852ac300bee085aee8eb24a231dd482 (patch)
tree3be217f9b143cf5e94ce934b0805f1c7496e2003 /app-emacs/elpy/files/elpy-elpy-rpc.el-elpy-rpc-pythonpath.patch
parentf156f4bd4540c859c44f73bf9b73ba4d6babaa91 (diff)
downloadgentoo-bab7113a6852ac300bee085aee8eb24a231dd482.tar.gz
gentoo-bab7113a6852ac300bee085aee8eb24a231dd482.tar.bz2
gentoo-bab7113a6852ac300bee085aee8eb24a231dd482.zip
app-emacs/elpy: new package; add version 1.35.0_p20220321
2022.03.21 snapshot Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/elpy/files/elpy-elpy-rpc.el-elpy-rpc-pythonpath.patch')
-rw-r--r--app-emacs/elpy/files/elpy-elpy-rpc.el-elpy-rpc-pythonpath.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-emacs/elpy/files/elpy-elpy-rpc.el-elpy-rpc-pythonpath.patch b/app-emacs/elpy/files/elpy-elpy-rpc.el-elpy-rpc-pythonpath.patch
new file mode 100644
index 000000000000..f64dfd3f563e
--- /dev/null
+++ b/app-emacs/elpy/files/elpy-elpy-rpc.el-elpy-rpc-pythonpath.patch
@@ -0,0 +1,12 @@
+index b228597..aa5fd12 100644
+--- a/elpy-rpc.el
++++ b/elpy-rpc.el
+@@ -100,7 +100,7 @@ for example), set this to the full interpreter path."
+ (elpy-rpc-restart)))
+ :group 'elpy)
+
+-(defcustom elpy-rpc-pythonpath (file-name-directory load-file-name)
++(defcustom elpy-rpc-pythonpath "@PYTHONLIB@/site-packages/"
+ "A directory to add to the PYTHONPATH for the RPC process.
+
+ This should be a directory where the elpy module can be found. If