public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/arc/
@ 2021-11-26 14:58 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2021-11-26 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     e644651658ed11259be6c9a47454d4bb33b7be82
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 14:57:50 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 14:58:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6446516

dev-lang/arc: new package; add version 3.2

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/arc/Manifest       |  1 +
 dev-lang/arc/arc-3.2.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 dev-lang/arc/metadata.xml   | 18 ++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-lang/arc/Manifest b/dev-lang/arc/Manifest
new file mode 100644
index 000000000000..a76b4454e806
--- /dev/null
+++ b/dev-lang/arc/Manifest
@@ -0,0 +1 @@
+DIST arc-3.2.tar 276480 BLAKE2B a25695e4b90160d03e534bc7dcff194e922b8463ed9984523ee89fca7d6423e7f0f296118fa3f6046d988e6047e87dc609a56869e19d09435403320b5882f2b8 SHA512 f79cdb9b591582683e18afce24da935e8ab04ba837c5d19ae971bf9ec4abc038e6aeb712f36ffd1111e8d9fbb7a09889425294a15d546e9e6226b296294cc2a1

diff --git a/dev-lang/arc/arc-3.2.ebuild b/dev-lang/arc/arc-3.2.ebuild
new file mode 100644
index 000000000000..01145fff6bd4
--- /dev/null
+++ b/dev-lang/arc/arc-3.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit wrapper
+
+DESCRIPTION="New dialect of Lisp, works well for web applications"
+HOMEPAGE="http://www.arclanguage.org/"
+SRC_URI="http://www.arclanguage.org/${PN}${PV}.tar -> ${P}.tar"
+S="${WORKDIR}/${PN}${PV}"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-scheme/racket:="
+DEPEND="${RDEPEND}"
+
+src_compile() {
+	# byte-compile some racket modules
+	local mod
+	for mod in ac brackets ; do
+		raco make --vv ./${mod}.scm
+	done
+}
+
+src_install() {
+	dodoc copyright how-to-run-news
+	rm copyright how-to-run-news || die
+
+	insinto /usr/share/${PN}
+	doins -r *
+
+	make_wrapper ${PN} "racket --load ./as.scm" /usr/share/${PN}
+}

diff --git a/dev-lang/arc/metadata.xml b/dev-lang/arc/metadata.xml
new file mode 100644
index 000000000000..aafaf2458aea
--- /dev/null
+++ b/dev-lang/arc/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>scheme@gentoo.org</email>
+    <name>Gentoo Scheme Project</name>
+  </maintainer>
+  <longdescription lang="en">
+    Arc is designed for exploratory programming: the kind where you
+    decide what to write by writing it. A good medium for exploratory
+    programming is one that makes programs brief and malleable,
+    so that's what we've aimed for. This is a medium for sketching
+    software.
+    Arc is unfinished. It's missing things you'd need to solve some
+    types of problems. But it works well for basic web apps.
+  </longdescription>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/arc/
@ 2021-11-26 15:05 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2021-11-26 15:05 UTC (permalink / raw
  To: gentoo-commits

commit:     d7ff57027246307b710c34de3fbe41971e45dee4
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 15:05:49 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 15:05:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7ff5702

dev-lang/arc: die if raco fails to compile

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/arc/arc-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/arc/arc-3.2.ebuild b/dev-lang/arc/arc-3.2.ebuild
index 01145fff6bd4..3478f9f32541 100644
--- a/dev-lang/arc/arc-3.2.ebuild
+++ b/dev-lang/arc/arc-3.2.ebuild
@@ -21,7 +21,7 @@ src_compile() {
 	# byte-compile some racket modules
 	local mod
 	for mod in ac brackets ; do
-		raco make --vv ./${mod}.scm
+		raco make --vv ./${mod}.scm || die "raco failed to compile ${mod}"
 	done
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/arc/
@ 2021-11-27 20:19 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2021-11-27 20:19 UTC (permalink / raw
  To: gentoo-commits

commit:     3031ae5fc634312af079bd031efaafd2da3983bf
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 27 20:15:47 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Nov 27 20:15:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3031ae5f

dev-lang/arc: fix file collision with dev-lang/arc

Closes: https://bugs.gentoo.org/827649
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/arc/arc-3.2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-lang/arc/arc-3.2.ebuild b/dev-lang/arc/arc-3.2.ebuild
index 3478f9f32541..e9655cb6f6ca 100644
--- a/dev-lang/arc/arc-3.2.ebuild
+++ b/dev-lang/arc/arc-3.2.ebuild
@@ -14,7 +14,10 @@ LICENSE="Artistic-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-RDEPEND="dev-scheme/racket:="
+RDEPEND="
+	!app-arch/arc
+	dev-scheme/racket:=
+"
 DEPEND="${RDEPEND}"
 
 src_compile() {


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/arc/
@ 2022-02-27  3:48 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2022-02-27  3:48 UTC (permalink / raw
  To: gentoo-commits

commit:     718dc7b27a9fab0f05ea77aeb967521c13654891
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 27 03:41:46 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Feb 27 03:41:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=718dc7b2

dev-lang/arc: update metadata

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

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

diff --git a/dev-lang/arc/metadata.xml b/dev-lang/arc/metadata.xml
index 95f19d426259..cd6d01f6dccf 100644
--- a/dev-lang/arc/metadata.xml
+++ b/dev-lang/arc/metadata.xml
@@ -6,7 +6,7 @@
     <email>scheme@gentoo.org</email>
     <name>Gentoo Scheme Project</name>
   </maintainer>
-  <longdescription lang="en">
+  <longdescription>
     Arc is designed for exploratory programming: the kind where you
     decide what to write by writing it. A good medium for exploratory
     programming is one that makes programs brief and malleable,


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

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/arc/
@ 2024-10-22  0:08 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2024-10-22  0:08 UTC (permalink / raw
  To: gentoo-commits

commit:     0e09a4b9c776809029c684211161362c62afdf1d
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 19:16:09 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Oct 22 00:08:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e09a4b9

dev-lang/arc: require non-minimal Racket

Closes: https://bugs.gentoo.org/941940
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/arc/{arc-3.2.ebuild => arc-3.2-r1.ebuild} | 26 +++++++++++++---------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/dev-lang/arc/arc-3.2.ebuild b/dev-lang/arc/arc-3.2-r1.ebuild
similarity index 53%
rename from dev-lang/arc/arc-3.2.ebuild
rename to dev-lang/arc/arc-3.2-r1.ebuild
index e9655cb6f6ca..2b085650c790 100644
--- a/dev-lang/arc/arc-3.2.ebuild
+++ b/dev-lang/arc/arc-3.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,24 +16,28 @@ KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
 	!app-arch/arc
-	dev-scheme/racket:=
+	dev-scheme/racket:=[-minimal]
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+	${RDEPEND}
+"
+
+DOCS=( copyright how-to-run-news )
 
 src_compile() {
-	# byte-compile some racket modules
-	local mod
+	# Byte-compile Racket modules.
+	local mod=""
 	for mod in ac brackets ; do
-		raco make --vv ./${mod}.scm || die "raco failed to compile ${mod}"
+		raco make --vv "./${mod}.scm" || die "raco failed to compile ${mod}"
 	done
 }
 
 src_install() {
-	dodoc copyright how-to-run-news
-	rm copyright how-to-run-news || die
+	einstalldocs
+	rm "${DOCS[@]}" || die
 
-	insinto /usr/share/${PN}
-	doins -r *
+	insinto "/usr/share/${PN}"
+	doins -r ./*
 
-	make_wrapper ${PN} "racket --load ./as.scm" /usr/share/${PN}
+	make_wrapper "${PN}" "racket --load ./as.scm" "/usr/share/${PN}"
 }


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

end of thread, other threads:[~2024-10-22  0:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-27 20:19 [gentoo-commits] repo/gentoo:master commit in: dev-lang/arc/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2024-10-22  0:08 Maciej Barć
2022-02-27  3:48 Maciej Barć
2021-11-26 15:05 Maciej Barć
2021-11-26 14:58 Maciej Barć

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