From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9734D138334 for ; Mon, 22 Oct 2018 20:12:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AECC4E093D; Mon, 22 Oct 2018 20:12:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A4B6E093D for ; Mon, 22 Oct 2018 20:12:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 771A6335D00 for ; Mon, 22 Oct 2018 20:12:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E2F5436 for ; Mon, 22 Oct 2018 20:12:22 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1540238896.bf2f19175b32b8c11c312795a2ebc59a561b1175.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/envman/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/envman/Manifest dev-util/envman/envman-2.1.0.ebuild X-VCS-Directories: dev-util/envman/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: bf2f19175b32b8c11c312795a2ebc59a561b1175 X-VCS-Branch: master Date: Mon, 22 Oct 2018 20:12:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cbceaf25-7149-4870-a4f7-5bb64e58d413 X-Archives-Hash: 0f4badb3ff73cfa3e5a26b73d8769a2f commit: bf2f19175b32b8c11c312795a2ebc59a561b1175 Author: Karol Wrótniak droidsonroids pl> AuthorDate: Thu Oct 18 22:53:19 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Oct 22 20:08:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2f1917 dev-util/envman: bump to 2.1.0 Signed-off-by: Karol Wrótniak droidsonroids.pl> Signed-off-by: Michał Górny gentoo.org> dev-util/envman/Manifest | 1 + dev-util/envman/envman-2.1.0.ebuild | 38 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-util/envman/Manifest b/dev-util/envman/Manifest index 45209dba255..4e1b667679e 100644 --- a/dev-util/envman/Manifest +++ b/dev-util/envman/Manifest @@ -1,2 +1,3 @@ DIST envman-1.2.0.tar.gz 2997860 BLAKE2B e49d3b421fb1ab226de4430e90d8c684bc3a2554205c6383a140c0832134eaba338797dca44668fc2473d248940b5499395ab3a6d3359382305fd8a719772257 SHA512 5245aea8c280a6d6022e8132216891f09abee707c0ed736bfe6b4882aa23880a771dce5371b8ba5fcdd41fa951606727e7582442d897058b25985cf9dd5a9d18 DIST envman-1.2.1.tar.gz 3033981 BLAKE2B a48c46d35a122ad86274867c246f1af998a983a67e8d30214bc6f3a989ad6b435a61ebad7f128803ffb9dcfc05af261b99cf3316fed93412c6ee1da873cc988e SHA512 bbec25964d868077c88a01ab827744633b325eb955809d4ec48a5224f6f8530c31b297b592f0280dabd01007bf75fd6ac3609c4d19be0332ca114d36725c7fb6 +DIST envman-2.1.0.tar.gz 3133726 BLAKE2B 8c5c87d43bdc22838036fe25ea6b48e702163d474169181257cef6f0fe4fba01b18f870d9bfee5f56b30cce13f47f6af70f4e55fcff221af77f14550a13ebb46 SHA512 c0b7ab5355332fa24ecd4166e3fdb1f02e589ee11288768a382a9556d2c3061b1930061873525e19b71451a47c72c09f5b7c6191b8564b0dec2a9c29dfbcf222 diff --git a/dev-util/envman/envman-2.1.0.ebuild b/dev-util/envman/envman-2.1.0.ebuild new file mode 100644 index 00000000000..20bf664c7e8 --- /dev/null +++ b/dev-util/envman/envman-2.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit golang-build + +EGO_ON="github.com/bitrise-io" +EGO_PN="${EGO_ON}/${PN}" + +DESCRIPTION="Environment variable manager for Bitrise CLI" +HOMEPAGE="https://www.bitrise.io/cli" +SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}/src/${EGO_ON}/${PN}" + +src_unpack() { + default + mkdir -p "${WORKDIR}/src/${EGO_ON}" || die "Couldn't create project dir in GOPATH" + mv "${WORKDIR}/${P}" "${WORKDIR}/src/${EGO_ON}/envman" || die "Couldn't move sources to GOPATH" +} + +src_compile() { + GOPATH="${WORKDIR}" go build -v -o bin/envman || die "Couldn't compile envman" +} + +src_test() { + GOPATH="${WORKDIR}" go test ./... || die "Tests failed" +} + +src_install() { + dobin bin/envman + einstalldocs +}