From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1043514-garchives=archives.gentoo.org@lists.gentoo.org> 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 172DB138334 for <garchives@archives.gentoo.org>; Wed, 22 Aug 2018 14:36:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6EB1E0980; Wed, 22 Aug 2018 14:36:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 BDAC2E0980 for <gentoo-commits@lists.gentoo.org>; Wed, 22 Aug 2018 14:36:43 +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 555EF335C8F for <gentoo-commits@lists.gentoo.org>; Wed, 22 Aug 2018 14:36:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ABE172BA for <gentoo-commits@lists.gentoo.org>; Wed, 22 Aug 2018 14:36:39 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1534948557.737eb6ff13ea0a765e48ff63e0fb2f5996974a52.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-1.2.1.ebuild X-VCS-Directories: dev-util/envman/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 737eb6ff13ea0a765e48ff63e0fb2f5996974a52 X-VCS-Branch: master Date: Wed, 22 Aug 2018 14:36:39 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 08ab4b84-9c9f-4106-9df6-53a2f1fe9df3 X-Archives-Hash: c2684982fdb1e986a95d977537160017 commit: 737eb6ff13ea0a765e48ff63e0fb2f5996974a52 Author: Karol Wrótniak <karol.wrotniak <AT> droidsonroids <DOT> pl> AuthorDate: Sun Aug 19 15:13:23 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Aug 22 14:35:57 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737eb6ff dev-util/envman: version bump 1.2.1 Closes: https://github.com/gentoo/gentoo/pull/9626 dev-util/envman/Manifest | 1 + dev-util/envman/envman-1.2.1.ebuild | 38 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-util/envman/Manifest b/dev-util/envman/Manifest index e4ecaa9b6e7..45209dba255 100644 --- a/dev-util/envman/Manifest +++ b/dev-util/envman/Manifest @@ -1 +1,2 @@ DIST envman-1.2.0.tar.gz 2997860 BLAKE2B e49d3b421fb1ab226de4430e90d8c684bc3a2554205c6383a140c0832134eaba338797dca44668fc2473d248940b5499395ab3a6d3359382305fd8a719772257 SHA512 5245aea8c280a6d6022e8132216891f09abee707c0ed736bfe6b4882aa23880a771dce5371b8ba5fcdd41fa951606727e7582442d897058b25985cf9dd5a9d18 +DIST envman-1.2.1.tar.gz 3033981 BLAKE2B a48c46d35a122ad86274867c246f1af998a983a67e8d30214bc6f3a989ad6b435a61ebad7f128803ffb9dcfc05af261b99cf3316fed93412c6ee1da873cc988e SHA512 bbec25964d868077c88a01ab827744633b325eb955809d4ec48a5224f6f8530c31b297b592f0280dabd01007bf75fd6ac3609c4d19be0332ca114d36725c7fb6 diff --git a/dev-util/envman/envman-1.2.1.ebuild b/dev-util/envman/envman-1.2.1.ebuild new file mode 100644 index 00000000000..6909eb936e5 --- /dev/null +++ b/dev-util/envman/envman-1.2.1.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() { + unpack ${A} + 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 +}