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 5A03213933E for ; Fri, 16 Jul 2021 23:44:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A67CE0A03; Fri, 16 Jul 2021 23:44:43 +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 DC1F4E0A03 for ; Fri, 16 Jul 2021 23:44:42 +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 94067342B72 for ; Fri, 16 Jul 2021 23:44:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F7DC581 for ; Fri, 16 Jul 2021 23:44:40 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1626479011.4db6ac88ab2aa4ac289513152bccb42eaa99e31c.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/epix/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-visualization/epix/epix-1.2.19.ebuild X-VCS-Directories: sci-visualization/epix/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 4db6ac88ab2aa4ac289513152bccb42eaa99e31c X-VCS-Branch: master Date: Fri, 16 Jul 2021 23:44:40 +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: 6473e3fe-ff23-442a-bbe8-6bc5e8f533e8 X-Archives-Hash: 4f0012d0caa14af816059451030db3d6 commit: 4db6ac88ab2aa4ac289513152bccb42eaa99e31c Author: David Seifert gentoo org> AuthorDate: Fri Jul 16 23:43:31 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Fri Jul 16 23:43:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db6ac88 sci-visualization/epix: cleanup Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: David Seifert gentoo.org> sci-visualization/epix/epix-1.2.19.ebuild | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sci-visualization/epix/epix-1.2.19.ebuild b/sci-visualization/epix/epix-1.2.19.ebuild index 9324913332a..f8355a91afb 100644 --- a/sci-visualization/epix/epix-1.2.19.ebuild +++ b/sci-visualization/epix/epix-1.2.19.ebuild @@ -3,14 +3,14 @@ EAPI=7 -inherit elisp-common bash-completion-r1 autotools +inherit autotools bash-completion-r1 elisp-common DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)" HOMEPAGE="https://mathcs.holycross.edu/~ahwang/current/ePiX.html" SRC_URI="https://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="doc emacs examples" @@ -24,9 +24,7 @@ DEPEND=" RDEPEND="${DEPEND}" SITEFILE=50${PN}-gentoo.el -PATCHES=( - "${FILESDIR}/${P}-autotools.patch" -) +PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) src_prepare() { default @@ -34,26 +32,28 @@ src_prepare() { } src_configure() { - econf \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --disable-epix-el + econf --disable-epix-el } src_install() { default + + newbashcomp bash_completions epix + bashcomp_alias epix flix elaps laps + if use emacs; then # do compilation here as the make install target will # create the .el file - elisp-compile *.el || die "elisp-compile failed!" - elisp-install ${PN} *.elc *.el || die "elisp-install failed!" + elisp-compile *.el + elisp-install ${PN} *.elc *.el elisp-site-file-install "${FILESDIR}/${SITEFILE}" fi - newbashcomp bash_completions epix - bashcomp_alias epix flix elaps laps + if use doc; then dodoc doc/*gz docompress -x /usr/share/doc/${PF}/manual{.pdf,.ps,_src.tar}.gz fi + if use examples; then cd samples || die docinto examples