Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 691004
Collapse All | Expand All

(-)a/app-office/ledger/ledger-3.1.2.ebuild (-17 / +4 lines)
Lines 5-11 EAPI=6 Link Here
5
5
6
PYTHON_COMPAT=( python2_7 )
6
PYTHON_COMPAT=( python2_7 )
7
7
8
inherit check-reqs cmake-utils elisp-common python-single-r1
8
inherit check-reqs cmake-utils python-single-r1
9
9
10
DESCRIPTION="A double-entry accounting system with a command-line reporting interface"
10
DESCRIPTION="A double-entry accounting system with a command-line reporting interface"
11
HOMEPAGE="https://www.ledger-cli.org/"
11
HOMEPAGE="https://www.ledger-cli.org/"
Lines 17-31 IUSE="debug doc emacs python" Link Here
17
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
17
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
18
RESTRICT="test"
18
RESTRICT="test"
19
19
20
SITEFILE=50${PN}-gentoo.el
21
22
CHECKREQS_MEMORY=8G
20
CHECKREQS_MEMORY=8G
23
21
24
RDEPEND="
22
RDEPEND="
25
	dev-libs/boost:=[python?]
23
	dev-libs/boost:=[python?]
26
	dev-libs/gmp:0=
24
	dev-libs/gmp:0=
27
	dev-libs/mpfr:0=
25
	dev-libs/mpfr:0=
28
	emacs? ( virtual/emacs )
29
	python? (
26
	python? (
30
		dev-libs/boost:=[${PYTHON_USEDEP}]
27
		dev-libs/boost:=[${PYTHON_USEDEP}]
31
		dev-python/cheetah
28
		dev-python/cheetah
Lines 41-46 DEPEND=" Link Here
41
		dev-texlive/texlive-fontsrecommended
38
		dev-texlive/texlive-fontsrecommended
42
	)
39
	)
43
"
40
"
41
PDEPEND="
42
	emacs? ( app-emacs/ledger-mode )
43
"
44
44
45
PATCHES=()
45
PATCHES=()
46
46
Lines 106-129 src_compile() { Link Here
106
	use doc && cmake-utils_src_make doc
106
	use doc && cmake-utils_src_make doc
107
}
107
}
108
108
109
src_install() {
110
	cmake-utils_src_install
111
112
	use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
113
}
114
115
pkg_postinst() {
109
pkg_postinst() {
116
	use emacs && elisp-site-regen
117
118
	einfo
110
	einfo
119
	einfo "Since version 3, vim support is released separately."
111
	einfo "Since version 3, vim support is released separately."
120
	einfo "See https://github.com/ledger/vim-ledger"
112
	einfo "See https://github.com/ledger/vim-ledger"
121
	einfo
113
	einfo
122
}
114
}
123
115
124
pkg_postrm() {
125
	use emacs && elisp-site-regen
126
}
127
128
# rainy day TODO:
116
# rainy day TODO:
129
# - IUSE test
117
# - IUSE test
130
- 

Return to bug 691004