From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-eselect/eselect-scheme/files/, app-eselect/eselect-scheme/
Date: Tue, 9 Feb 2021 14:46:14 +0000 (UTC) [thread overview]
Message-ID: <1612746449.0acdf21b6279af5153374b1ffcbb87316c55131c.andrewammerlaan@gentoo> (raw)
commit: 0acdf21b6279af5153374b1ffcbb87316c55131c
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Mon Feb 8 01:07:27 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Feb 8 01:07:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0acdf21b
app-eselect/eselect-scheme: new pkg; add 1.0.0
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>
.../eselect-scheme/eselect-scheme-1.0.0.ebuild | 29 +++++++++++++++++++++
.../eselect-scheme/files/scheme.eselect-1.0.0 | 30 ++++++++++++++++++++++
app-eselect/eselect-scheme/metadata.xml | 8 ++++++
3 files changed, 67 insertions(+)
diff --git a/app-eselect/eselect-scheme/eselect-scheme-1.0.0.ebuild b/app-eselect/eselect-scheme/eselect-scheme-1.0.0.ebuild
new file mode 100644
index 00000000..e2f816be
--- /dev/null
+++ b/app-eselect/eselect-scheme/eselect-scheme-1.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Manages scheme implementations"
+HOMEPAGE="https://gitweb.gentoo.org/repo/proj/guru.git/tree/app-eselect/eselect-scheme?h=dev"
+SRC_URI=""
+
+RESTRICT="mirror"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=app-eselect/eselect-lib-bin-symlink-0.1.1
+"
+DEPEND="${RDEPEND}"
+
+S="${FILESDIR}"
+
+src_install() {
+ insinto "/usr/share/eselect/modules"
+ newins "scheme.eselect-${PV}" "scheme.eselect"
+}
+
+pkg_postinst() {
+ eselect scheme update --if-unset
+}
diff --git a/app-eselect/eselect-scheme/files/scheme.eselect-1.0.0 b/app-eselect/eselect-scheme/files/scheme.eselect-1.0.0
new file mode 100644
index 00000000..41ea7553
--- /dev/null
+++ b/app-eselect/eselect-scheme/files/scheme.eselect-1.0.0
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+
+DESCRIPTION="Manages scheme implementations"
+MAINTAINER="xgqt@protonmail.com"
+VERSION="1.0.0"
+
+SYMLINK_DESCRIPTION="default scheme implementations"
+SYMLINK_PATH="/usr/bin/scheme"
+SYMLINK_TARGETS=(
+ chezscheme chicken
+ elk escm
+ gsi gxi
+ jscheme
+ racket
+ scheme48 scm
+ tinyscheme
+ ypsilon
+)
+
+
+inherit bin-symlink
+
+do_unset() {
+ rm -f "${SYMLINK_PATH}"
+}
diff --git a/app-eselect/eselect-scheme/metadata.xml b/app-eselect/eselect-scheme/metadata.xml
new file mode 100644
index 00000000..0fc8922a
--- /dev/null
+++ b/app-eselect/eselect-scheme/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@protonmail.com</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2021-02-09 14:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-09 14:46 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-10-08 19:05 [gentoo-commits] repo/proj/guru:master commit in: app-eselect/eselect-scheme/files/, app-eselect/eselect-scheme/ Arthur Zamarin
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=1612746449.0acdf21b6279af5153374b1ffcbb87316c55131c.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