diff options
author | 2024-07-14 18:21:58 +0200 | |
---|---|---|
committer | 2024-07-14 18:25:53 +0200 | |
commit | 527693bf428eb6817f906e05be2839012b54277a (patch) | |
tree | d38d3968450487f4a0232ed1184c5d1fd1f5d7a9 | |
parent | app-admin/himitsu: add 0.8 (diff) | |
download | guru-527693bf428eb6817f906e05be2839012b54277a.tar.gz guru-527693bf428eb6817f906e05be2839012b54277a.tar.bz2 guru-527693bf428eb6817f906e05be2839012b54277a.zip |
app-admin/himitsu-ssh: add 0.4
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
-rw-r--r-- | app-admin/himitsu-ssh/Manifest | 1 | ||||
-rw-r--r-- | app-admin/himitsu-ssh/himitsu-ssh-0.4.ebuild | 39 | ||||
-rw-r--r-- | app-admin/himitsu-ssh/himitsu-ssh-9999.ebuild | 6 |
3 files changed, 43 insertions, 3 deletions
diff --git a/app-admin/himitsu-ssh/Manifest b/app-admin/himitsu-ssh/Manifest index 08124549db..17bcadbeec 100644 --- a/app-admin/himitsu-ssh/Manifest +++ b/app-admin/himitsu-ssh/Manifest @@ -1 +1,2 @@ DIST himitsu-ssh-0.3.tar.gz 18468 BLAKE2B ddc984ad1a2bd729b9b1be2685e8e33e646ef93c4e69a0767cc2858a1b5f364e21e2a6f8caa34367250897fd0e0b7f5b4c089c0c1a9b22d75e4f6cdf0681af69 SHA512 a969e38b00cb11cb2f060ddd4da489444d4e655eec54ea7aad1cc27548589460cee7ca36a1161291f79be270e342cfa86366c01b95ddd33a89eefcd6724de6e2 +DIST himitsu-ssh-0.4.tar.gz 20661 BLAKE2B b1f0e0ce8bd280989afd6566a4bf41c0e186f2589be1f6b917ee967ffed4472c8a3d239f544134349a1ceba9bf0c07994eedd1b811ff082fb699a5d93db94e76 SHA512 32720e3e7eb887ced62da2ac9897c2a26ae019ff4bab2d4cf02c178fad47094b7e6e7fddcc7a89779a3ad604e49cc0ae908143ea6e16544133a64b32630b7b33 diff --git a/app-admin/himitsu-ssh/himitsu-ssh-0.4.ebuild b/app-admin/himitsu-ssh/himitsu-ssh-0.4.ebuild new file mode 100644 index 0000000000..ac947b82be --- /dev/null +++ b/app-admin/himitsu-ssh/himitsu-ssh-0.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2024 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/himitsu-ssh" +else + SRC_URI="https://git.sr.ht/~sircmpwn/himitsu-ssh/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="SSH integration for Himitsu" +HOMEPAGE="https://git.sr.ht/~sircmpwn/himitsu-ssh" +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + >=app-admin/himitsu-0.8:= + >=dev-hare/hare-ssh-0.24.2:= +" +DEPEND=" + ${RDEPEND} + >=dev-lang/hare-0.24.2:= +" +BDEPEND="app-text/scdoc" + +# All binaries are hare-built +QA_FLAGS_IGNORED=".*" + +src_configure() { + sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die +} + +src_test() { + # Don't run tests if there's none (which is the case of 0.3) + grep -r '@test fn' . && emake check +} diff --git a/app-admin/himitsu-ssh/himitsu-ssh-9999.ebuild b/app-admin/himitsu-ssh/himitsu-ssh-9999.ebuild index 8fb2e4fb69..ac947b82be 100644 --- a/app-admin/himitsu-ssh/himitsu-ssh-9999.ebuild +++ b/app-admin/himitsu-ssh/himitsu-ssh-9999.ebuild @@ -17,12 +17,12 @@ LICENSE="GPL-3" SLOT="0" RDEPEND=" - app-admin/himitsu:= - >=dev-hare/hare-ssh-0.24.0:= + >=app-admin/himitsu-0.8:= + >=dev-hare/hare-ssh-0.24.2:= " DEPEND=" ${RDEPEND} - >=dev-lang/hare-0.24.0:= + >=dev-lang/hare-0.24.2:= " BDEPEND="app-text/scdoc" |