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 5498C138334 for ; Thu, 22 Aug 2019 12:53:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B6DFE0999; Thu, 22 Aug 2019 12:53:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 318E8E0999 for ; Thu, 22 Aug 2019 12:53:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 F28D734A0FF for ; Thu, 22 Aug 2019 12:53:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6B46218 for ; Thu, 22 Aug 2019 12:53:26 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1566478366.d0231aa5f2343d2daa97a350f847e6cd7f603b28.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libofx/files/, dev-libs/libofx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libofx/files/libofx-0.9.14-0001-Makefile.am-remove-INSTALL-from-docs.patch dev-libs/libofx/libofx-0.9.14-r1.ebuild X-VCS-Directories: dev-libs/libofx/files/ dev-libs/libofx/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: d0231aa5f2343d2daa97a350f847e6cd7f603b28 X-VCS-Branch: master Date: Thu, 22 Aug 2019 12:53:26 +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: f1a14ab6-808f-4183-9042-a9b3ab92e007 X-Archives-Hash: 9636452ed1a7e720248c873e4bc0e651 commit: d0231aa5f2343d2daa97a350f847e6cd7f603b28 Author: Bernd Waibel gmail com> AuthorDate: Thu Aug 22 08:16:09 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Aug 22 12:52:46 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0231aa5 dev-libs/libofx: fix RDEPEND on libxmlpp * Moves dependency on dev-cpp/libxmlpp:2.6 from DEPEND to RDEPEND * Add BDEPEND * Remove 'touch INSTALL' in src_prepare and patch Makefile.am instead * Don't install static lib if USE flag is not set * Adds patch from Alexandre Ferreira on b.g.o to install DTD correctly Thanks to Alexandre Ferreira for the fix on DTD and DCL files. Suggested-by: Alexandre Ferreira gmail.com> Closes: https://bugs.gentoo.org/692658 Closes: https://bugs.gentoo.org/692664 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Bernd Waibel gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12758 Signed-off-by: Joonas Niilola gentoo.org> ...0001-Makefile.am-remove-INSTALL-from-docs.patch | 28 ++++++++++ dev-libs/libofx/libofx-0.9.14-r1.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/dev-libs/libofx/files/libofx-0.9.14-0001-Makefile.am-remove-INSTALL-from-docs.patch b/dev-libs/libofx/files/libofx-0.9.14-0001-Makefile.am-remove-INSTALL-from-docs.patch new file mode 100644 index 00000000000..b4e68e43ec3 --- /dev/null +++ b/dev-libs/libofx/files/libofx-0.9.14-0001-Makefile.am-remove-INSTALL-from-docs.patch @@ -0,0 +1,28 @@ +From a8f965718de5c046fa64344b6bae521cbd5a6a20 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel +Date: Wed, 21 Aug 2019 10:50:46 +0200 +Subject: [PATCH] Makefile.am: remove INSTALL from docs + +Gentoo specific: Remove the missing INSTALL file from Makefile.am +This could have been copied by eautoreconf, but unfortunately isn't. + +Signed-off-by: Bernd Waibel +--- + Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 3a83560..fd81144 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -11,7 +11,6 @@ docdir = $(datadir)/doc/libofx + doc_DATA = \ + AUTHORS \ + COPYING \ +- INSTALL \ + NEWS \ + README \ + ChangeLog \ +-- +2.22.0 + diff --git a/dev-libs/libofx/libofx-0.9.14-r1.ebuild b/dev-libs/libofx/libofx-0.9.14-r1.ebuild new file mode 100644 index 00000000000..fd778ed1a50 --- /dev/null +++ b/dev-libs/libofx/libofx-0.9.14-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="A 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/7" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="static-libs test" + +RDEPEND=" + >=dev-cpp/libxmlpp-2.40.1:2.6 + >=net-misc/curl-7.9.7 + virtual/libiconv +" +DEPEND=" + ${RDEPEND} + >app-text/opensp-1.5 +" +BDEPEND=" + dev-util/gengetopt + sys-apps/help2man + virtual/pkgconfig + test? ( app-crypt/gnupg ) +" + +PATCHES=( + "${FILESDIR}/${P}-0001-Makefile.am-remove-INSTALL-from-docs.patch" +) + +# workaround needed for ofxconnect to compile +MAKEOPTS="-j1" + +src_prepare() { + default + eautoreconf + + # we will tell you where we wants the docs! + sed -i -e 's:docdir.*::' Makefile.am || die + + # configure arguments alone don't disable everything + sed -e "/^SUBDIRS/s/doc//" -i Makefile.am || die + + append-cxxflags -std=c++14 +} + +src_configure() { + econf --docdir=/usr/share/doc/${PF} +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + if ! use static-libs; then + find "${D}" -type f -name '*.a' -delete || die + fi +}