Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/ledger/
Date: Sun, 11 Aug 2019 08:19:49
Message-Id: 1565511564.3806c0fefbf35e780bef077eda75e4c1ae054000.asturm@gentoo
1 commit: 3806c0fefbf35e780bef077eda75e4c1ae054000
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 10 22:47:56 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 11 08:19:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3806c0fe
7
8 app-office/ledger: Drop elisp-common, make reference in pkg_postinst
9
10 Non-maintainer commit.
11
12 Drop duplicate eapply-user that is already run by cmake-utils.
13
14 Closes: https://bugs.gentoo.org/691004
15 Package-Manager: Portage-2.3.71, Repoman-2.3.17
16 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
17
18 app-office/ledger/ledger-3.1.2.ebuild | 26 ++++++--------------------
19 1 file changed, 6 insertions(+), 20 deletions(-)
20
21 diff --git a/app-office/ledger/ledger-3.1.2.ebuild b/app-office/ledger/ledger-3.1.2.ebuild
22 index 15695c67391..264bbc82ca5 100644
23 --- a/app-office/ledger/ledger-3.1.2.ebuild
24 +++ b/app-office/ledger/ledger-3.1.2.ebuild
25 @@ -5,7 +5,7 @@ EAPI=6
26
27 PYTHON_COMPAT=( python2_7 )
28
29 -inherit check-reqs cmake-utils elisp-common python-single-r1
30 +inherit check-reqs cmake-utils python-single-r1
31
32 DESCRIPTION="A double-entry accounting system with a command-line reporting interface"
33 HOMEPAGE="https://www.ledger-cli.org/"
34 @@ -17,15 +17,12 @@ IUSE="debug doc emacs python"
35 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
36 RESTRICT="test"
37
38 -SITEFILE=50${PN}-gentoo.el
39 -
40 CHECKREQS_MEMORY=8G
41
42 RDEPEND="
43 dev-libs/boost:=[python?]
44 dev-libs/gmp:0=
45 dev-libs/mpfr:0=
46 - emacs? ( virtual/emacs )
47 python? (
48 dev-libs/boost:=[${PYTHON_USEDEP}]
49 dev-python/cheetah
50 @@ -42,8 +39,6 @@ DEPEND="
51 )
52 "
53
54 -PATCHES=()
55 -
56 # Building with python integration seems to fail without 8G available
57 # RAM(!) Since the memory check in check-reqs doesn't count swap, it
58 # may be unfair to fail the build entirely on the memory test alone.
59 @@ -82,8 +77,6 @@ src_prepare() {
60 || die "Failed to update info file name in file contents"
61
62 mv doc/ledger{3,}.texi || die "Failed to rename info file name"
63 -
64 - eapply_user
65 }
66
67 src_configure() {
68 @@ -108,21 +101,14 @@ src_compile() {
69
70 src_install() {
71 cmake-utils_src_install
72 -
73 - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
74 }
75
76 pkg_postinst() {
77 - use emacs && elisp-site-regen
78 -
79 - einfo
80 - einfo "Since version 3, vim support is released separately."
81 - einfo "See https://github.com/ledger/vim-ledger"
82 - einfo
83 -}
84 -
85 -pkg_postrm() {
86 - use emacs && elisp-site-regen
87 + elog
88 + elog "Since version 3, vim support is released separately."
89 + elog "See https://github.com/ledger/vim-ledger"
90 + elog
91 + elog "For Emacs mode, emerge app-emacs/ledger-mode"
92 }
93
94 # rainy day TODO: