summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-01-05 01:52:31 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-01-05 01:53:59 +0100
commit5330ac4eea08764914932a4eb3bc22046acb8664 (patch)
tree31428f42266d22bd150eadca4e93be431e62c531 /dev-scheme
parentdev-scheme/racket: update metadata (diff)
downloadgentoo-5330ac4eea08764914932a4eb3bc22046acb8664.tar.gz
gentoo-5330ac4eea08764914932a4eb3bc22046acb8664.tar.bz2
gentoo-5330ac4eea08764914932a4eb3bc22046acb8664.zip
dev-scheme/racket: resolve the libedit/readline issue
Closes: https://bugs.gentoo.org/830617 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/racket/racket-8.2-r2.ebuild17
-rw-r--r--dev-scheme/racket/racket-8.3-r2.ebuild17
2 files changed, 28 insertions, 6 deletions
diff --git a/dev-scheme/racket/racket-8.2-r2.ebuild b/dev-scheme/racket/racket-8.2-r2.ebuild
index d442f6c1047d..41e0c43edd56 100644
--- a/dev-scheme/racket/racket-8.2-r2.ebuild
+++ b/dev-scheme/racket/racket-8.2-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit desktop optfeature xdg-utils
+inherit desktop optfeature readme.gentoo-r1 xdg-utils
DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
HOMEPAGE="https://racket-lang.org/"
@@ -58,6 +58,13 @@ PATCHES=(
"${FILESDIR}/Makefile-starter.patch"
)
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
# Package database files
PKGDB=(
/usr/share/racket/info-cache.rktd
@@ -134,6 +141,8 @@ src_install() {
make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
fi
+
+ readme.gentoo_create_doc
}
pkg_preinst() {
@@ -157,8 +166,10 @@ pkg_preinst() {
pkg_postinst() {
post_X_update
- optfeature "readline editing features in REPL" dev-libs/libedit sys-libs/readline
+ optfeature "readline editing features in REPL" dev-libs/libedit
optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+ readme.gentoo_print_elog
}
pkg_postrm() {
diff --git a/dev-scheme/racket/racket-8.3-r2.ebuild b/dev-scheme/racket/racket-8.3-r2.ebuild
index d6c989e973c9..f614f17366c3 100644
--- a/dev-scheme/racket/racket-8.3-r2.ebuild
+++ b/dev-scheme/racket/racket-8.3-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit desktop optfeature
+inherit desktop optfeature readme.gentoo-r1
DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
HOMEPAGE="https://racket-lang.org/"
@@ -39,6 +39,13 @@ RDEPEND="${DEPEND}"
# "mred" and "mzscheme" are binaries generated by Racket, not CC
QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
# Package database files (for pkg_preinst & pkg_config)
PKGDB=(
/usr/share/racket/info-cache.rktd
@@ -110,6 +117,8 @@ src_install() {
make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
fi
+
+ readme.gentoo_create_doc
}
pkg_preinst() {
@@ -131,8 +140,10 @@ pkg_preinst() {
}
pkg_postinst() {
- optfeature "readline editing features in REPL" dev-libs/libedit sys-libs/readline
+ optfeature "readline editing features in REPL" dev-libs/libedit
optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+ readme.gentoo_print_elog
}
pkg_config() {