From e7c5b135835e6dd25b465e68cbdf6b2c9336ad09 Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Sun, 14 Nov 2021 14:43:37 +0100 Subject: dev-go/gom: Port to EAPI 7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/819636 Closes: https://bugs.gentoo.org/566208 Signed-off-by: Jakov Smolić Closes: https://github.com/gentoo/gentoo/pull/22889 Signed-off-by: Jakov Smolić --- dev-go/gom/gom-0_pre20151110-r1.ebuild | 26 ++++++++++++++++++++++++++ dev-go/gom/gom-0_pre20151110.ebuild | 29 ----------------------------- 2 files changed, 26 insertions(+), 29 deletions(-) create mode 100644 dev-go/gom/gom-0_pre20151110-r1.ebuild delete mode 100644 dev-go/gom/gom-0_pre20151110.ebuild diff --git a/dev-go/gom/gom-0_pre20151110-r1.ebuild b/dev-go/gom/gom-0_pre20151110-r1.ebuild new file mode 100644 index 000000000000..80a4aad7a4a8 --- /dev/null +++ b/dev-go/gom/gom-0_pre20151110-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_PN=github.com/mattn/gom + +EGIT_COMMIT=c522e7d +ARCHIVE_URI="https://github.com/mattn/gom/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +inherit golang-build golang-vcs-snapshot + +DESCRIPTION="Go Dependency management system similar to bundle for ruby" +HOMEPAGE="https://github.com/mattn/gom" +SRC_URI="${ARCHIVE_URI}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-go/go-colortext:=" +RDEPEND="!media-sound/gom" + +src_install() { + dobin gom + dodoc src/${EGO_PN}/README.mkd +} diff --git a/dev-go/gom/gom-0_pre20151110.ebuild b/dev-go/gom/gom-0_pre20151110.ebuild deleted file mode 100644 index c895ff693699..000000000000 --- a/dev-go/gom/gom-0_pre20151110.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -EGO_PN=github.com/mattn/gom - -if [[ ${PV} = *9999* ]]; then - inherit golang-vcs -else - EGIT_COMMIT=c522e7d - ARCHIVE_URI="https://github.com/mattn/gom/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - inherit golang-vcs-snapshot -fi -inherit golang-build - -DESCRIPTION="Go Dependency management system similar to bundle for ruby" -HOMEPAGE="https://github.com/mattn/gom" -SRC_URI="${ARCHIVE_URI}" -LICENSE="MIT" -SLOT="0" -IUSE="" -DEPEND="dev-go/go-colortext:=" -RDEPEND="" - -src_install() { -dobin gom -dodoc src/${EGO_PN}/README.mkd -} -- cgit v1.2.3-65-gdbad