[gentoo-commits] repo/gentoo:master commit in: app-misc/color/, app-misc/color/files/
commit: 594e23f17b4671243fe68b82c82e852ea948f05c Author: David Seifert gentoo org> AuthorDate: Sun Oct 8 18:32:27 2023 + Commit: David Seifert gentoo org> CommitDate: Sun Oct 8 18:32:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=594e23f1 app-misc/color: update EAPI 6 -> 8 Signed-off-by: David Seifert gentoo.org> .../{color-1.2-r2.ebuild => color-1.2-r3.ebuild} | 23 +- app-misc/color/files/1.2-ldflags.patch | 23 -- 2 files changed, 14 insertions(+), 32 deletions(-) diff --git a/app-misc/color/color-1.2-r2.ebuild b/app-misc/color/color-1.2-r3.ebuild similarity index 67% rename from app-misc/color/color-1.2-r2.ebuild rename to app-misc/color/color-1.2-r3.ebuild index 04850977dee3..0aa2258eb1c3 100644 --- a/app-misc/color/color-1.2-r2.ebuild +++ b/app-misc/color/color-1.2-r3.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit toolchain-funcs @@ -14,25 +14,30 @@ SLOT="0" KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" src_prepare() { - eapply "${FILESDIR}"/${PV}-ldflags.patch default + # just rely on implicit rules + rm Makefile || die +} + +src_configure() { tc-export CC } +src_compile() { + emake color +} + src_install() { dobin color - dodoc CHANGELOG README - - # symlink for british users. - dosym color /usr/bin/colour + einstalldocs } pkg_postinst() { elog "For information on using colour in your shell scripts," - elog "run \`color\` without any arguments." + elog "run 'color' without any arguments." elog elog "To see all the colours available, use this command" elog " $ color --list" elog - elog "More examples are available in ${EPREFIX}/usr/share/doc/${PF}." + elog "More examples are available in ${EROOT}/usr/share/doc/${PF}." } diff --git a/app-misc/color/files/1.2-ldflags.patch b/app-misc/color/files/1.2-ldflags.patch deleted file mode 100644 index 9c95eda73b0e.. --- a/app-misc/color/files/1.2-ldflags.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/Makefile b/Makefile -index 79c5b33..452e091 100644 a/Makefile -+++ b/Makefile -@@ -1,4 +1,4 @@ --CC = cc -+CC ?= cc - #CFLAGS = -W -Wall -O2 -g - INCLUDE = $(wildcard *.h) - OBJS = color.o -@@ -6,8 +6,11 @@ EXE = color - - all: $(EXE) - -+OBJS: color.c -+ $(CC) $(CFLAGS) -c $^ $@ -+ - $(EXE): $(OBJS) -- $(CC) $(CFLAGS) -o $@ $^ -+ $(CC) $(LDFLAGS) -o $@ $^ - - install: all - cp $(EXE) /usr/local/bin
[gentoo-commits] repo/gentoo:master commit in: app-misc/color/
commit: b1c6018c3eed20a461fa02fa6302a36785c093ea Author: Matt Smith offtopica uk> AuthorDate: Sat Apr 3 16:45:27 2021 + Commit: Sam James gentoo org> CommitDate: Sat Apr 3 21:58:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c6018c app-misc/color: Remove unused eclass Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Matt Smith offtopica.uk> Signed-off-by: Sam James gentoo.org> app-misc/color/color-1.2-r2.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app-misc/color/color-1.2-r2.ebuild b/app-misc/color/color-1.2-r2.ebuild index 1f428eea383..04850977dee 100644 --- a/app-misc/color/color-1.2-r2.ebuild +++ b/app-misc/color/color-1.2-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Easily add ANSI colouring to shell scripts" HOMEPAGE="http://www.runslinux.net/?page_id=10"; @@ -12,7 +12,6 @@ SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" -IUSE="" src_prepare() { eapply "${FILESDIR}"/${PV}-ldflags.patch
[gentoo-commits] repo/gentoo:master commit in: app-misc/color/
commit: 5df95fb8e113fd37c527d0c73fbdd03f22e8fce6 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Dec 17 13:18:41 2017 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Dec 17 13:19:08 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df95fb8 app-misc/color: Drop old Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-misc/color/color-1.2-r1.ebuild | 38 -- 1 file changed, 38 deletions(-) diff --git a/app-misc/color/color-1.2-r1.ebuild b/app-misc/color/color-1.2-r1.ebuild deleted file mode 100644 index 5a0666ada12..000 --- a/app-misc/color/color-1.2-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit eutils toolchain-funcs - -DESCRIPTION="Easily add ANSI colouring to shell scripts" -HOMEPAGE="http://www.runslinux.net/?page_id=10"; -SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86" -IUSE="" - -src_prepare() { - epatch "${FILESDIR}"/${PV}-ldflags.patch - tc-export CC -} - -src_install() { - dobin color || die "dobin failed" - dodoc CHANGELOG README || die - - # symlink for british users. - dosym color /usr/bin/colour || die -} - -pkg_postinst() { - elog "For information on using colour in your shell scripts," - elog "run \`color\` without any arguments." - elog - elog "To see all the colours available, use this command" - elog " $ color --list" - elog - elog "More examples are available in ${EPREFIX}/usr/share/doc/${PF}." -}
[gentoo-commits] repo/gentoo:master commit in: app-misc/color/
commit: 1da09f79e3893af6f3d13b8776fcb8a922f20379 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Dec 17 13:17:43 2017 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Dec 17 13:17:43 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da09f79 app-misc/color: hppa stable wrt bug #638658 Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-misc/color/color-1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-misc/color/color-1.2-r2.ebuild b/app-misc/color/color-1.2-r2.ebuild index 417e2f29c15..198bbcc3a82 100644 --- a/app-misc/color/color-1.2-r2.ebuild +++ b/app-misc/color/color-1.2-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" +KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 ~sparc x86" IUSE="" src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: app-misc/color/
commit: 3ea6f804d711d0d710a5c49f0d21a5aab01e493a Author: Tobias Klausmann gentoo org> AuthorDate: Sat Dec 16 14:18:11 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Sat Dec 16 17:23:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ea6f804 app-misc/color-1.2-r2: amd64 stable Gentoo-Bug: http://bugs.gentoo.org/638658 app-misc/color/color-1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-misc/color/color-1.2-r2.ebuild b/app-misc/color/color-1.2-r2.ebuild index b3f616067c7..417e2f29c15 100644 --- a/app-misc/color/color-1.2-r2.ebuild +++ b/app-misc/color/color-1.2-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" +KEYWORDS="alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" IUSE="" src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: app-misc/color/
commit: d563bbce0b50487d8d47c90c9dff4db555880516 Author: Tobias Klausmann gentoo org> AuthorDate: Thu Nov 30 20:18:38 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Thu Nov 30 20:18:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d563bbce app-misc/color-1.2-r2: alpha stable Gentoo-Bug: http://bugs.gentoo.org/638658 app-misc/color/color-1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-misc/color/color-1.2-r2.ebuild b/app-misc/color/color-1.2-r2.ebuild index 661294baa35..b3f616067c7 100644 --- a/app-misc/color/color-1.2-r2.ebuild +++ b/app-misc/color/color-1.2-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" +KEYWORDS="alpha ~amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" IUSE="" src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: app-misc/color/
commit: ce20919d557f454877cf8f9c0bea72d497eaf600 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Nov 26 23:10:13 2017 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Nov 27 00:18:50 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce20919d app-misc/color: x86 stable (bug #638658) Package-Manager: Portage-2.3.16, Repoman-2.3.6 app-misc/color/color-1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-misc/color/color-1.2-r2.ebuild b/app-misc/color/color-1.2-r2.ebuild index 517b35761d3..661294baa35 100644 --- a/app-misc/color/color-1.2-r2.ebuild +++ b/app-misc/color/color-1.2-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86" IUSE="" src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: app-misc/color/
commit: 616b684495d280c64bc71209d8140fdd8bfcb0b3 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Nov 24 22:24:48 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Nov 24 22:24:48 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=616b6844 app-misc/color: stable 1.2-r2 for ppc/ppc64, bug #638658 Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="ppc ppc64" app-misc/color/color-1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-misc/color/color-1.2-r2.ebuild b/app-misc/color/color-1.2-r2.ebuild index e14fb8433a0..517b35761d3 100644 --- a/app-misc/color/color-1.2-r2.ebuild +++ b/app-misc/color/color-1.2-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86" IUSE="" src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: app-misc/color/
commit: 8b16cfe63fe5f9eb3869a61b8ce27d8882da35ec Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Apr 9 20:45:56 2017 + Commit: Andreas Hüttel gentoo org> CommitDate: Sun Apr 9 20:47:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b16cfe6 app-misc/color: EAPI bump Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-misc/color/color-1.2-r2.ebuild | 39 ++ 1 file changed, 39 insertions(+) diff --git a/app-misc/color/color-1.2-r2.ebuild b/app-misc/color/color-1.2-r2.ebuild new file mode 100644 index 000..e14fb8433a0 --- /dev/null +++ b/app-misc/color/color-1.2-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs + +DESCRIPTION="Easily add ANSI colouring to shell scripts" +HOMEPAGE="http://www.runslinux.net/?page_id=10"; +SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +src_prepare() { + eapply "${FILESDIR}"/${PV}-ldflags.patch + default + tc-export CC +} + +src_install() { + dobin color + dodoc CHANGELOG README + + # symlink for british users. + dosym color /usr/bin/colour +} + +pkg_postinst() { + elog "For information on using colour in your shell scripts," + elog "run \`color\` without any arguments." + elog + elog "To see all the colours available, use this command" + elog " $ color --list" + elog + elog "More examples are available in ${EPREFIX}/usr/share/doc/${PF}." +}