From 2900e684ae4bdce1f20652587728095cd01a30a1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Nov 2023 10:31:10 +0000 Subject: gentoo auto-resync : 25:11:2023 - 10:31:10 --- dev-util/sh/sh-3.5.1.ebuild | 54 --------------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 dev-util/sh/sh-3.5.1.ebuild (limited to 'dev-util/sh/sh-3.5.1.ebuild') diff --git a/dev-util/sh/sh-3.5.1.ebuild b/dev-util/sh/sh-3.5.1.ebuild deleted file mode 100644 index ea48ab9e9b7d..000000000000 --- a/dev-util/sh/sh-3.5.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="A shell parser, formatter, and interpreter with bash support" -HOMEPAGE="https://github.com/mvdan/sh" - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/mvdan/sh.git" - inherit git-r3 -else - SRC_URI="https://github.com/mvdan/sh/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" - KEYWORDS="~amd64 ~arm64 ~x86" - S="${WORKDIR}/${PN//fmt/}-${PV}" -fi - -LICENSE="Apache-2.0 BSD" -SLOT="0" -IUSE="+man" - -BDEPEND="man? ( app-text/scdoc )" - -src_unpack() { - default - if [[ ${PV} == *9999 ]]; then - git-r3_src_unpack - go-module_live_vendor - fi -} - -src_compile() { - # Not bothering with gosh for now as it's very new - # https://github.com/mvdan/sh#gosh - ego build ./cmd/shfmt - if use man; then - scdoc shfmt.1 || die "conversation of man page failed" - fi -} - -src_test() { - cd syntax || die - ego test -run=- -} - -src_install() { - dobin shfmt - if use man; then - doman shfmt.1 - fi -} -- cgit v1.2.3