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 15042138359 for ; Wed, 19 Aug 2020 14:33:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E4EDE095A; Wed, 19 Aug 2020 14:33:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 2109BE095A for ; Wed, 19 Aug 2020 14:33:25 +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 BA1D834F0EE for ; Wed, 19 Aug 2020 14:33:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BB0D2D1 for ; Wed, 19 Aug 2020 14:33:22 +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: <1597847592.f1cae180105caee08f9320f73236efe25127b45f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtelnet/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libtelnet/libtelnet-0.21.ebuild X-VCS-Directories: net-libs/libtelnet/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f1cae180105caee08f9320f73236efe25127b45f X-VCS-Branch: master Date: Wed, 19 Aug 2020 14:33:22 +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: 2f2f7fe0-1dd2-4a22-a71e-9cc24a48bcd1 X-Archives-Hash: 14859273832a63c30511cb047725c94b commit: f1cae180105caee08f9320f73236efe25127b45f Author: Jakov Smolic sartura hr> AuthorDate: Tue Aug 18 10:12:25 2020 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 19 14:33:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1cae180 net-libs/libtelnet: do not install '.a' files Closes: https://bugs.gentoo.org/725014 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Sam James gentoo.org> net-libs/libtelnet/libtelnet-0.21.ebuild | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/net-libs/libtelnet/libtelnet-0.21.ebuild b/net-libs/libtelnet/libtelnet-0.21.ebuild index a607c506fd6..758f7e176b2 100644 --- a/net-libs/libtelnet/libtelnet-0.21.ebuild +++ b/net-libs/libtelnet/libtelnet-0.21.ebuild @@ -1,28 +1,20 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils autotools + +inherit autotools eutils + DESCRIPTION="Simple RFC-complient TELNET implementation as a C library" HOMEPAGE="https://github.com/seanmiddleditch/libtelnet" +SRC_URI="https://github.com/seanmiddleditch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -if [ ${PV} = 9999 ]; then - KEYWORDS="" - EGIT_REPO_URI="https://github.com/seanmiddleditch/${PN}.git" - inherit git-2 - DEPEND="dev-vcs/git" - S="${WORKDIR}/${PN}-master" -else - KEYWORDS="~amd64 ~x86" - SRC_URI="https://github.com/seanmiddleditch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -fi +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" WANT_AUTOMAKE=1.11 DEPEND="${DEPEND} sys-devel/automake:${WANT_AUTOMAKE}" -LICENSE="public-domain" -SLOT="0" -IUSE="" -RDEPEND="" src_prepare() { _elibtoolize @@ -31,3 +23,8 @@ src_prepare() { eautoheader eautomake } + +src_install() { + default + find "${D}" -type f -name '*.a' -delete || die +}