From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/
Date: Tue, 25 May 2021 14:55:08 +0000 (UTC) [thread overview]
Message-ID: <1621954496.4ac43a527d53faebcbc76a88dfc1fde1b40d1e80.soap@gentoo> (raw)
commit: 4ac43a527d53faebcbc76a88dfc1fde1b40d1e80
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue May 25 14:54:56 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue May 25 14:54:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac43a52
sci-visualization/gle: [QA] Major cleanup
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-visualization/gle/gle-4.2.5-r2.ebuild | 61 ++++++++++++++++---------------
1 file changed, 31 insertions(+), 30 deletions(-)
diff --git a/sci-visualization/gle/gle-4.2.5-r2.ebuild b/sci-visualization/gle/gle-4.2.5-r2.ebuild
index ff7853dd3b7..185bd857cbb 100644
--- a/sci-visualization/gle/gle-4.2.5-r2.ebuild
+++ b/sci-visualization/gle/gle-4.2.5-r2.ebuild
@@ -1,34 +1,39 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit elisp-common flag-o-matic autotools
+EAPI=7
+
+inherit autotools elisp-common flag-o-matic
+
+MY_P=${PN}-graphics-${PV}
DESCRIPTION="Graphics Layout Engine"
HOMEPAGE="http://glx.sourceforge.net/"
-MY_P=${PN}-graphics-${PV}
-MAN_V=4.2.2
SRC_URI="mirror://sourceforge/glx/${MY_P}f-src.tar.gz"
-SLOT="0"
+S="${WORKDIR}/${MY_P}"
+
LICENSE="BSD-2 emacs? ( GPL-2 )"
-IUSE="X jpeg png tiff doc emacs vim-syntax"
+SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc emacs jpeg png tiff vim-syntax X"
DEPEND="
- sys-libs/ncurses:0=
- X? ( x11-libs/libX11 )
+ sys-libs/ncurses:=
+ emacs? ( >=app-editors/emacs-23.1:* )
jpeg? ( virtual/jpeg:0 )
- png? ( media-libs/libpng:0= )
- tiff? ( media-libs/tiff:0 )
- doc? ( dev-texlive/texlive-latexextra )
- emacs? ( >=app-editors/emacs-23.1:* )"
-
+ png? ( media-libs/libpng:= )
+ tiff? ( media-libs/tiff:= )
+ X? ( x11-libs/libX11 )"
RDEPEND="${DEPEND}
app-text/ghostscript-gpl
virtual/latex-base
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-
-S="${WORKDIR}"/${MY_P}
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ )"
+BDEPEND="doc? ( dev-texlive/texlive-latexextra )"
PATCHES=(
"${FILESDIR}"/${P}-parallel.patch
@@ -58,36 +63,32 @@ src_configure() {
src_compile() {
emake
- if use doc; then
- emake -j1 doc
- fi
+ use doc && emake -j1 doc
+
if use emacs; then
- cd contrib/editors/highlighting
- mv ${PN}-emacs.el ${PN}-mode.el
- elisp-compile ${PN}-mode.el || die
+ cd contrib/editors/highlighting || die
+ mv ${PN}-emacs.el ${PN}-mode.el || die
+ elisp-compile ${PN}-mode.el
fi
}
src_install() {
# -jN failed to install some data files
emake -j1 DESTDIR="${D}" install
- rm -rf "${ED}"/usr/share/doc/gle-graphics
+ rm -rf "${ED}"/usr/share/doc/gle-graphics || die
dodoc README.txt
- if use doc; then
- insinto /usr/share/doc/${PF}
- doins build/doc/gle-manual.pdf
- fi
+ use doc && dodoc build/doc/gle-manual.pdf
if use emacs; then
- elisp-install ${PN} contrib/editors/highlighting/gle-mode.{el,elc} || die
- elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el || die
+ elisp-install ${PN} contrib/editors/highlighting/gle-mode.{el,elc}
+ elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el
fi
if use vim-syntax ; then
dodir /usr/share/vim/vimfiles/{ftplugins,indent,syntax}
cd contrib/editors/highlighting/vim || die
- chmod 644 ftplugin/* indent/* syntax/*
+ chmod 644 ftplugin/* indent/* syntax/* || die
insinto /usr/share/vim/vimfiles
doins -r ftplugin indent syntax
fi
next reply other threads:[~2021-05-25 14:55 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-25 14:55 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-09 10:52 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/ Andrey Grozin
2025-03-30 21:42 Andreas Sturmlechner
2025-02-09 14:16 Andrey Grozin
2024-08-01 3:15 Eli Schwartz
2024-08-01 3:15 Eli Schwartz
2023-08-22 8:37 Andrey Grozin
2022-12-22 3:38 Andrey Grozin
2022-12-22 3:36 Andrey Grozin
2022-12-21 16:46 Andrey Grozin
2022-12-21 16:44 Andrey Grozin
2022-12-16 1:40 Sam James
2022-11-19 11:41 Andrew Ammerlaan
2022-08-03 23:49 Sam James
2022-08-03 23:45 Sam James
2021-05-26 3:51 Andrey Grozin
2021-05-26 3:27 Andrey Grozin
2021-05-25 14:55 David Seifert
2021-05-25 14:16 Andrey Grozin
2019-12-20 22:49 Ulrich Müller
2018-01-04 15:59 Andrey Grozin
2017-12-31 3:21 Andrey Grozin
2017-12-31 3:19 Andrey Grozin
2016-05-14 23:32 David Seifert
2016-05-14 23:32 David Seifert
2015-08-21 10:19 Andrey Grozin
2015-08-21 5:31 Andrey Grozin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1621954496.4ac43a527d53faebcbc76a88dfc1fde1b40d1e80.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox