app-office/ledger: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
David Seifert
2017-04-03 20:11:54 +02:00
parent b9bf42c1a5
commit c7ba297cbf
5 changed files with 0 additions and 162 deletions

View File

@@ -1,3 +1 @@
DIST ledger-2.6.3.tar.gz 551325 SHA256 e2c99d930fcf64b7fa901215c7fa25e3327f6365e8ee049620ef3632d53bf363 SHA512 825e670d25d2f8d1791480fb5da4190f7b342ecc9b47bca60fd6f0e606e5af5f3f767ec7043339660396ef4c90451f4a4122d812b8761acf4ea964b67dbd43b5 WHIRLPOOL e6d351ce8899079daa9cb0d1f9493b2b551a6d44e8ad7949c28ac8e544f80c87d54f06b350adfc21c4c8582e9042547313a506fa74096671bae30b462ae3e2df
DIST ledger-3.1.1.tar.gz 842364 SHA256 90f06561ab692b192d46d67bc106158da9c6c6813cc3848b503243a9dfd8548a SHA512 3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5 WHIRLPOOL 89a83818adbe206167dbfc999dd589f1943d199cf84979fa82754f597a863c115fec85bbdabc4413714b4253502833170e6327bfc0d2321c392b9a3d73400061
DIST ledger-3.1.tar.gz 817624 SHA256 eeb5d260729834923fc94822bcc54ca3080c434f81466a3f5dc4274b357ce694 SHA512 caa84330eee05d3e88820e8afd4a906d22f6aaa9de4abc2f6813636754e052e6ec4d1b3d2fce68215aededc72651405c62aaf16a2c1b69d34e1b10ffece48519 WHIRLPOOL fc3ce5e8eb59e1d4f83101063ebefd1379172c1be0e4f504079519924859b8127d616e7e3714837be49c7b38674b1684e321347d1f8561aeeba586b538341142

View File

@@ -1,5 +0,0 @@
;;; app-office/ledger site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(autoload 'ledger-mode "ledger-mode" "A mode for editing ledger data files." t)

View File

@@ -1,5 +0,0 @@
;;; app-office/ledger site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(autoload 'ledger-mode "ledger" "A mode for editing ledger data files." t)

View File

@@ -1,80 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils elisp-common autotools
DESCRIPTION="A double-entry accounting system with a command-line reporting interface"
HOMEPAGE="http://ledger-cli.org/"
SRC_URI="mirror://github/jwiegley/${PN}/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos"
SLOT="0"
IUSE="emacs debug gnuplot ofx static-libs xml vim-syntax"
DEPEND="
dev-libs/gmp:0
dev-libs/libpcre
ofx? ( >=dev-libs/libofx-0.9 )
xml? ( dev-libs/expat )
emacs? ( virtual/emacs )
gnuplot? ( sci-visualization/gnuplot )"
RDEPEND="${DEPEND}
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
DOCS=(sample.dat README NEWS)
SITEFILE=50${PN}-gentoo.el
src_prepare() {
sed -i -e "/ledger_LDFLAGS/d" Makefile.am
eautoreconf
}
src_configure() {
# Autodetection of dependencies may fail in the case of:
# USE=emacs disabled, app-editors/emacs not installed, app-editors/xemacs installed
use emacs || export EMACS=no
econf \
$(use_enable debug) \
$(use_with emacs lispdir "${EPREFIX}/${SITELISP}/${PN}") \
$(use_enable ofx) \
$(use_enable static-libs static) \
$(use_enable xml)
}
src_install() {
default
# One script uses vi, the outher the Finance perl module
# Did not add more use flags though
exeinto /usr/share/${PN}/scripts
doexe scripts/{entry,getquote,bal,bal-huquq}
# Remove timeclock since it is part of Emacs
rm -f "${ED}${SITELISP}/${PN}"/timeclock.*
use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
if use gnuplot; then
mv scripts/report ledger-report
dobin ledger-report
fi
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/syntax
doins ledger.vim
fi
use static-libs || find "${ED}" -name '*.la' -exec rm -f '{}' +
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}

View File

@@ -1,70 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit cmake-utils elisp-common
DESCRIPTION="A double-entry accounting system with a command-line reporting interface"
HOMEPAGE="http://ledger-cli.org/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="doc emacs"
SITEFILE=50${PN}-gentoo-${PV}.el
RDEPEND="
<dev-libs/boost-1.58:=
dev-libs/gmp:0
dev-libs/mpfr:0
emacs? ( virtual/emacs )
"
DEPEND="${RDEPEND}
dev-libs/utfcpp
doc? ( sys-apps/texinfo )
"
DOCS=(README-1ST README.md)
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build emacs EMACSLISP)
$(cmake-utils_use_build doc DOCS)
$(cmake-utils_use_build doc WEB_DOCS)
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
use doc && cmake-utils_src_make doc
}
src_install() {
enable_cmake-utils_src_install
use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}
pkg_postinst() {
use emacs && elisp-site-regen
einfo
einfo "Since version 3, vim support is released separately."
einfo "See https://github.com/ledger/vim-ledger"
einfo
}
pkg_postrm() {
use emacs && elisp-site-regen
}
# rainy day TODO:
# - IUSE python
# - IUSE test