public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
@ 2020-04-08 17:43 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-04-08 17:43 UTC (permalink / raw
  To: gentoo-commits

commit:     f03f1eed33c7c21027119d25de2d40da073e48d7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Apr  8 16:46:51 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Apr  8 17:03:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f03f1eed

dev-lang/aldor: use _pre versioning schema

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-lang/aldor/Manifest                                                 | 2 +-
 .../{aldor-1.2.0_p20190730.ebuild => aldor-1.2.0_pre20190730.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/aldor/Manifest b/dev-lang/aldor/Manifest
index f37bff3..6007958 100644
--- a/dev-lang/aldor/Manifest
+++ b/dev-lang/aldor/Manifest
@@ -1,3 +1,3 @@
-DIST aldor-1.2.0_p20190730.tar.gz 3037647 BLAKE2B 579350d9b6407506a396f42dd2408693dced58f1786cbf7b81b9ddc1b9b986f7f471b3d961c22ccbe9b7566a240de5a9af11f5cfdae1e69d25adb0fb0d1f7090 SHA512 39b1b6f9cd2e09de691c179dcce26e1d43205099f7fa9a9cd1a1ac5340fc85a616eab5887d310b5f9991e7296cfdfdf55b38cadabb7ceb7b6b135a09a5ee53d5
+DIST aldor-1.2.0_pre20190730.tar.gz 3037647 BLAKE2B 579350d9b6407506a396f42dd2408693dced58f1786cbf7b81b9ddc1b9b986f7f471b3d961c22ccbe9b7566a240de5a9af11f5cfdae1e69d25adb0fb0d1f7090 SHA512 39b1b6f9cd2e09de691c179dcce26e1d43205099f7fa9a9cd1a1ac5340fc85a616eab5887d310b5f9991e7296cfdfdf55b38cadabb7ceb7b6b135a09a5ee53d5
 DIST aldor.el.nw 50217 BLAKE2B 12c822b608d995832028cc6c67126c71f05e50d941c0b22fd82fd95a1f968e64150f721982ff8e42f897811c17d2ee0b3135f5c9f57701f99bdce1f8be3fb82c SHA512 6a01873530269ff21afd494a00a8159e48e6199e9aff38259156b8ee8ce21256394629225d857d7d087fd02d1bed3d0de76812656f294f9eb322bed594f4d65e
 DIST libaldor.pdf.gz 434487 BLAKE2B 629dbf284db72afb98a8bc1a44df63dc0a3394fdd4361ec48a0d4811f8e931384fc257ad8f3931b7966aee25b0a015062ef8c8ab4e0ebf5978b5deda58c00ab6 SHA512 9ed1f067dd4ee11e5a440f31a9a29eb9248fcfb4349005f42c230a97190853d17e423ce677894a478644ca4964d0ba857465adfe405092c1e6512ced452eedc3

diff --git a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild b/dev-lang/aldor/aldor-1.2.0_pre20190730.ebuild
similarity index 100%
rename from dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
rename to dev-lang/aldor/aldor-1.2.0_pre20190730.ebuild


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
@ 2021-07-05 15:48 Haelwenn Monnier
  0 siblings, 0 replies; 13+ messages in thread
From: Haelwenn Monnier @ 2021-07-05 15:48 UTC (permalink / raw
  To: gentoo-commits

commit:     4dd5263f945a2ae32f4afb3b9633b10546497b27
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jul  5 01:37:38 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Jul  5 01:37:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4dd5263f

dev-lang/aldor: fix hardcoded cc

Closes: https://bugs.gentoo.org/800257
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 | 7 +++++--
 1 file changed, 5 insertions(+), 2 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 563f8536a..10415d8b0 100644
--- a/dev-lang/aldor/aldor-1.2.0_p20190730-r1.ebuild
+++ b/dev-lang/aldor/aldor-1.2.0_p20190730-r1.ebuild
@@ -5,7 +5,7 @@ EAPI="7"
 
 COMMIT="13e5b90eecc79ec6704efb333c4c100187520e80"
 
-inherit autotools elisp-common flag-o-matic java-pkg-opt-2
+inherit autotools elisp-common flag-o-matic java-pkg-opt-2 toolchain-funcs
 
 DESCRIPTION="The Aldor Programming Language"
 HOMEPAGE="http://pippijn.github.io/aldor"
@@ -67,8 +67,11 @@ src_unpack() {
 }
 
 src_prepare() {
+	tc-export CC
 	#should be conditional with boehm-gc
-	sed -i 's|-L /usr/X11/lib|-L /usr/X11/lib -lgc|' aldor/src/aldor.conf || die
+	sed -e 's|-L /usr/X11/lib|-L /usr/X11/lib -lgc|g' -i aldor/src/aldor.conf || die
+	#fix hardcoded cc
+	sed -e "s|cc-name\", \"cc\"|cc-name\", \"${CC}\"|g" -i aldor/subcmd/unitools/unicl.c || die
 
 	default
 	eautoreconf


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/aldor/
@ 2021-06-25 10:11 Andrew Ammerlaan
  2021-06-25 10:11 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
  0 siblings, 1 reply; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-06-25 10:11 UTC (permalink / raw
  To: gentoo-commits

commit:     fed80aea54a685879c2eb4bf217aa9f625c38715
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 10:02:14 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 10:02:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fed80aea

dev-lang/aldor: fix PkgInvalidXml, duplicate maintainer entry

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-lang/aldor/metadata.xml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-lang/aldor/metadata.xml b/dev-lang/aldor/metadata.xml
index d3ae56a7c..b6f08490f 100644
--- a/dev-lang/aldor/metadata.xml
+++ b/dev-lang/aldor/metadata.xml
@@ -8,12 +8,8 @@
 	</maintainer>
 	<longdescription lang="en">Aldor is a programming language. It is the successor of A# as the extension language of the Axiom computer algebra system.
 
-The Aldor language combines imperative, functional, and object-oriented features. It has an elaborate dependent type system, allowing types to be used as first-class values. Aldor's syntax is heavily influenced by Pascal, but it is optionally indentation-sensitive, like Python. In its current implementation, it is compiled, but an interactive listener is provided.</longdescription>
-	<maintainer type="person">
-		<description>co-maintainers welcome</description>
-		<email>lssndrbarbieri@gmail.com</email>
-		<name>Alessandro Barbieri</name>
-	</maintainer>
+The Aldor language combines imperative, functional, and object-oriented features. It has an elaborate dependent type system, allowing types to be used as first-class values. Aldor's syntax is heavily influenced by Pascal, but it is optionally indentation-sensitive, like Python. In its current implementation, it is compiled, but an interactive listener is provided.
+	</longdescription>
 	<upstream>
 		<remote-id type="github">pippijn/aldor</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
@ 2021-05-05  8:33 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-05-05  8:33 UTC (permalink / raw
  To: gentoo-commits

commit:     15385ac5fd5dd5f4c7cd6be7d8a14509b5d44bf8
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May  5 07:26:04 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed May  5 07:32:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=15385ac5

dev-lang/aldor: comaintainers welcome

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-lang/aldor/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/aldor/metadata.xml b/dev-lang/aldor/metadata.xml
index 907c9a5ba..3ed83d449 100644
--- a/dev-lang/aldor/metadata.xml
+++ b/dev-lang/aldor/metadata.xml
@@ -5,6 +5,7 @@
 
 The Aldor language combines imperative, functional, and object-oriented features. It has an elaborate dependent type system, allowing types to be used as first-class values. Aldor's syntax is heavily influenced by Pascal, but it is optionally indentation-sensitive, like Python. In its current implementation, it is compiled, but an interactive listener is provided.</longdescription>
 	<maintainer type="person">
+		<description>co-maintainers welcome</description>
 		<email>lssndrbarbieri@gmail.com</email>
 		<name>Alessandro Barbieri</name>
 	</maintainer>


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
@ 2021-04-02  9:54 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-02  9:54 UTC (permalink / raw
  To: gentoo-commits

commit:     aa0f3126aea8fa967f2e8d7e32e9be641e9b2646
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Apr  2 09:42:13 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr  2 09:52:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa0f3126

dev-lang/aldor: fix java.eclassesnotused

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-lang/aldor/aldor-1.2.0_p20190730.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
index 8386e046c..0fd274a7b 100644
--- a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
+++ b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
@@ -1,12 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 
 COMMIT="13e5b90eecc79ec6704efb333c4c100187520e80"
 
-#TODO: figure out if a java eclass is needed
-inherit autotools elisp-common
+inherit autotools elisp-common java-pkg-opt-2
 
 DESCRIPTION="The Aldor Programming Language"
 HOMEPAGE="http://pippijn.github.io/aldor"


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
@ 2020-04-27  7:02 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-04-27  7:02 UTC (permalink / raw
  To: gentoo-commits

commit:     64f962e9b6a4e1759fb1ba462a2a319a0ded6716
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 26 22:31:03 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Apr 26 22:39:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64f962e9

dev-lang/aldor: longdescription lang="en"

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-lang/aldor/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/aldor/metadata.xml b/dev-lang/aldor/metadata.xml
index 459bf46..907c9a5 100644
--- a/dev-lang/aldor/metadata.xml
+++ b/dev-lang/aldor/metadata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<longdescription>Aldor is a programming language. It is the successor of A# as the extension language of the Axiom computer algebra system.
+	<longdescription lang="en">Aldor is a programming language. It is the successor of A# as the extension language of the Axiom computer algebra system.
 
 The Aldor language combines imperative, functional, and object-oriented features. It has an elaborate dependent type system, allowing types to be used as first-class values. Aldor's syntax is heavily influenced by Pascal, but it is optionally indentation-sensitive, like Python. In its current implementation, it is compiled, but an interactive listener is provided.</longdescription>
 	<maintainer type="person">


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
@ 2020-04-12 16:39 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-04-12 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     6f5e919af3023f503ffc43cf703b6b0151a5fd66
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Apr 12 13:09:30 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Apr 12 13:09:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f5e919a

dev-lang/aldor: replace _pre with _p

as per gentoo ebuild naming guidelines

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-lang/aldor/Manifest                                                 | 2 +-
 .../{aldor-1.2.0_pre20190730.ebuild => aldor-1.2.0_p20190730.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/aldor/Manifest b/dev-lang/aldor/Manifest
index 6007958..f37bff3 100644
--- a/dev-lang/aldor/Manifest
+++ b/dev-lang/aldor/Manifest
@@ -1,3 +1,3 @@
-DIST aldor-1.2.0_pre20190730.tar.gz 3037647 BLAKE2B 579350d9b6407506a396f42dd2408693dced58f1786cbf7b81b9ddc1b9b986f7f471b3d961c22ccbe9b7566a240de5a9af11f5cfdae1e69d25adb0fb0d1f7090 SHA512 39b1b6f9cd2e09de691c179dcce26e1d43205099f7fa9a9cd1a1ac5340fc85a616eab5887d310b5f9991e7296cfdfdf55b38cadabb7ceb7b6b135a09a5ee53d5
+DIST aldor-1.2.0_p20190730.tar.gz 3037647 BLAKE2B 579350d9b6407506a396f42dd2408693dced58f1786cbf7b81b9ddc1b9b986f7f471b3d961c22ccbe9b7566a240de5a9af11f5cfdae1e69d25adb0fb0d1f7090 SHA512 39b1b6f9cd2e09de691c179dcce26e1d43205099f7fa9a9cd1a1ac5340fc85a616eab5887d310b5f9991e7296cfdfdf55b38cadabb7ceb7b6b135a09a5ee53d5
 DIST aldor.el.nw 50217 BLAKE2B 12c822b608d995832028cc6c67126c71f05e50d941c0b22fd82fd95a1f968e64150f721982ff8e42f897811c17d2ee0b3135f5c9f57701f99bdce1f8be3fb82c SHA512 6a01873530269ff21afd494a00a8159e48e6199e9aff38259156b8ee8ce21256394629225d857d7d087fd02d1bed3d0de76812656f294f9eb322bed594f4d65e
 DIST libaldor.pdf.gz 434487 BLAKE2B 629dbf284db72afb98a8bc1a44df63dc0a3394fdd4361ec48a0d4811f8e931384fc257ad8f3931b7966aee25b0a015062ef8c8ab4e0ebf5978b5deda58c00ab6 SHA512 9ed1f067dd4ee11e5a440f31a9a29eb9248fcfb4349005f42c230a97190853d17e423ce677894a478644ca4964d0ba857465adfe405092c1e6512ced452eedc3

diff --git a/dev-lang/aldor/aldor-1.2.0_pre20190730.ebuild b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
similarity index 100%
rename from dev-lang/aldor/aldor-1.2.0_pre20190730.ebuild
rename to dev-lang/aldor/aldor-1.2.0_p20190730.ebuild


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
@ 2020-03-18 11:21 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-03-18 11:21 UTC (permalink / raw
  To: gentoo-commits

commit:     093682b5867d4ecab7c1f0e2ff834d6068488210
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 15 12:19:01 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar 18 09:45:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=093682b5

dev-lang/aldor: install headers in a subfolder

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-lang/aldor/aldor-1.2.0_p20190730.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
index ffecfcf..8386e04 100644
--- a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
+++ b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
@@ -68,7 +68,10 @@ src_prepare() {
 }
 
 src_configure() {
+	#install headers in a subfolder to avoid collisions with another packages
 	local myconf=(
+		--prefix="${EPREFIX}/usr"
+		--includedir="${EPREFIX}/usr/include/aldor"
 		--disable-static
 		--enable-libraries
 		--enable-shared
@@ -81,10 +84,11 @@ src_configure() {
 
 src_compile() {
 	if use doc ; then
-		( cd "${S}/aldorug"; emake aldorug.pdf ) || die "make aldorug.pdf failed"
-		( cd "${S}/lib/aldor/tutorial"
-			pdflatex tutorial.tex
-			pdflatex tutorial.tex ) || die "make tutorial.pdf failed"
+		cd "${S}/aldorug"
+		emake aldorug.pdf || die "make aldorug.pdf failed"
+
+		cd "${S}/lib/aldor/tutorial"
+		pdflatex tutorial.tex || die "make tutorial.pdf failed"
 	fi
 	cd "${S}"
 	if use emacs ; then
@@ -93,7 +97,6 @@ src_compile() {
 		if use doc ; then
 			einfo "Documentation for the aldor emacs mode"
 			noweave "aldor.el.nw" > aldor-mode.tex
-			pdflatex aldor-mode.tex
 			pdflatex aldor-mode.tex || die "make aldor-mode.pdf failed"
 		fi
 	fi


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/aldor/
@ 2020-03-09 17:48 Andrew Ammerlaan
  2020-03-09 17:55 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
  0 siblings, 1 reply; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-03-09 17:48 UTC (permalink / raw
  To: gentoo-commits

commit:     e4bebba7fcff6ecba5404e1b758083e8fbd0d6c1
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Mar  9 17:46:27 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Mar  9 17:46:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4bebba7

dev-lang/aldor: add slot operator to make repoman happy

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-lang/aldor/aldor-1.2.0_p20190730.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
index 24016c7..ffecfcf 100644
--- a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
+++ b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
@@ -30,11 +30,11 @@ PATCHES=( "${FILESDIR}/respect-flags.diff" )
 CDEPEND="
 	boehm-gc? ( dev-libs/boehm-gc )
 	emacs? ( app-editors/emacs:= )
-	java? ( dev-java/junit )
+	java? ( dev-java/junit:= )
 "
 RDEPEND="
 	${CDEPEND}
-	java? ( virtual/jre:1.8	)
+	java? ( virtual/jre:1.8 )
 "
 DEPEND="
 	${CDEPEND}


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
@ 2020-03-08 16:21 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-03-08 16:21 UTC (permalink / raw
  To: gentoo-commits

commit:     2755e38779a4d6ad75a88a17bef85f92bc742b64
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Mar  4 01:48:06 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar  4 01:48:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2755e387

dev-lang/aldor: removed blank lines

Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-lang/aldor/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dev-lang/aldor/metadata.xml b/dev-lang/aldor/metadata.xml
index fb22608..459bf46 100644
--- a/dev-lang/aldor/metadata.xml
+++ b/dev-lang/aldor/metadata.xml
@@ -14,7 +14,4 @@ The Aldor language combines imperative, functional, and object-oriented features
 	<use>
 		<flag name="boehm-gc">Use Boehm Garbage Collector instead of built-in</flag>
 	</use>
-
-
-
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/
@ 2020-03-08 16:21 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-03-08 16:21 UTC (permalink / raw
  To: gentoo-commits

commit:     ddc30e856ca7ccaf89192d4eb5c809587a75d410
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Mar  4 01:44:28 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar  4 01:44:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ddc30e85

dev-lang/aldor: many changes, WIP

Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-lang/aldor/aldor-1.2.0_p20190730.ebuild | 62 +++++++++++++++++++++--------
 dev-lang/aldor/metadata.xml                 |  6 +++
 2 files changed, 52 insertions(+), 16 deletions(-)

diff --git a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
index bb79cb1..e962d85 100644
--- a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
+++ b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
@@ -4,9 +4,8 @@
 EAPI="7"
 
 COMMIT="13e5b90eecc79ec6704efb333c4c100187520e80"
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
 
+#TODO: figure out if a java eclass is needed
 inherit autotools elisp-common
 
 DESCRIPTION="The Aldor Programming Language"
@@ -21,13 +20,24 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
 
-IUSE="doc emacs"
+IUSE="boehm-gc doc emacs java"
 
-RDEPEND="
+#is junit dep. only for test?
+#TODO: choose a slot for junit
+CDEPEND="
+	boehm-gc? ( dev-libs/boehm-gc )
 	emacs? ( app-editors/emacs:= )
+	java? ( dev-java/junit )
+"
+RDEPEND="
+	${CDEPEND}
+	java? ( virtual/jre:1.8	)
 "
 DEPEND="
-	${RDEPEND}
+	${CDEPEND}
+	java? ( virtual/jdk:1.8 )
+"
+BDEPEND="
 	virtual/yacc
 
 	doc? ( virtual/latex-base )
@@ -40,23 +50,42 @@ 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
+	if use doc ; then
+		cp "${DISTDIR}/libaldor.pdf.gz" "${S}"
+		gunzip "${S}/libaldor.pdf.gz"
+	fi
 	use emacs && cp "${DISTDIR}/aldor.el.nw" "${S}" || die
 }
 
+src_prepare() {
+	#TODO: respect CFLAGS and remove Werror
+	eapply_user
+	eautoreconf
+}
+
+src_configure() {
+	local myconf=(
+		--disable-static
+		--enable-libraries
+		--enable-shared
+		$(use_enable java)
+		$(use_with java java-junit)
+		$(use_with boehm-gc)
+	)
+	econf "${myconf[@]}"
+}
+
 src_compile() {
 	if use doc ; then
-		( cd aldorug; emake aldorug.pdf ) || die "make aldorug.pdf failed"
-		( cd lib/aldor/tutorial
+		( cd "${S}/aldorug"; emake aldorug.pdf ) || die "make aldorug.pdf failed"
+		( cd "${S}/lib/aldor/tutorial"
 			pdflatex tutorial.tex
 			pdflatex tutorial.tex ) || die "make tutorial.pdf failed"
-		tar xzf "${DISTDIR}/algebra.html.tar.gz"
 	fi
-
+	cd "${S}"
 	if use emacs ; then
 		notangle "aldor.el.nw" > aldor.el
-		notangle -Rinit.el "aldor.el.nw" | \
-			sed -e '1s/^.*$/;; aldor mode/' > 64aldor-gentoo.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 "aldor.el.nw" > aldor-mode.tex
@@ -64,15 +93,16 @@ src_compile() {
 			pdflatex aldor-mode.tex || die "make aldor-mode.pdf failed"
 		fi
 	fi
+	cd "${S}"
 	default
 }
 
 src_install() {
-	if use doc ; then
-		DOCS+=( aldorug/aldorug.pdf lib/aldor/tutorial/tutorial.pdf libaldor.pdf )
-	fi
+	use doc && DOCS+=( aldorug/aldorug.pdf lib/aldor/tutorial/tutorial.pdf libaldor.pdf )
+
 	if use emacs ; then
-		DOCS+=( aldor-mode.pdf )
+		use doc && DOCS+=( aldor-mode.pdf )
+		#TODO: rename aldor.el
 		elisp-site-file-install aldor.el
 		elisp-site-file-install 64aldor-gentoo.el
 	fi

diff --git a/dev-lang/aldor/metadata.xml b/dev-lang/aldor/metadata.xml
index 4b9f701..fb22608 100644
--- a/dev-lang/aldor/metadata.xml
+++ b/dev-lang/aldor/metadata.xml
@@ -11,4 +11,10 @@ The Aldor language combines imperative, functional, and object-oriented features
 	<upstream>
 		<remote-id type="github">pippijn/aldor</remote-id>
 	</upstream>
+	<use>
+		<flag name="boehm-gc">Use Boehm Garbage Collector instead of built-in</flag>
+	</use>
+
+
+
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/aldor/
@ 2020-03-04  8:17 Andrew Ammerlaan
  2020-03-08 16:21 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
  0 siblings, 1 reply; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-03-04  8:17 UTC (permalink / raw
  To: gentoo-commits

commit:     241f2ff0301b5f8b566a330e45cfaa1b35d598a0
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Mar  4 08:16:57 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar  4 08:16:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=241f2ff0

dev-lang/aldor: Do not die if USE="-emacs"

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
index e962d85..c58df7e 100644
--- a/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
+++ b/dev-lang/aldor/aldor-1.2.0_p20190730.ebuild
@@ -54,7 +54,7 @@ src_unpack() {
 		cp "${DISTDIR}/libaldor.pdf.gz" "${S}"
 		gunzip "${S}/libaldor.pdf.gz"
 	fi
-	use emacs && cp "${DISTDIR}/aldor.el.nw" "${S}" || die
+	use emacs && cp "${DISTDIR}/aldor.el.nw" "${S}"
 }
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/aldor/
@ 2020-03-03 17:21 Andrew Ammerlaan
  2020-03-08 16:21 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
  0 siblings, 1 reply; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-03-03 17:21 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-07-05 15:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-08 17:43 [gentoo-commits] repo/proj/guru:master commit in: dev-lang/aldor/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-07-05 15:48 Haelwenn Monnier
2021-06-25 10:11 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-06-25 10:11 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-05-05  8:33 Andrew Ammerlaan
2021-04-02  9:54 Andrew Ammerlaan
2020-04-27  7:02 Andrew Ammerlaan
2020-04-12 16:39 Andrew Ammerlaan
2020-03-18 11:21 Andrew Ammerlaan
2020-03-09 17:48 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-09 17:55 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-08 16:21 Andrew Ammerlaan
2020-03-08 16:21 Andrew Ammerlaan
2020-03-04  8:17 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-08 16:21 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-03 17:21 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-08 16:21 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox