Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/ledger/, app-office/ledger/files/
Date: Mon, 03 Apr 2017 18:13:46
Message-Id: 1491243114.c7ba297cbfbc9ddef908162932e90a11c218eba4.soap@gentoo
1 commit: c7ba297cbfbc9ddef908162932e90a11c218eba4
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 3 18:11:54 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 3 18:11:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ba297c
7
8 app-office/ledger: Remove old
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 app-office/ledger/Manifest | 2 -
13 app-office/ledger/files/50ledger-gentoo-3.1.el | 5 --
14 app-office/ledger/files/50ledger-gentoo.el | 5 --
15 app-office/ledger/ledger-2.6.3-r1.ebuild | 80 --------------------------
16 app-office/ledger/ledger-3.1-r1.ebuild | 70 ----------------------
17 5 files changed, 162 deletions(-)
18
19 diff --git a/app-office/ledger/Manifest b/app-office/ledger/Manifest
20 index 778c657a4f8..6cd37cd8db1 100644
21 --- a/app-office/ledger/Manifest
22 +++ b/app-office/ledger/Manifest
23 @@ -1,3 +1 @@
24 -DIST ledger-2.6.3.tar.gz 551325 SHA256 e2c99d930fcf64b7fa901215c7fa25e3327f6365e8ee049620ef3632d53bf363 SHA512 825e670d25d2f8d1791480fb5da4190f7b342ecc9b47bca60fd6f0e606e5af5f3f767ec7043339660396ef4c90451f4a4122d812b8761acf4ea964b67dbd43b5 WHIRLPOOL e6d351ce8899079daa9cb0d1f9493b2b551a6d44e8ad7949c28ac8e544f80c87d54f06b350adfc21c4c8582e9042547313a506fa74096671bae30b462ae3e2df
25 DIST ledger-3.1.1.tar.gz 842364 SHA256 90f06561ab692b192d46d67bc106158da9c6c6813cc3848b503243a9dfd8548a SHA512 3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5 WHIRLPOOL 89a83818adbe206167dbfc999dd589f1943d199cf84979fa82754f597a863c115fec85bbdabc4413714b4253502833170e6327bfc0d2321c392b9a3d73400061
26 -DIST ledger-3.1.tar.gz 817624 SHA256 eeb5d260729834923fc94822bcc54ca3080c434f81466a3f5dc4274b357ce694 SHA512 caa84330eee05d3e88820e8afd4a906d22f6aaa9de4abc2f6813636754e052e6ec4d1b3d2fce68215aededc72651405c62aaf16a2c1b69d34e1b10ffece48519 WHIRLPOOL fc3ce5e8eb59e1d4f83101063ebefd1379172c1be0e4f504079519924859b8127d616e7e3714837be49c7b38674b1684e321347d1f8561aeeba586b538341142
27
28 diff --git a/app-office/ledger/files/50ledger-gentoo-3.1.el b/app-office/ledger/files/50ledger-gentoo-3.1.el
29 deleted file mode 100644
30 index 1c2c5bde2f8..00000000000
31 --- a/app-office/ledger/files/50ledger-gentoo-3.1.el
32 +++ /dev/null
33 @@ -1,5 +0,0 @@
34 -
35 -;;; app-office/ledger site-lisp configuration
36 -
37 -(add-to-list 'load-path "@SITELISP@")
38 -(autoload 'ledger-mode "ledger-mode" "A mode for editing ledger data files." t)
39
40 diff --git a/app-office/ledger/files/50ledger-gentoo.el b/app-office/ledger/files/50ledger-gentoo.el
41 deleted file mode 100644
42 index 27836612139..00000000000
43 --- a/app-office/ledger/files/50ledger-gentoo.el
44 +++ /dev/null
45 @@ -1,5 +0,0 @@
46 -
47 -;;; app-office/ledger site-lisp configuration
48 -
49 -(add-to-list 'load-path "@SITELISP@")
50 -(autoload 'ledger-mode "ledger" "A mode for editing ledger data files." t)
51
52 diff --git a/app-office/ledger/ledger-2.6.3-r1.ebuild b/app-office/ledger/ledger-2.6.3-r1.ebuild
53 deleted file mode 100644
54 index 78b0e1fad19..00000000000
55 --- a/app-office/ledger/ledger-2.6.3-r1.ebuild
56 +++ /dev/null
57 @@ -1,80 +0,0 @@
58 -# Copyright 1999-2015 Gentoo Foundation
59 -# Distributed under the terms of the GNU General Public License v2
60 -
61 -EAPI=4
62 -
63 -inherit eutils elisp-common autotools
64 -
65 -DESCRIPTION="A double-entry accounting system with a command-line reporting interface"
66 -HOMEPAGE="http://ledger-cli.org/"
67 -SRC_URI="mirror://github/jwiegley/${PN}/${P}.tar.gz"
68 -
69 -LICENSE="BSD"
70 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos"
71 -SLOT="0"
72 -IUSE="emacs debug gnuplot ofx static-libs xml vim-syntax"
73 -
74 -DEPEND="
75 - dev-libs/gmp:0
76 - dev-libs/libpcre
77 - ofx? ( >=dev-libs/libofx-0.9 )
78 - xml? ( dev-libs/expat )
79 - emacs? ( virtual/emacs )
80 - gnuplot? ( sci-visualization/gnuplot )"
81 -RDEPEND="${DEPEND}
82 - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
83 -
84 -DOCS=(sample.dat README NEWS)
85 -
86 -SITEFILE=50${PN}-gentoo.el
87 -
88 -src_prepare() {
89 - sed -i -e "/ledger_LDFLAGS/d" Makefile.am
90 - eautoreconf
91 -}
92 -
93 -src_configure() {
94 - # Autodetection of dependencies may fail in the case of:
95 - # USE=emacs disabled, app-editors/emacs not installed, app-editors/xemacs installed
96 - use emacs || export EMACS=no
97 - econf \
98 - $(use_enable debug) \
99 - $(use_with emacs lispdir "${EPREFIX}/${SITELISP}/${PN}") \
100 - $(use_enable ofx) \
101 - $(use_enable static-libs static) \
102 - $(use_enable xml)
103 -}
104 -
105 -src_install() {
106 - default
107 -
108 - # One script uses vi, the outher the Finance perl module
109 - # Did not add more use flags though
110 - exeinto /usr/share/${PN}/scripts
111 - doexe scripts/{entry,getquote,bal,bal-huquq}
112 -
113 - # Remove timeclock since it is part of Emacs
114 - rm -f "${ED}${SITELISP}/${PN}"/timeclock.*
115 -
116 - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
117 -
118 - if use gnuplot; then
119 - mv scripts/report ledger-report
120 - dobin ledger-report
121 - fi
122 -
123 - if use vim-syntax; then
124 - insinto /usr/share/vim/vimfiles/syntax
125 - doins ledger.vim
126 - fi
127 -
128 - use static-libs || find "${ED}" -name '*.la' -exec rm -f '{}' +
129 -}
130 -
131 -pkg_postinst() {
132 - use emacs && elisp-site-regen
133 -}
134 -
135 -pkg_postrm() {
136 - use emacs && elisp-site-regen
137 -}
138
139 diff --git a/app-office/ledger/ledger-3.1-r1.ebuild b/app-office/ledger/ledger-3.1-r1.ebuild
140 deleted file mode 100644
141 index 7304ca8cfa5..00000000000
142 --- a/app-office/ledger/ledger-3.1-r1.ebuild
143 +++ /dev/null
144 @@ -1,70 +0,0 @@
145 -# Copyright 1999-2016 Gentoo Foundation
146 -# Distributed under the terms of the GNU General Public License v2
147 -
148 -EAPI=5
149 -
150 -inherit cmake-utils elisp-common
151 -
152 -DESCRIPTION="A double-entry accounting system with a command-line reporting interface"
153 -HOMEPAGE="http://ledger-cli.org/"
154 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
155 -
156 -LICENSE="BSD"
157 -KEYWORDS="~amd64 ~x86"
158 -SLOT="0"
159 -IUSE="doc emacs"
160 -
161 -SITEFILE=50${PN}-gentoo-${PV}.el
162 -
163 -RDEPEND="
164 - <dev-libs/boost-1.58:=
165 - dev-libs/gmp:0
166 - dev-libs/mpfr:0
167 - emacs? ( virtual/emacs )
168 -"
169 -DEPEND="${RDEPEND}
170 - dev-libs/utfcpp
171 - doc? ( sys-apps/texinfo )
172 -"
173 -
174 -DOCS=(README-1ST README.md)
175 -
176 -src_configure() {
177 - local mycmakeargs=(
178 - $(cmake-utils_use_build emacs EMACSLISP)
179 - $(cmake-utils_use_build doc DOCS)
180 - $(cmake-utils_use_build doc WEB_DOCS)
181 - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
182 - )
183 -
184 - cmake-utils_src_configure
185 -}
186 -
187 -src_compile() {
188 - cmake-utils_src_compile
189 -
190 - use doc && cmake-utils_src_make doc
191 -}
192 -
193 -src_install() {
194 - enable_cmake-utils_src_install
195 -
196 - use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
197 -}
198 -
199 -pkg_postinst() {
200 - use emacs && elisp-site-regen
201 -
202 - einfo
203 - einfo "Since version 3, vim support is released separately."
204 - einfo "See https://github.com/ledger/vim-ledger"
205 - einfo
206 -}
207 -
208 -pkg_postrm() {
209 - use emacs && elisp-site-regen
210 -}
211 -
212 -# rainy day TODO:
213 -# - IUSE python
214 -# - IUSE test