From 4a18f91beba5723a16bc13e0f1f30af31c0c3717 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 17 Jun 2021 00:24:23 -0700 Subject: app-misc/jp: Bump to version 0.1.3.5 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico --- app-misc/jp/Manifest | 2 +- app-misc/jp/jp-0.1.3.4.ebuild | 50 ------------------------------------------- app-misc/jp/jp-0.1.3.5.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 51 deletions(-) delete mode 100644 app-misc/jp/jp-0.1.3.4.ebuild create mode 100644 app-misc/jp/jp-0.1.3.5.ebuild (limited to 'app-misc') diff --git a/app-misc/jp/Manifest b/app-misc/jp/Manifest index 343b4baca214..a341d2a78bda 100644 --- a/app-misc/jp/Manifest +++ b/app-misc/jp/Manifest @@ -1 +1 @@ -DIST jpp-0.1.3.4.tar.gz 65111 BLAKE2B 1ae45e494b166e6578300087970d391e3bac07f083e090ac721b2ec49dcfc4872ee94828aea83a0a9b621bd23f5700877ced664e6a631d0a897d9ddf3674de86 SHA512 0b4414584a50e2a559d3fd1a7e7024f91ae9dcd0ffe42ea13473a840eba6dd6df2bfb22eff670ac4d18cface233bfa851a7daa03c5c06c0ee0c713f45faaac06 +DIST jpp-0.1.3.5.tar.gz 65092 BLAKE2B ec013d934657a2bf69ad4fb59593673a37f7e8750b78b69b1ba0b88712f7995c4108174c91c1b14f43a0a2c7608aba1286883f5da6ce50db5ffc0786ffdd4951 SHA512 7b52537a8f35e4943acf0a8ba5ea6c8abb84dda07a5fc6656faee68e169cd220cf44d7e89a72c3d97584a4e7de6d1d7cace64ccb4e9ea5342becd94defbeb8f7 diff --git a/app-misc/jp/jp-0.1.3.4.ebuild b/app-misc/jp/jp-0.1.3.4.ebuild deleted file mode 100644 index f06de95b2d3f..000000000000 --- a/app-misc/jp/jp-0.1.3.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit go-module - -MY_PN=jpp -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Command line interface to JMESPath" -HOMEPAGE="https://github.com/pipebus/jpp https://github.com/jmespath/jp/pull/30 http://jmespath.org" -SRC_URI="https://github.com/pipebus/jpp/archive/refs/tags/v${PV}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="Apache-2.0 MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+jp +jpp" -RESTRICT+=" test" -REQUIRED_USE="|| ( jp jpp )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - if [[ -e $S/go.mod ]]; then - die "found unexpected $S/go.mod" - fi - cat <<-EOF > "$S/go.mod" - module github.com/jmespath/jp - replace github.com/jmespath/jp => ./ - EOF - - sed -e 's|except Exception, e|except Exception as e|' -i test/jp-compliance || die - - default -} - -src_compile() { - if use jp; then - go build -mod=readonly -o ./jp ./jp.go || die - fi - if use jpp; then - go build -mod=readonly -o ./jpp ./cmd/jpp/main.go || die - fi -} - -src_install() { - use jp && dobin "./jp" - use jpp && dobin "./jpp" - dodoc README.md -} diff --git a/app-misc/jp/jp-0.1.3.5.ebuild b/app-misc/jp/jp-0.1.3.5.ebuild new file mode 100644 index 000000000000..f06de95b2d3f --- /dev/null +++ b/app-misc/jp/jp-0.1.3.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +MY_PN=jpp +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Command line interface to JMESPath" +HOMEPAGE="https://github.com/pipebus/jpp https://github.com/jmespath/jp/pull/30 http://jmespath.org" +SRC_URI="https://github.com/pipebus/jpp/archive/refs/tags/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+jp +jpp" +RESTRICT+=" test" +REQUIRED_USE="|| ( jp jpp )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + if [[ -e $S/go.mod ]]; then + die "found unexpected $S/go.mod" + fi + cat <<-EOF > "$S/go.mod" + module github.com/jmespath/jp + replace github.com/jmespath/jp => ./ + EOF + + sed -e 's|except Exception, e|except Exception as e|' -i test/jp-compliance || die + + default +} + +src_compile() { + if use jp; then + go build -mod=readonly -o ./jp ./jp.go || die + fi + if use jpp; then + go build -mod=readonly -o ./jpp ./cmd/jpp/main.go || die + fi +} + +src_install() { + use jp && dobin "./jp" + use jpp && dobin "./jpp" + dodoc README.md +} -- cgit v1.2.3-65-gdbad