dev-hare/hare-ssh: add 0_pre20230623

Fixes missing keyworded lib for 49064acd96

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2023-07-26 10:09:51 +02:00
parent a0e9422597
commit e45697264e
3 changed files with 46 additions and 5 deletions

View File

@@ -0,0 +1 @@
DIST hare-ssh-9fe392eb4478dc26680c8c5c42deb87d192447db.tar.gz 32799 BLAKE2B 94bc993415f76c41d711b06f38504df012982bc13528f6a88bc4fad7c601578c8ff5abdbc86cae60ff2965c14898da5aa2b02a301af10583de9b49d8229d24fe SHA512 9f14229630330878ca7b8a9935c82fd0c6b547918d662591b0871314c7df86aee32e55fda7273bee3c6ae04d3c75acc628edd500e735272af3609b2bdabeaaec

View File

@@ -0,0 +1,30 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ "${PV}" = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-ssh"
SLOT="0"
else
EGIT_COMMIT="9fe392eb4478dc26680c8c5c42deb87d192447db"
MY_P="${PN}-${EGIT_COMMIT}"
SRC_URI="https://git.sr.ht/~sircmpwn/hare-ssh/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~riscv"
fi
DESCRIPTION="SSH library for Hare"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-ssh"
LICENSE="MPL-2.0"
RDEPEND="<=dev-lang/hare-0_pre20220922"
DEPEND="${DEPEND}"
src_prepare() {
default
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
}

View File

@@ -1,17 +1,27 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
if [[ "${PV}" = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-ssh"
SLOT="0"
else
EGIT_COMMIT="9fe392eb4478dc26680c8c5c42deb87d192447db"
MY_P="${PN}-${EGIT_COMMIT}"
SRC_URI="https://git.sr.ht/~sircmpwn/hare-ssh/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~riscv"
fi
DESCRIPTION="SSH library for Hare"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-ssh"
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-ssh"
LICENSE="MPL-2.0"
SLOT="0"
RDEPEND="dev-lang/hare"
RDEPEND="<=dev-lang/hare-0_pre20220922"
DEPEND="${DEPEND}"
src_prepare() {