Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 766804 Details for
Bug 827802
dev-lang/rakudo lacks an ebuild for the zef module installer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
rakudo.eclass
rakudo.eclass (text/plain), 1.29 KB, created by
anonymous
on 2022-03-11 23:13:00 UTC
(
hide
)
Description:
rakudo.eclass
Filename:
MIME Type:
Creator:
anonymous
Created:
2022-03-11 23:13:00 UTC
Size:
1.29 KB
patch
obsolete
># Copyright 1999-2022 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > ># @ECLASS: rakudo ># @MAINTAINER: ># crocket <748856+crocket@users.noreply.github.com> ># @BLURB: An eclass for raku modules > >EXPORT_FUNCTIONS src_install pkg_setup > >DEPEND="dev-lang/rakudo:=" >RDEPEND="dev-lang/rakudo:=" > ># @FUNCTION: rakudo_set_repo ># @USAGE: <repository-name> ># @DESCRIPTION: Set $rakudo_repo to a repository like site and vendor and core. ># Set $rakudo_repo_path to path to $rakudo_repo. >rakudo_set_repo() { > func="CompUnit::RepositoryRegistry.repository-for-name" > repo=$(raku -e "say $func('$1')") > rakudo_repo=$1 > rakudo_repo_path=${repo#inst#} >} > ># @ECLASS-VARIABLE: rakudo_repo ># @DESCRIPTION: Name of repository used by rakudo.eclass ># @INTERNAL >rakudo_repo= > ># @ECLASS-VARIABLE: rakudo_repo_path ># @DESCRIPTION: Path to raku repository used by rakudo.eclass ># @INTERNAL >rakudo_repo_path= > ># @FUNCTION: rakudo_bin_symlink ># @USAGE: <executable-in-$raku_repo/bin> ># @DESCRIPTION: Make a symlink to $rakudo_repo/bin/executable in /usr/bin >rakudo_bin_symlink() { > dosym "$rakudo_repo_path/bin/$1" "/usr/bin/$1" >} > >rakudo_pkg_setup() { > rakudo_set_repo site >} > >rakudo_src_install() { > env RAKUDO_RERESOLVE_DEPENDENCIES=0 \ > raku-install-dist --to="${D}$rakudo_repo_path" --for=$rakudo_repo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 827802
:
766797
|
766798
|
766799
|
766800
|
766801
| 766804 |
766805