diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-14 14:43:35 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-14 14:43:35 +0100 |
commit | 8601e21384efce32ce3805b251a3e84b1bfb815b (patch) | |
tree | e6a7017673d9548cdab2275395dfd21c1d50d38f /dev-go | |
parent | dev-libs/bareos-fastlzlib: drop 0_pre20140912 (diff) | |
download | gentoo-8601e21384efce32ce3805b251a3e84b1bfb815b.tar.gz gentoo-8601e21384efce32ce3805b251a3e84b1bfb815b.tar.bz2 gentoo-8601e21384efce32ce3805b251a3e84b1bfb815b.zip |
dev-go/go-colortext: Port to EAPI 7
Closes: https://bugs.gentoo.org/819648
Closes: https://bugs.gentoo.org/790479
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/go-colortext/go-colortext-0_pre20150720.ebuild | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild b/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild index 181bd09a7642..edf72cdb953e 100644 --- a/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild +++ b/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild @@ -1,29 +1,22 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -EGO_PN="github.com/daviddengcn/go-colortext" +EAPI=7 -if [[ ${PV} = *9999* ]]; then - inherit golang-vcs -else - EGIT_COMMIT=3b18c85 - ARCHIVE_URI="https://github.com/daviddengcn/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - inherit golang-vcs-snapshot -fi -inherit golang-build +EGO_PN="github.com/daviddengcn/go-colortext" +EGIT_COMMIT=3b18c85 +ARCHIVE_URI="https://github.com/daviddengcn/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +inherit golang-build golang-vcs-snapshot DESCRIPTION="Change the console foreground and background colors" HOMEPAGE="https://github.com/daviddengcn/go-colortext" SRC_URI="${ARCHIVE_URI}" + LICENSE="BSD" SLOT="0" -IUSE="" -DEPEND="" -RDEPEND="" +KEYWORDS="~amd64" src_install() { golang-build_src_install -dodoc src/${EGO_PN}/*.md + dodoc src/${EGO_PN}/*.md } |