From b74fbfd59f8533e7c59af6fe033f4bc85fe70255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20B=C3=B6ck?= Date: Mon, 3 Aug 2020 09:23:35 +0200 Subject: [PATCH] app-misc/ktoblzcheck: Disable Python. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python code is python 2 only, no other package uses it. Bug: https://bugs.gentoo.org/735228 Signed-off-by: Hanno Böck Package-Manager: Portage-3.0.1, Repoman-2.3.23 --- .../ktoblzcheck/ktoblzcheck-1.49-r2.ebuild | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 app-misc/ktoblzcheck/ktoblzcheck-1.49-r2.ebuild diff --git a/app-misc/ktoblzcheck/ktoblzcheck-1.49-r2.ebuild b/app-misc/ktoblzcheck/ktoblzcheck-1.49-r2.ebuild new file mode 100644 index 0000000000000..70b76b0106e51 --- /dev/null +++ b/app-misc/ktoblzcheck/ktoblzcheck-1.49-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Library to check account numbers and bank codes of German banks" +HOMEPAGE="http://ktoblzcheck.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=" + app-text/recode:0= + sys-apps/grep + sys-apps/sed + virtual/awk + || ( net-misc/wget www-client/lynx ) +" +DEPEND="${RDEPEND} + sys-devel/libtool +" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_configure() { + econf --disable-python +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +}