mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
dev-util/exercism: new package, add 3.0.13
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
2
dev-util/exercism/Manifest
Normal file
2
dev-util/exercism/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST exercism-3.0.13-deps.tar.xz 10912780 BLAKE2B 2798561e93c6fd68097195af1de614d3b7404c579a2bf1ff332bc4c5bd7cdb5a8fe649ce75f8fc1933030d9c2422ed8913159a8e497cdb139bf12b44b43508d7 SHA512 69975badd5f421c61bfce24efeb330a15513ee87b3d2617d7712e637dc91ac884e55c47cf8b20572b903dc6bf735b564b0eee645f8e67511815e53d32156c07d
|
||||
DIST exercism-3.0.13.tar.gz 54296 BLAKE2B 22ab4120855182d5680de103a87bf6cdc5c5b8194659deb6290f441fd690e1fd6dc3c2fb4686de17b6e6ea9e339ca3db6518d1e9ba5ec4bdcb4661d25819e6d3 SHA512 559886abe6325295fbd2b469c6cf06321fcf04d1593870d5db7df1cd33f94d38acc846edd80c70de6e7eb4dde881102792a7a052179665468f99559bac382e24
|
||||
34
dev-util/exercism/exercism-3.0.13.ebuild
Normal file
34
dev-util/exercism/exercism-3.0.13.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module bash-completion-r1
|
||||
|
||||
DESCRIPTION="Command line client for https://exercism.io"
|
||||
HOMEPAGE="https://exercism.org"
|
||||
SRC_URI="https://github.com/${PN}/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://github.com/Schievel1/gentoo-exercism/raw/main/${P}-deps.tar.xz"
|
||||
LICENSE="MIT Apache-2.0 BSD-2 BSD MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="sys-libs/glibc"
|
||||
BDEPEND="dev-lang/go"
|
||||
|
||||
S="${WORKDIR}/cli-3.0.13"
|
||||
go-module_set_globals
|
||||
|
||||
src_compile() {
|
||||
ego build -o out/exercism exercism/main.go
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobin out/exercism
|
||||
# bash-completion
|
||||
newbashcomp "shell/${PN}_completion.bash" "${PN}"
|
||||
# zsh-completion
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins "shell/${PN}_completion.zsh" "_${PN}"
|
||||
}
|
||||
Reference in New Issue
Block a user