summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-11-14 14:43:37 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-14 14:43:37 +0100
commite7c5b135835e6dd25b465e68cbdf6b2c9336ad09 (patch)
tree20b4059dd6aeda42b35596f45484fa0ef6056697 /dev-go/gom
parentdev-go/go-colortext: Port to EAPI 7 (diff)
downloadgentoo-e7c5b135835e6dd25b465e68cbdf6b2c9336ad09.tar.gz
gentoo-e7c5b135835e6dd25b465e68cbdf6b2c9336ad09.tar.bz2
gentoo-e7c5b135835e6dd25b465e68cbdf6b2c9336ad09.zip
dev-go/gom: Port to EAPI 7
Closes: https://bugs.gentoo.org/819636 Closes: https://bugs.gentoo.org/566208 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/22889 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-go/gom')
-rw-r--r--dev-go/gom/gom-0_pre20151110-r1.ebuild26
-rw-r--r--dev-go/gom/gom-0_pre20151110.ebuild29
2 files changed, 26 insertions, 29 deletions
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
-}