From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/aldor/
Date: Sat, 3 Jul 2021 23:55:47 +0000 (UTC) [thread overview]
Message-ID: <1625356545.542f66ebefb8412d17b2f1283c8ecb2480fbfb0b.Alessandro-Barbieri@gentoo> (raw)
commit: 542f66ebefb8412d17b2f1283c8ecb2480fbfb0b
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Jul 3 19:36:11 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Jul 3 23:55:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=542f66eb
dev-lang/aldor: add more || die
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-lang/aldor/aldor-1.2.0_p20190730-r1.ebuild | 33 ++++++++++++++------------
1 file changed, 18 insertions(+), 15 deletions(-)
diff --git a/dev-lang/aldor/aldor-1.2.0_p20190730-r1.ebuild b/dev-lang/aldor/aldor-1.2.0_p20190730-r1.ebuild
index 556184b32..563f8536a 100644
--- a/dev-lang/aldor/aldor-1.2.0_p20190730-r1.ebuild
+++ b/dev-lang/aldor/aldor-1.2.0_p20190730-r1.ebuild
@@ -18,6 +18,7 @@ SRC_URI="
emacs? ( http://hemmecke.de/aldor/aldor.el.nw )
"
S="${WORKDIR}/${PN}-${COMMIT}/aldor"
+
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
@@ -56,11 +57,13 @@ DOCS=( AUTHORS README.building README.binary-only README.library ../README.md )
src_unpack() {
unpack "${P}.tar.gz"
- if use doc ; then
- cp "${DISTDIR}/libaldor.pdf.gz" "${S}"
- gunzip "${S}/libaldor.pdf.gz"
+ if use doc; then
+ cp "${DISTDIR}/libaldor.pdf.gz" "${S}" || die
+ gunzip "${S}/libaldor.pdf.gz" || die
+ fi
+ if use emacs; then
+ cp "${DISTDIR}/aldor.el.nw" "${S}" || die
fi
- use emacs && cp "${DISTDIR}/aldor.el.nw" "${S}"
}
src_prepare() {
@@ -89,21 +92,21 @@ src_configure() {
}
src_compile() {
- if use doc ; then
- pushd "${S}/aldorug"
+ if use doc; then
+ pushd "${S}/aldorug" || die
emake aldorug.pdf || die "make aldorug.pdf failed"
- popd
+ popd || die
- pushd "${S}/lib/aldor/tutorial"
+ pushd "${S}/lib/aldor/tutorial" || die
pdflatex tutorial.tex || die "make tutorial.pdf failed"
- popd
+ popd || die
fi
- if use emacs ; then
- notangle "aldor.el.nw" > aldor.el
- notangle -Rinit.el "aldor.el.nw" | sed -e '1s/^.*$/;; aldor mode/' > 64aldor-gentoo.el
- if use doc ; then
+ if use emacs; then
+ notangle "aldor.el.nw" > aldor.el || die
+ notangle -Rinit.el "aldor.el.nw" | sed -e '1s/^.*$/;; aldor mode/' > 64aldor-gentoo.el || die
+ if use doc; then
einfo "Documentation for the aldor emacs mode"
- noweave "aldor.el.nw" > aldor-mode.tex
+ noweave "aldor.el.nw" > aldor-mode.tex || die
pdflatex aldor-mode.tex || die "make aldor-mode.pdf failed"
fi
fi
@@ -113,7 +116,7 @@ src_compile() {
src_install() {
use doc && DOCS+=( aldorug/aldorug.pdf lib/aldor/tutorial/tutorial.pdf libaldor.pdf "${DISTDIR}/algebra.pdf" )
- if use emacs ; then
+ if use emacs; then
use doc && DOCS+=( aldor-mode.pdf )
#TODO: rename aldor.el
elisp-site-file-install aldor.el
next reply other threads:[~2021-07-03 23:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-03 23:55 Alessandro Barbieri [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-27 7:09 [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/aldor/ Alessandro Barbieri
2021-07-05 1:37 Alessandro Barbieri
2021-06-25 10:11 Andrew Ammerlaan
2021-05-05 7:32 Alessandro Barbieri
2021-04-02 9:54 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-02 9:52 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-26 22:39 Alessandro Barbieri
2020-04-12 16:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-12 13:15 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-08 17:04 Alessandro Barbieri
2020-03-18 10:03 Alessandro Barbieri
2020-03-09 17:48 Andrew Ammerlaan
2020-03-04 8:17 Andrew Ammerlaan
2020-03-04 1:48 Alessandro Barbieri
2020-03-04 1:45 Alessandro Barbieri
2020-03-03 17:21 Andrew Ammerlaan
2020-03-03 5:11 Alessandro Barbieri
2020-02-25 6:44 Alessandro Barbieri
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=1625356545.542f66ebefb8412d17b2f1283c8ecb2480fbfb0b.Alessandro-Barbieri@gentoo \
--to=lssndrbarbieri@gmail.com \
--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