From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 533531382C5 for ; Sun, 3 Jan 2021 22:56:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 834EBE0919; Sun, 3 Jan 2021 22:56:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B2B0E0908 for ; Sun, 3 Jan 2021 22:56:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D17433BF54 for ; Sun, 3 Jan 2021 22:56:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F271FCC for ; Sun, 3 Jan 2021 22:56:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1609714238.46e99fe18a49b6f1fc2811d86cc0e8ba2e8c6a84.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libofx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libofx/Manifest dev-libs/libofx/libofx-0.10.0.ebuild X-VCS-Directories: dev-libs/libofx/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 46e99fe18a49b6f1fc2811d86cc0e8ba2e8c6a84 X-VCS-Branch: master Date: Sun, 3 Jan 2021 22:56:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f309d21d-36a4-4b36-9155-47f2e6a63f58 X-Archives-Hash: 9dd2e06f48832909d4907b9884355e7c commit: 46e99fe18a49b6f1fc2811d86cc0e8ba2e8c6a84 Author: Sam James gentoo org> AuthorDate: Sun Jan 3 22:50:38 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 3 22:50:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46e99fe1 dev-libs/libofx: bump to 0.10.0 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/libofx/Manifest | 1 + dev-libs/libofx/libofx-0.10.0.ebuild | 57 ++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-libs/libofx/Manifest b/dev-libs/libofx/Manifest index 7c30ee137d3..7cd2c9d067a 100644 --- a/dev-libs/libofx/Manifest +++ b/dev-libs/libofx/Manifest @@ -1 +1,2 @@ +DIST libofx-0.10.0.tar.gz 225574 BLAKE2B 29ce24ce8f0a333e2d35371cba217223e59e72e1f41051279c15033fecd5f33d7381e9be8403f2e639c007ca6aca1d53cf651e057c9842350772c2296b92c436 SHA512 b7767088701e22a2eba072c365d379987c6e9b2403888550068d6f62f48eaee7935e5355fa6ec97ac7a79bb847c833552250c0bd3065f9274b209585a7884f1d DIST libofx-0.9.15.tar.gz 207361 BLAKE2B c84fd4593a9888268c691653dc1b5fff5c38013f12ccc4a8454f9a5026ba190388e5747074aa800266efcfd49a0fdb391a605d5837f664bdcb8fe1dc5c064839 SHA512 6014bf9c457adbe9053a47718064e6246c911c3bf081c690bf761650220208aabe94824aaa38794c1834462894b7948a06b3ff6b517a9a84b9f881ba51aee3a1 diff --git a/dev-libs/libofx/libofx-0.10.0.ebuild b/dev-libs/libofx/libofx-0.10.0.ebuild new file mode 100644 index 00000000000..c1c87bcc0e4 --- /dev/null +++ b/dev-libs/libofx/libofx-0.10.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="Library to support the Open Financial eXchange XML format" +HOMEPAGE="https://github.com/libofx/libofx" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/10" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-util/gengetopt + sys-apps/help2man + virtual/pkgconfig + test? ( app-crypt/gnupg ) +" +RDEPEND=" + >=dev-cpp/libxmlpp-2.40.1:2.6 + >=net-misc/curl-7.9.7 + virtual/libiconv +" +DEPEND="${RDEPEND} + >app-text/opensp-1.5 +" + +src_prepare() { + default + + # Not included in the tarball + sed -i -e '/INSTALL/d' Makefile.am || die + # Use correct location for docs + sed -i -e 's:doc/libofx:doc/${PF}:' Makefile.am doc/Makefile.am || die + + eautoreconf + append-cxxflags -std=c++14 # bug #566456 +} + +src_compile() { + emake -j1 +} + +src_install() { + default + + find "${ED}" -name '*.la' -type f -delete || die + + if ! use static-libs; then + find "${ED}" -name '*.a' -type f -delete || die + fi +}