1 |
commit: 1efefa894f56cf96b1eca701f2961e59cc5bd840 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 27 18:08:42 2019 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 27 18:14:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1efefa89 |
7 |
|
8 |
app-office/moneyguru: bump to 3.0.0 |
9 |
|
10 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
app-office/moneyguru/Manifest | 1 + |
14 |
app-office/moneyguru/moneyguru-3.0.0.ebuild | 49 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 50 insertions(+) |
16 |
|
17 |
diff --git a/app-office/moneyguru/Manifest b/app-office/moneyguru/Manifest |
18 |
index c6fd4179caa..a06a315af5a 100644 |
19 |
--- a/app-office/moneyguru/Manifest |
20 |
+++ b/app-office/moneyguru/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST moneyguru-2.13.1.tar.gz 1665892 BLAKE2B 969286130c5336f4c41ccf0ee3cbfe55a13560f753e137ff5370184c5aff3e038995c79ad48620a5653552406ea6fb56d356a209cd36774751db4f8e3777354c SHA512 9544a2fe17d0c1d4a6f1ee6c52c79e66ca76da6a6ac35067f1961fe2b44a8efe20173ee5932a91adeeebcb0a522b544df11ad388cb4c453a0641060d75f2a17c |
23 |
+DIST moneyguru-3.0.0.tar.gz 1049954 BLAKE2B af411ea9cf965b93e6d3e88c47db74adc87ebb695862bef9a103ece0e56a5ec2c45e929a2a8bd405a41d3388c7561c69f7c54c41ae97e84f405a9c92385a162b SHA512 184d2e042014baea4f05f2f0397818cde4f86d726858ed253caac12e986660f85418c65657cc6fad1e3137195d55da35eceec3e8eaf23a01e81874dc20380e7f |
24 |
|
25 |
diff --git a/app-office/moneyguru/moneyguru-3.0.0.ebuild b/app-office/moneyguru/moneyguru-3.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ffe8516e22b |
28 |
--- /dev/null |
29 |
+++ b/app-office/moneyguru/moneyguru-3.0.0.ebuild |
30 |
@@ -0,0 +1,49 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
37 |
+ |
38 |
+inherit python-single-r1 |
39 |
+ |
40 |
+DESCRIPTION="Future-aware personal finances management" |
41 |
+HOMEPAGE="https://hardcoded.net/moneyguru" |
42 |
+SRC_URI="https://download.hardcoded.net/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+IUSE="test" |
48 |
+ |
49 |
+RDEPEND="${PYTHON_DEPS} |
50 |
+ dev-db/sqlite:3 |
51 |
+ dev-libs/glib:2 |
52 |
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,printsupport] |
53 |
+ dev-qt/qttranslations" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ test? ( |
56 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
57 |
+ dev-util/cunit |
58 |
+ )" |
59 |
+ |
60 |
+_emake() { |
61 |
+ emake CFLAGS="\$(DEFAULT_CFLAGS) ${CFLAGS}" \ |
62 |
+ SHEBANG="${PYTHON}" \ |
63 |
+ DESTDIR="${ED}" \ |
64 |
+ PREFIX=/usr \ |
65 |
+ $@ |
66 |
+} |
67 |
+ |
68 |
+src_compile() { |
69 |
+ _emake |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ _emake install |
74 |
+} |
75 |
+ |
76 |
+src_test() { |
77 |
+ emake -C ccore CFLAGS="\$(DEFAULT_CFLAGS) ${CFLAGS}" tests |
78 |
+ pytest -vv core || die "Tests failed with ${EPYTHON}" |
79 |
+} |