Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gnuconfig/
Date: Wed, 11 May 2022 04:12:17
Message-Id: 1652242323.d56bcca2755f84993d98c4bd703e6db5da654917.sam@gentoo
1 commit: d56bcca2755f84993d98c4bd703e6db5da654917
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 11 04:11:56 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed May 11 04:12:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d56bcca2
7
8 sys-devel/gnuconfig: sync live
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-devel/gnuconfig/gnuconfig-20220508.ebuild | 14 ++++++--------
13 sys-devel/gnuconfig/gnuconfig-99999999.ebuild | 16 +++++++---------
14 2 files changed, 13 insertions(+), 17 deletions(-)
15
16 diff --git a/sys-devel/gnuconfig/gnuconfig-20220508.ebuild b/sys-devel/gnuconfig/gnuconfig-20220508.ebuild
17 index fcdf54a96129..3c5c54ade825 100644
18 --- a/sys-devel/gnuconfig/gnuconfig-20220508.ebuild
19 +++ b/sys-devel/gnuconfig/gnuconfig-20220508.ebuild
20 @@ -3,12 +3,12 @@
21
22 EAPI="7"
23
24 -if [[ ${PV} == "99999999" ]] ; then
25 +if [[ ${PV} == 99999999 ]] ; then
26 EGIT_REPO_URI="https://git.savannah.gnu.org/r/config.git"
27
28 inherit git-r3
29 else
30 - SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${PN}/${P}.tar.xz"
31 + SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
32 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
33 S="${WORKDIR}"
34 fi
35 @@ -18,12 +18,11 @@ HOMEPAGE="https://savannah.gnu.org/projects/config"
36
37 LICENSE="GPL-3+-with-autoconf-exception"
38 SLOT="0"
39 -IUSE=""
40
41 maint_pkg_create() {
42 - cd "${S}"
43 + cd "${S}" || die
44
45 - make ChangeLog || die
46 + emake ChangeLog
47 local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog)
48 [[ ${#ver} != 8 ]] && die "invalid version '${ver}'"
49
50 @@ -36,7 +35,7 @@ maint_pkg_create() {
51 }
52
53 src_unpack() {
54 - if [[ ${PV} == "99999999" ]] ; then
55 + if [[ ${PV} == 99999999 ]] ; then
56 git-r3_src_unpack
57 maint_pkg_create
58 else
59 @@ -46,11 +45,10 @@ src_unpack() {
60
61 src_prepare() {
62 default
63 +
64 eapply "${S}"/*.patch
65 }
66
67 -src_compile() { :;}
68 -
69 src_test() {
70 emake check
71 }
72
73 diff --git a/sys-devel/gnuconfig/gnuconfig-99999999.ebuild b/sys-devel/gnuconfig/gnuconfig-99999999.ebuild
74 index e4c1ec17f5df..3c5c54ade825 100644
75 --- a/sys-devel/gnuconfig/gnuconfig-99999999.ebuild
76 +++ b/sys-devel/gnuconfig/gnuconfig-99999999.ebuild
77 @@ -3,13 +3,13 @@
78
79 EAPI="7"
80
81 -if [[ ${PV} == "99999999" ]] ; then
82 +if [[ ${PV} == 99999999 ]] ; then
83 EGIT_REPO_URI="https://git.savannah.gnu.org/r/config.git"
84
85 inherit git-r3
86 else
87 - SRC_URI="https://dev.gentoo.org/~whissi/dist/${PN}/${P}.tar.xz"
88 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
89 + SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
90 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
91 S="${WORKDIR}"
92 fi
93
94 @@ -18,12 +18,11 @@ HOMEPAGE="https://savannah.gnu.org/projects/config"
95
96 LICENSE="GPL-3+-with-autoconf-exception"
97 SLOT="0"
98 -IUSE=""
99
100 maint_pkg_create() {
101 - cd "${S}"
102 + cd "${S}" || die
103
104 - make ChangeLog || die
105 + emake ChangeLog
106 local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog)
107 [[ ${#ver} != 8 ]] && die "invalid version '${ver}'"
108
109 @@ -36,7 +35,7 @@ maint_pkg_create() {
110 }
111
112 src_unpack() {
113 - if [[ ${PV} == "99999999" ]] ; then
114 + if [[ ${PV} == 99999999 ]] ; then
115 git-r3_src_unpack
116 maint_pkg_create
117 else
118 @@ -46,11 +45,10 @@ src_unpack() {
119
120 src_prepare() {
121 default
122 +
123 eapply "${S}"/*.patch
124 }
125
126 -src_compile() { :;}
127 -
128 src_test() {
129 emake check
130 }