aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki <jauhien@gentoo.org>2015-10-20 21:26:48 +0200
committerJauhien Piatlicki <jauhien@gentoo.org>2015-10-20 21:30:38 +0200
commitd60dedc5371cb54e7191b0d3192caa7d07bb009f (patch)
treed0d54ccfffe92e149d9e37f481010ca1f9d81ada
parent[docs] bump version in man pages (diff)
downloadgs-elpa-d60dedc5371cb54e7191b0d3192caa7d07bb009f.tar.gz
gs-elpa-d60dedc5371cb54e7191b0d3192caa7d07bb009f.tar.bz2
gs-elpa-d60dedc5371cb54e7191b0d3192caa7d07bb009f.zip
[docs, config] temporary fix for issue #6
-rw-r--r--README.md8
-rw-r--r--docs/gs-elpa.810
-rw-r--r--docs/gs-elpa.8.rst7
-rw-r--r--gs-elpa.json2
4 files changed, 26 insertions, 1 deletions
diff --git a/README.md b/README.md
index 51d20b7..e50aab2 100644
--- a/README.md
+++ b/README.md
@@ -87,3 +87,11 @@ See man page of **gs-elpa** for further information.
the generation. To enable their generation you need to edit
`/etc/g-sorcery/gs-elpa.json` file: remove packages you need
from the `exclude` list in the `common_config` inside this config file.
+
+* **Excluding packages from dependencies**:
+ If you ever find bugs like [this one](https://github.com/jauhien/gs-elpa/issues/6),
+ you can exclude packages from dependencies adding their name to the "external" object
+ in the "common-config" section of `/etc/g-sorcery/gs-elpa.json` config file.
+ For the example issue it would be (together with already added packages):
+
+ "external": {"emacs": "virtual/emacs", "cl-lib": "virtual/emacs", "eieio": "virtual/emacs"}
diff --git a/docs/gs-elpa.8 b/docs/gs-elpa.8
index 234ce71..d1201e9 100644
--- a/docs/gs-elpa.8
+++ b/docs/gs-elpa.8
@@ -159,6 +159,16 @@ Some packages in \fBmarmalade\fP , \fBmelpa\fP, \fBmelpa\-stable\fP depend on pa
commands will fail on them as dependencies between overlays are not supported currently. So the
recommended way of using gs\-elpa is using it with layman. Even doing so you should always add
gnu\-elpa repository: \fBlayman \-a gnu\-elpa\fP\&.
+.sp
+If you ever find bugs like \fI\%https://github.com/jauhien/gs\-elpa/issues/6\fP,
+you can exclude packages from dependencies adding their name to the "external" object
+in the "common\-config" section of \fI/etc/g\-sorcery/gs\-elpa.json\fP config file.
+For the example issue it would be (together with already added packages):
+.INDENT 0.0
+.INDENT 3.5
+"external": {"emacs": "virtual/emacs", "cl\-lib": "virtual/emacs", "eieio": "virtual/emacs"}
+.UNINDENT
+.UNINDENT
.SH SEE ALSO
.sp
\fBgs\-pypi\fP(8), \fBg\-sorcery.cfg\fP(8), \fBportage\fP(5), \fBemerge\fP(1), \fBlayman\fP(8)
diff --git a/docs/gs-elpa.8.rst b/docs/gs-elpa.8.rst
index 457e585..0e8b847 100644
--- a/docs/gs-elpa.8.rst
+++ b/docs/gs-elpa.8.rst
@@ -145,6 +145,13 @@ commands will fail on them as dependencies between overlays are not supported cu
recommended way of using gs-elpa is using it with layman. Even doing so you should always add
gnu-elpa repository: **layman -a gnu-elpa**.
+If you ever find bugs like https://github.com/jauhien/gs-elpa/issues/6,
+you can exclude packages from dependencies adding their name to the "external" object
+in the "common-config" section of `/etc/g-sorcery/gs-elpa.json` config file.
+For the example issue it would be (together with already added packages):
+
+ "external": {"emacs": "virtual/emacs", "cl-lib": "virtual/emacs", "eieio": "virtual/emacs"}
+
SEE ALSO
========
diff --git a/gs-elpa.json b/gs-elpa.json
index b2037b0..9d95f6f 100644
--- a/gs-elpa.json
+++ b/gs-elpa.json
@@ -53,6 +53,6 @@
"vhdl-mode", "view-process", "vm", "volume", "w3mnav", "wanderlust", "whine", "wikipedia-mode", "xclip",
"xrdb-mode", "xslide", "yaml-mode", "yasnippet", "yatex", "yc", "zenburn", "yyzenirc"
],
- "external": {"emacs": "virtual/emacs", "cl-lib": "virtual/emacs"}
+ "external": {"emacs": "virtual/emacs", "cl-lib": "virtual/emacs", "eieio": "virtual/emacs"}
}
}