From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
Date: Sun, 8 Mar 2020 16:21:21 +0000 (UTC) [thread overview]
Message-ID: <1583256092.684d72097650eab195fd0587f5e083fb6d74ef0e.andrewammerlaan@gentoo> (raw)
Message-ID: <20200308162121.KOMPrETgRiUmJFBTJ0YOTsz8r8gEYXtIv34sPE2LGQk@z> (raw)
commit: 684d72097650eab195fd0587f5e083fb6d74ef0e
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Mar 3 17:21:32 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Mar 3 17:21:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=684d7209
dev-lang/aldor: Fix S variable
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-lang/aldor/aldor-1.2.0_p20190730.ebuild | 30 ++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)
diff --git a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
index 952e591..bb79cb1 100644
--- a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
+++ b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
@@ -6,17 +6,21 @@ EAPI="7"
COMMIT="13e5b90eecc79ec6704efb333c4c100187520e80"
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
+
inherit autotools elisp-common
DESCRIPTION="The Aldor Programming Language"
HOMEPAGE="http://pippijn.github.io/aldor"
-SRC_URI=" https://github.com/pippijn/aldor/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
- doc? ( http://aldor.org/docs/libaldor.pdf.gz )
- emacs? ( http://hemmecke.de/aldor/aldor.el.nw )"
+SRC_URI="
+ https://github.com/pippijn/aldor/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
+ doc? ( http://aldor.org/docs/libaldor.pdf.gz )
+ emacs? ( http://hemmecke.de/aldor/aldor.el.nw )
+"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
+
IUSE="doc emacs"
RDEPEND="
@@ -30,9 +34,15 @@ DEPEND="
emacs? ( app-text/noweb )
"
-DOCS=( AUTHORS COPYRIGHT LICENSE )
+S="${WORKDIR}/${PN}-${COMMIT}/aldor"
-S="${WORKDIR}/${P}/aldor"
+DOCS=( AUTHORS README.building README.binary-only README.library ../README.md )
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ use doc && cp "${DISTDIR}/libaldor.pdf.gz" "${S}" && gunzip "${S}/libaldor.pdf.gz" || die
+ use emacs && cp "${DISTDIR}/aldor.el.nw" "${S}" || die
+}
src_compile() {
if use doc ; then
@@ -40,20 +50,18 @@ src_compile() {
( cd lib/aldor/tutorial
pdflatex tutorial.tex
pdflatex tutorial.tex ) || die "make tutorial.pdf failed"
- cp "${DISTDIR}/libaldor.pdf.gz" .
- gunzip libaldor.pdf.gz
tar xzf "${DISTDIR}/algebra.html.tar.gz"
fi
if use emacs ; then
- notangle "${DISTDIR}/aldor.el.nw" > aldor.el
- notangle -Rinit.el "${DISTDIR}/aldor.el.nw" | \
+ notangle "aldor.el.nw" > aldor.el
+ notangle -Rinit.el "aldor.el.nw" | \
sed -e '1s/^.*$/;; aldor mode/' > 64aldor-gentoo.el
if use doc ; then
einfo "Documentation for the aldor emacs mode"
- noweave "${DISTDIR}/aldor.el.nw" > aldor-mode.tex
- pdflatex aldor-mode.tex
+ noweave "aldor.el.nw" > aldor-mode.tex
pdflatex aldor-mode.tex
+ pdflatex aldor-mode.tex || die "make aldor-mode.pdf failed"
fi
fi
default
next reply other threads:[~2020-03-08 16:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-03 17:21 Andrew Ammerlaan [this message]
2020-03-08 16:21 ` [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-09-27 7:09 [gentoo-commits] repo/proj/guru:dev " Alessandro Barbieri
2021-07-05 1:37 Alessandro Barbieri
2021-07-03 23:55 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 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=1583256092.684d72097650eab195fd0587f5e083fb6d74ef0e.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--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