Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libofx/
Date: Sun, 18 Aug 2019 02:13:58
Message-Id: 1566094411.451fc2c8ff8cb638785cb2a51d722da9e35700e3.bman@gentoo
1 commit: 451fc2c8ff8cb638785cb2a51d722da9e35700e3
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 18 02:06:31 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 18 02:13:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=451fc2c8
7
8 dev-libs/libofx: bump package
9
10 * non-maintainer security bump
11 * drop PPC/PPC64 keywords due to new dep on dev-util/gengetopt
12 * move from autotools-utils to autotools eclass
13 * bump EAPI
14 * Update HOMEPAGE and SRC_URI
15 * move RDEPEND deps to DEPEND where they belong
16
17 Bug: https://bugs.gentoo.org/631304
18 Bug: https://bugs.gentoo.org/636062
19 Bug: https://bugs.gentoo.org/662910
20 Closes: https://bugs.gentoo.org/675152
21
22 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
23
24 dev-libs/libofx/Manifest | 1 +
25 dev-libs/libofx/libofx-0.9.14.ebuild | 56 ++++++++++++++++++++++++++++++++++++
26 2 files changed, 57 insertions(+)
27
28 diff --git a/dev-libs/libofx/Manifest b/dev-libs/libofx/Manifest
29 index 4b302287fec..a963d76fa3a 100644
30 --- a/dev-libs/libofx/Manifest
31 +++ b/dev-libs/libofx/Manifest
32 @@ -1 +1,2 @@
33 DIST libofx-0.9.10.tar.gz 1433837 BLAKE2B 131be0243b8450d32417dd75f0421744412a3186c0f7a3451883b6572c0dd27427579baf280ac2ae6409d0738bd578f69eaa9debfe50024411c6b0ccad11f5c9 SHA512 061110702034dbbb9be3adaebe6236a4b0842169d8ee7671bad6c93960b380cbb33953bdf080c8b14f45930b0c817fcfe1bf71f15d9872dd2535a1415f5be895
34 +DIST libofx-0.9.14.tar.gz 210155 BLAKE2B 1b5ee8503dd9d4837415e53ae79889c32c50146b2b508aab052e8074a277f8181c6866470220758ed7997b0b6e3e524ac6f9e1cac9a673f60c30ce3093e5a3ee SHA512 785c5130fc6f6cfc019d4aee2bf6de6311835e5dc7f2bd56a83f1ecf5e62ecb320a95bf4a5ff8f9e14dcaf5ff1eabc833cd7974927e571a8469c9a02fb8362d2
35
36 diff --git a/dev-libs/libofx/libofx-0.9.14.ebuild b/dev-libs/libofx/libofx-0.9.14.ebuild
37 new file mode 100644
38 index 00000000000..d6ce2c6f74e
39 --- /dev/null
40 +++ b/dev-libs/libofx/libofx-0.9.14.ebuild
41 @@ -0,0 +1,56 @@
42 +# Copyright 1999-2014 Gentoo Foundation
43 +# Distributed under the terms of the GNU General Public License v2
44 +
45 +EAPI=7
46 +
47 +inherit autotools flag-o-matic
48 +
49 +DESCRIPTION="A library to support the Open Financial eXchange XML format"
50 +HOMEPAGE="https://github.com/libofx/libofx"
51 +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~hppa ~x86"
56 +IUSE="static-libs test"
57 +
58 +RDEPEND="
59 + >=net-misc/curl-7.9.7
60 + virtual/libiconv
61 +"
62 +DEPEND="${RDEPEND}
63 + >app-text/opensp-1.5
64 + >=dev-cpp/libxmlpp-2.40.1:2.6
65 + dev-util/gengetopt
66 + sys-apps/help2man
67 + virtual/pkgconfig
68 + test? ( app-crypt/gnupg )"
69 +
70 +# workaround needed for ofxconnect to compile
71 +MAKEOPTS="-j1"
72 +
73 +src_prepare() {
74 + default
75 + eautoreconf
76 +
77 + # we will tell you where we wants the docs!
78 + sed -i -e 's:docdir.*::' Makefile.am || die
79 + sed -i -e 's:docdir.*::' dtd/Makefile.am || die
80 +
81 + # configure arguments alone don't disable everything
82 + sed -e "/^SUBDIRS/s/doc//" -i Makefile.am || die
83 +
84 + append-cxxflags -std=c++14
85 +
86 + # build will fail without this. shenanigans...
87 + touch INSTALL || die "failed to touch INSTALL"
88 +}
89 +
90 +src_configure() {
91 + econf --docdir=/usr/share/doc/${PF}
92 +}
93 +
94 +src_install() {
95 + default
96 + find "${D}" -name '*.la' -delete || die
97 +}