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 2E6D8138334 for ; Wed, 15 Aug 2018 19:53:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18B14E0A8B; Wed, 15 Aug 2018 19:53:51 +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 E4D2BE0A8B for ; Wed, 15 Aug 2018 19:53:50 +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 B4EEB335D05 for ; Wed, 15 Aug 2018 19:53:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AD4D3A9 for ; Wed, 15 Aug 2018 19:53:47 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1534362809.f957dd20b2016704813be78a6f8c44f3de003f9c.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pep/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/pep/pep-2.8-r2.ebuild X-VCS-Directories: app-text/pep/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: f957dd20b2016704813be78a6f8c44f3de003f9c X-VCS-Branch: master Date: Wed, 15 Aug 2018 19:53:47 +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-Archives-Salt: 01a1d083-ec03-420c-9193-e63b64e09625 X-Archives-Hash: 0f0b5059335032375fa174cb3a36bdec commit: f957dd20b2016704813be78a6f8c44f3de003f9c Author: Michael Mair-Keimberger gmail com> AuthorDate: Wed Aug 1 16:06:20 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Aug 15 19:53:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f957dd20 app-text/pep: EAPI7, improve ebuild app-text/pep/pep-2.8-r2.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/app-text/pep/pep-2.8-r2.ebuild b/app-text/pep/pep-2.8-r2.ebuild new file mode 100644 index 00000000000..8e25853adc3 --- /dev/null +++ b/app-text/pep/pep-2.8-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="General purpose filter and file cleaning program" +HOMEPAGE="http://hannemyr.com/enjoy/pep.html" +SRC_URI="http://hannemyr.com/enjoy/${PN}${PV//./}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~x86 ~x86-linux ~ppc-macos" + +DEPEND="app-arch/unzip" + +S=${WORKDIR} + +# pep does not come with autconf so here's a patch to configure +# Makefile with the correct path +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-include.patch +) + +src_prepare() { + default + # Darwin lacks stricmp and DIRCHAR + if [[ ${CHOST} == *-darwin* ]] ; then + sed -i -e '/^OBJS/s/^\(.*\)$/\1 bdmg.o/' Makefile || die + append-flags "-Dunix" -DSTRICMP + fi +} + +src_compile() { + # make man page too + make Doc/pep.1 || die "make man page failed" + emake CC="$(tc-getCC)" +} + +src_install() { + dobin pep + doman Doc/pep.1 + + insinto /usr/share/pep + doins Filters/* + + dodoc aareadme.txt file_id.diz +}