diff options
author | Chen, Chih-Chia <pigfoot@gmail.com> | 2022-10-03 18:43:09 +0800 |
---|---|---|
committer | Chen, Chih-Chia <pigfoot@gmail.com> | 2022-10-03 18:43:09 +0800 |
commit | be2b1828bf43cde00da71be0c892a53a6894dd6e (patch) | |
tree | 006a463cdbe0f1444489b0078ab02c41ff900244 /app-misc | |
parent | [net-misc/aria2] remove in favor of gentoo's (diff) | |
download | pigfoot-be2b1828bf43cde00da71be0c892a53a6894dd6e.tar.gz pigfoot-be2b1828bf43cde00da71be0c892a53a6894dd6e.tar.bz2 pigfoot-be2b1828bf43cde00da71be0c892a53a6894dd6e.zip |
[app-misc/dasel] remove in favor of gentoo's
Signed-off-by: Chen, Chih-Chia <pigfoot@gmail.com>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/dasel/Manifest | 1 | ||||
l--------- | app-misc/dasel/dasel-1.25.0.ebuild | 1 | ||||
-rw-r--r-- | app-misc/dasel/dasel-9999.ebuild | 59 |
3 files changed, 0 insertions, 61 deletions
diff --git a/app-misc/dasel/Manifest b/app-misc/dasel/Manifest deleted file mode 100644 index 1daf78d..0000000 --- a/app-misc/dasel/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST dasel-1.25.0.tar.gz 3053827 BLAKE2B 2902cddbb2feb4ce3f4d643e26c4b1f82f3b25a2d6e016257767fefe499bc4e52cefa784723ae2c33ff68614501a10e0aea2a8b8f000de3748c3e7f4fb0ff28f SHA512 ec2b1d0ca0acd84dc9465b0f4aa27b054a0897efbcb4dd6a94cf6de73415933e44b857e8dbcb01d3bac266597d2dfe132146d282c168b087dcd77512e5f06e72 diff --git a/app-misc/dasel/dasel-1.25.0.ebuild b/app-misc/dasel/dasel-1.25.0.ebuild deleted file mode 120000 index 80da0cf..0000000 --- a/app-misc/dasel/dasel-1.25.0.ebuild +++ /dev/null @@ -1 +0,0 @@ -dasel-9999.ebuild
\ No newline at end of file diff --git a/app-misc/dasel/dasel-9999.ebuild b/app-misc/dasel/dasel-9999.ebuild deleted file mode 100644 index 1dde16e..0000000 --- a/app-misc/dasel/dasel-9999.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2019-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -EGO_PN="github.com/TomWright/${PN}" - -inherit go-module - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://${EGO_PN}.git" - EGO_VER="devel" - - src_unpack() { - git-r3_src_unpack - go-module_live_vendor - } -else - EGO_VER="v${PV}" - SRC_URI="https://${EGO_PN}/archive/${EGO_VER}.tar.gz -> ${P}.tar.gz" - inherit git-r3 - EGIT_REPO_URI="https://${EGO_PN}.git" - EGIT_COMMIT="${EGO_VER}" - - src_unpack() { - git-r3_src_unpack - go-module_live_vendor - } - - #S="${WORKDIR}/cli-${P}" - KEYWORDS="~amd64 ~x86 ~arm64 ~arm" -fi - -DESCRIPTION="Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool." -LICENSE="MIT" -SLOT="0/${PVR}" -RESTRICT="mirror" -IUSE="+pie" - -src_compile() { - # -buildmode=pie forces external linking mode, even CGO_ENABLED=0 - # https://github.com/golang/go/issues/18968 - use pie && local build_pie="-buildmode=pie" - - local build_flags="$( echo ${EGO_BUILD_FLAGS} ) $( echo ${build_pie} )" - local ld_flags="$( echo "-X 'github.com/tomwright/dasel/internal.Version=${PV}'" )" - - set -- env \ - CGO_ENABLED=0 \ - go build -o "bin/${PN}" -mod=vendor -v -work -x ${build_flags} -ldflags "${ld_flags}" \ - ./cmd/${PN} - echo "$@" - "$@" || die -} - -src_install() { - dobin bin/* -} |