From 5dcc4c2086d36d6b10c79e3162d5dc342d33f8d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 1 Feb 2021 18:15:34 +0100 Subject: [PATCH] dev-scheme/guile-colorized: new pkg; add 20191205 and 99999999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Maciej Barć --- dev-scheme/guile-colorized/Manifest | 1 + .../guile-colorized-20191205.ebuild | 42 +++++++++++++++++++ .../guile-colorized-99999999.ebuild | 42 +++++++++++++++++++ dev-scheme/guile-colorized/metadata.xml | 15 +++++++ 4 files changed, 100 insertions(+) create mode 100644 dev-scheme/guile-colorized/Manifest create mode 100644 dev-scheme/guile-colorized/guile-colorized-20191205.ebuild create mode 100644 dev-scheme/guile-colorized/guile-colorized-99999999.ebuild create mode 100644 dev-scheme/guile-colorized/metadata.xml diff --git a/dev-scheme/guile-colorized/Manifest b/dev-scheme/guile-colorized/Manifest new file mode 100644 index 0000000000..3573fdb7f1 --- /dev/null +++ b/dev-scheme/guile-colorized/Manifest @@ -0,0 +1 @@ +DIST guile-colorized-20191205.tar.bz2 15496 BLAKE2B a85fc44c3b6b8433362197a4f1da216ea99793673ee4592e6ea32178d2952d0f43f5a4e79304185d0c67b6dee668bf52d53970df97954a37650cd8b7770e7abd SHA512 4cd9833c70debf0086ba69252e1fb8b9fc33707ec1f3bb6dfb144d5a35db6f38e3af585cbc889936c8ebb38dea0f8808f483bd51ed1722c9b9df857d31a7cec7 diff --git a/dev-scheme/guile-colorized/guile-colorized-20191205.ebuild b/dev-scheme/guile-colorized/guile-colorized-20191205.ebuild new file mode 100644 index 0000000000..a3759bbcb2 --- /dev/null +++ b/dev-scheme/guile-colorized/guile-colorized-20191205.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Colorized REPL for GNU Guile" +HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/NalaGinrut/${PN}.git" +else + # Latest release (before this commit from 2019) was in 2015 + COMMIT_SHA="1625a79f0e31849ebd537e2a58793fb45678c58f" + SRC_URI="https://gitlab.com/NalaGinrut/${PN}/-/archive/${COMMIT_SHA}.tar.bz2 -> ${P}.tar.bz2" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-${COMMIT_SHA}" +fi + +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + >=dev-scheme/guile-2.0.9 +" +RDEPEND="${DEPEND}" + +DOCS=( README.md ) + +src_prepare() { + default + + find "${S}" -name "*.scm" -exec touch {} + || die +} + +src_install() { + einstalldocs + + local loadpath=$(guile -c '(display (string-append (car %load-path) "/ice-9"))') + mkdir -p "${D}${loadpath}" + emake TARGET="${D}${loadpath}" install +} diff --git a/dev-scheme/guile-colorized/guile-colorized-99999999.ebuild b/dev-scheme/guile-colorized/guile-colorized-99999999.ebuild new file mode 100644 index 0000000000..a3759bbcb2 --- /dev/null +++ b/dev-scheme/guile-colorized/guile-colorized-99999999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Colorized REPL for GNU Guile" +HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/NalaGinrut/${PN}.git" +else + # Latest release (before this commit from 2019) was in 2015 + COMMIT_SHA="1625a79f0e31849ebd537e2a58793fb45678c58f" + SRC_URI="https://gitlab.com/NalaGinrut/${PN}/-/archive/${COMMIT_SHA}.tar.bz2 -> ${P}.tar.bz2" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-${COMMIT_SHA}" +fi + +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + >=dev-scheme/guile-2.0.9 +" +RDEPEND="${DEPEND}" + +DOCS=( README.md ) + +src_prepare() { + default + + find "${S}" -name "*.scm" -exec touch {} + || die +} + +src_install() { + einstalldocs + + local loadpath=$(guile -c '(display (string-append (car %load-path) "/ice-9"))') + mkdir -p "${D}${loadpath}" + emake TARGET="${D}${loadpath}" install +} diff --git a/dev-scheme/guile-colorized/metadata.xml b/dev-scheme/guile-colorized/metadata.xml new file mode 100644 index 0000000000..7719e74f93 --- /dev/null +++ b/dev-scheme/guile-colorized/metadata.xml @@ -0,0 +1,15 @@ + + + + + xgqt@protonmail.com + Maciej Barć + + + colorized REPL for GNU Guile + NOTE: Now guile-colorized only support Guile-2.0.9 or higher! + + + NalaGinrut/guile-colorized + +