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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2042E158086 for ; Sat, 6 Nov 2021 20:34:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63F462BC007; Sat, 6 Nov 2021 20:33:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 075F12BC007 for ; Sat, 6 Nov 2021 20:33:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D70C8342E81 for ; Sat, 6 Nov 2021 20:33:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E393F1AD for ; Sat, 6 Nov 2021 20:33:54 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1636230772.6c1ddcec1e68b62f41dd56579b9debcb513bdf5e.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/spu-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild X-VCS-Directories: sys-apps/spu-tools/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 6c1ddcec1e68b62f41dd56579b9debcb513bdf5e X-VCS-Branch: master Date: Sat, 6 Nov 2021 20:33:54 +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: b0eaaf51-c469-4551-9fc8-16d5675c0537 X-Archives-Hash: 067822f6af921d80282b514e5025b20a commit: 6c1ddcec1e68b62f41dd56579b9debcb513bdf5e Author: Jakov Smolić gentoo org> AuthorDate: Fri Nov 5 18:27:19 2021 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Sat Nov 6 20:32:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c1ddcec sys-apps/spu-tools: Port to EAPI 8 Closes: https://bugs.gentoo.org/819243 Signed-off-by: Jakov Smolić gentoo.org> sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild index e64a12c86a5..2955c689ee4 100644 --- a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild +++ b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild @@ -1,35 +1,36 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch flag-o-matic toolchain-funcs +inherit flag-o-matic toolchain-funcs -MY_P=${P/_p/-} +MY_P="${P/_p/-}" DESCRIPTION="CELL spu ps and top alike utilities" HOMEPAGE="https://sourceforge.net/projects/libspe" SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz" +S="${WORKDIR}/${PN}/src" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc ppc64" RDEPEND=" - sys-libs/ncurses:0= + sys-libs/ncurses:= " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" sys-apps/help2man virtual/pkgconfig " -S="${WORKDIR}/${PN}/src" +PATCHES=( + "${FILESDIR}"/${P}-buildsystem.patch + "${FILESDIR}"/${P}-format-security.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-buildsystem.patch \ - "${FILESDIR}"/${P}-format-security.patch +src_configure() { tc-export CC append-cppflags -std=gnu89 export CFLAGS="${CFLAGS}"