From cc66a9ac926f3703342e66acd3e1c0bedd7c8836 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Fri, 22 Mar 2024 15:12:29 +0100 Subject: dev-lang/hare-ssh: drop 0_pre20230623, add 0.24.0 Signed-off-by: Haelwenn (lanodan) Monnier --- dev-hare/hare-ssh/Manifest | 2 +- dev-hare/hare-ssh/hare-ssh-0.24.0.ebuild | 27 ++++++++++++++++++++++ dev-hare/hare-ssh/hare-ssh-0_pre20230623.ebuild | 30 ------------------------- dev-hare/hare-ssh/hare-ssh-9999.ebuild | 11 ++++----- 4 files changed, 32 insertions(+), 38 deletions(-) create mode 100644 dev-hare/hare-ssh/hare-ssh-0.24.0.ebuild delete mode 100644 dev-hare/hare-ssh/hare-ssh-0_pre20230623.ebuild (limited to 'dev-hare') diff --git a/dev-hare/hare-ssh/Manifest b/dev-hare/hare-ssh/Manifest index a47870502..daf3f553b 100644 --- a/dev-hare/hare-ssh/Manifest +++ b/dev-hare/hare-ssh/Manifest @@ -1 +1 @@ -DIST hare-ssh-9fe392eb4478dc26680c8c5c42deb87d192447db.tar.gz 32799 BLAKE2B 94bc993415f76c41d711b06f38504df012982bc13528f6a88bc4fad7c601578c8ff5abdbc86cae60ff2965c14898da5aa2b02a301af10583de9b49d8229d24fe SHA512 9f14229630330878ca7b8a9935c82fd0c6b547918d662591b0871314c7df86aee32e55fda7273bee3c6ae04d3c75acc628edd500e735272af3609b2bdabeaaec +DIST hare-ssh-0.24.0.tar.gz 33013 BLAKE2B fc684f5f0b5c025f4e9fa10066f3d10e4a554973fa9d9d99fd3ca97a3005541690cb1eed0baf773f3a5d0e8a130cfb3bf5e837a04c4603077b22536c8cab229d SHA512 290fe762a019bf073cd18c244db022cb4423d919336b3b69fceaff1df1ebc78b616a14d3872bfaefaba540429c39d84e9255dddb94047ad0def25b22c9c9bbf6 diff --git a/dev-hare/hare-ssh/hare-ssh-0.24.0.ebuild b/dev-hare/hare-ssh/hare-ssh-0.24.0.ebuild new file mode 100644 index 000000000..fb55c3fba --- /dev/null +++ b/dev-hare/hare-ssh/hare-ssh-0.24.0.ebuild @@ -0,0 +1,27 @@ +# 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/hare-ssh" + SLOT="0" +else + SRC_URI="https://git.sr.ht/~sircmpwn/hare-ssh/archive/${PV}.tar.gz -> ${P}.tar.gz" + 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.24.0" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die +} diff --git a/dev-hare/hare-ssh/hare-ssh-0_pre20230623.ebuild b/dev-hare/hare-ssh/hare-ssh-0_pre20230623.ebuild deleted file mode 100644 index d8951cdb4..000000000 --- a/dev-hare/hare-ssh/hare-ssh-0_pre20230623.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# 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" -DEPEND="${DEPEND}" - -src_prepare() { - default - sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die -} diff --git a/dev-hare/hare-ssh/hare-ssh-9999.ebuild b/dev-hare/hare-ssh/hare-ssh-9999.ebuild index d8951cdb4..fb55c3fba 100644 --- a/dev-hare/hare-ssh/hare-ssh-9999.ebuild +++ b/dev-hare/hare-ssh/hare-ssh-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,10 +8,7 @@ if [[ "${PV}" = 9999 ]]; then 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}" + SRC_URI="https://git.sr.ht/~sircmpwn/hare-ssh/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm64 ~riscv" @@ -21,8 +18,8 @@ DESCRIPTION="SSH library for Hare" HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-ssh" LICENSE="MPL-2.0" -RDEPEND="dev-lang/hare" -DEPEND="${DEPEND}" +RDEPEND=">=dev-lang/hare-0.24.0" +DEPEND="${RDEPEND}" src_prepare() { default -- cgit v1.2.3-65-gdbad