1 |
commit: 1494a489641e916d6d23b57d738c82251580c71d |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 30 22:10:15 2019 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 30 22:10:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1494a489 |
7 |
|
8 |
app-admin/emacs-updater: Bump to version 1.16. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/631132 |
11 |
Closes: https://bugs.gentoo.org/693140 |
12 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
app-admin/emacs-updater/Manifest | 1 + |
16 |
app-admin/emacs-updater/emacs-updater-1.16.ebuild | 37 +++++++++++++++++++++++ |
17 |
2 files changed, 38 insertions(+) |
18 |
|
19 |
diff --git a/app-admin/emacs-updater/Manifest b/app-admin/emacs-updater/Manifest |
20 |
index 9073c749e58..e23041d5e14 100644 |
21 |
--- a/app-admin/emacs-updater/Manifest |
22 |
+++ b/app-admin/emacs-updater/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST emacs-updater-1.15.tar.xz 7020 BLAKE2B bb35103b328a57dcaeb11c258bddbd3a08141d1e245ac4943c7a5a8b815440db0cd06eaac01ad2a00e6e2aa0d23311d774d190fd761be66514856077b3c4e296 SHA512 8cc7dd3e0e28ae71030c7c5f29d54f24e12adcbd0615f3c598ad262bd233f028c2424c277aac7dff7b4201a2ac24bfab0e05d1fdc07edcee2c184a733f699b8a |
25 |
+DIST emacs-updater-1.16.tar.xz 7112 BLAKE2B 82160ef71b4c22a385a45765c1f60b7d428297cfb3b51f84bd44b176d1bd302165f9ccdde803aae628a2dab9e0520098082232c513b2006ae5facfa283f287ab SHA512 3de3126debc49ea47bd57802c1a3aa82a0769ab392741fb891c93ffb66141f05f58025fa0de746ec78795fc34c135536740e447e1f6a4ae59aa847d21bd6215b |
26 |
|
27 |
diff --git a/app-admin/emacs-updater/emacs-updater-1.16.ebuild b/app-admin/emacs-updater/emacs-updater-1.16.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..ef79c178430 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/emacs-updater/emacs-updater-1.16.ebuild |
32 |
@@ -0,0 +1,37 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+DESCRIPTION="Rebuild Emacs packages" |
39 |
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" |
40 |
+SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
45 |
+ |
46 |
+DEPEND="|| ( sys-apps/util-linux app-misc/getopt )" |
47 |
+RDEPEND="${DEPEND} |
48 |
+ >=app-portage/portage-utils-0.3 |
49 |
+ virtual/emacs" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ |
54 |
+ if ! has_version sys-apps/util-linux; then |
55 |
+ # BSD ships a dumb getopt(1), so use getopt-long instead |
56 |
+ sed -i -e '/^GETOPT=/s/getopt/&-long/' emacs-updater || die |
57 |
+ fi |
58 |
+ |
59 |
+ if [[ -n ${EPREFIX} ]]; then |
60 |
+ sed -i -e "1s:/:${EPREFIX%/}/:" \ |
61 |
+ -e "s:^\([[:upper:]]*=\)/:\1${EPREFIX%/}/:" \ |
62 |
+ emacs-updater || die |
63 |
+ fi |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ dosbin emacs-updater |
68 |
+ doman emacs-updater.8 |
69 |
+} |