diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-14 14:43:37 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-14 14:43:37 +0100 |
commit | e7c5b135835e6dd25b465e68cbdf6b2c9336ad09 (patch) | |
tree | 20b4059dd6aeda42b35596f45484fa0ef6056697 /dev-go/gom | |
parent | dev-go/go-colortext: Port to EAPI 7 (diff) | |
download | gentoo-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.ebuild | 26 | ||||
-rw-r--r-- | dev-go/gom/gom-0_pre20151110.ebuild | 29 |
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 -} |