Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/uchardet/
Date: Sun, 06 Sep 2020 05:55:36
Message-Id: 1599371717.74436838a0da53e067c2bb8a80e21f2df13244ee.juippis@gentoo
1 commit: 74436838a0da53e067c2bb8a80e21f2df13244ee
2 Author: Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
3 AuthorDate: Sun Aug 9 23:08:11 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 6 05:55:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74436838
7
8 app-i18n/uchardet: Version bump + maintainership
9
10 + Added version 0.0.7, patch from 0.0.6-r2 isn't needed there
11 + EAPI 6 -> 7
12 + Eclass cmake-utils -> cmake
13 + I've adopted this orphaned package
14
15 Package-Manager: Portage-3.0.1, Repoman-2.3.23
16 Signed-off-by: Matthias Coppens <coppens.matthias.abc <AT> gmail.com>
17 Closes: https://github.com/gentoo/gentoo/pull/17066
18 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
19
20 app-i18n/uchardet/Manifest | 1 +
21 app-i18n/uchardet/metadata.xml | 15 +++++++++++----
22 .../{uchardet-9999.ebuild => uchardet-0.0.7.ebuild} | 20 +++++++++++++-------
23 app-i18n/uchardet/uchardet-9999.ebuild | 18 ++++++++++++------
24 4 files changed, 37 insertions(+), 17 deletions(-)
25
26 diff --git a/app-i18n/uchardet/Manifest b/app-i18n/uchardet/Manifest
27 index c07df8b95bd..6d0131253a3 100644
28 --- a/app-i18n/uchardet/Manifest
29 +++ b/app-i18n/uchardet/Manifest
30 @@ -1 +1,2 @@
31 DIST uchardet-0.0.6.tar.xz 169192 BLAKE2B a0bc80ecd12565c1459b8136e3dc0530250571b5adbe4a7013c561f846f64f58482b9fd9cc5aa7493f20e913f59504a6e08c26571bf33ff34b4823f55d857b8c SHA512 eceeadae060bf277e298d709856609dde32921271140dc1fb0a33c7b6e1381033fc2960d616ebbd82c92815936864d2c0743b1b5ea1b7d4a200df87df80d6de5
32 +DIST uchardet-0.0.7.tar.xz 215492 BLAKE2B 1f8b171676bc6edf1f3493a4a370e32b7b956104ea0b12a03837d817c386d59aa512c3a107426aedb087987cf3a7b99c4b2df4a667ed685ff9959f6bc6b4506c SHA512 ddb7b63dd09c1d9acbe620d86217e583d9aa5340780ab4010ec9faa4fd331498859d5efa7829bf8847da89325accf8f7304b51d410210178fc1ffa6658064a6f
33
34 diff --git a/app-i18n/uchardet/metadata.xml b/app-i18n/uchardet/metadata.xml
35 index df067141bad..3c431c24f07 100644
36 --- a/app-i18n/uchardet/metadata.xml
37 +++ b/app-i18n/uchardet/metadata.xml
38 @@ -1,8 +1,15 @@
39 <?xml version="1.0" encoding="UTF-8"?>
40 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
41 <pkgmetadata>
42 - <!-- maintainer-needed -->
43 - <upstream>
44 - <bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=uchardet</bugs-to>
45 - </upstream>
46 + <maintainer type="person">
47 + <email>coppens.matthias.abc@×××××.com</email>
48 + <name>Matthias Coppens</name>
49 + </maintainer>
50 + <maintainer type="project">
51 + <email>proxy-maint@g.o</email>
52 + <name>Proxy Maintainers</name>
53 + </maintainer>
54 + <upstream>
55 + <bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=uchardet</bugs-to>
56 + </upstream>
57 </pkgmetadata>
58
59 diff --git a/app-i18n/uchardet/uchardet-9999.ebuild b/app-i18n/uchardet/uchardet-0.0.7.ebuild
60 similarity index 58%
61 copy from app-i18n/uchardet/uchardet-9999.ebuild
62 copy to app-i18n/uchardet/uchardet-0.0.7.ebuild
63 index 0aef01cb3c6..777ebc8cfb7 100644
64 --- a/app-i18n/uchardet/uchardet-9999.ebuild
65 +++ b/app-i18n/uchardet/uchardet-0.0.7.ebuild
66 @@ -1,22 +1,28 @@
67 -# Copyright 1999-2019 Gentoo Authors
68 +# Copyright 1999-2020 Gentoo Authors
69 # Distributed under the terms of the GNU General Public License v2
70
71 -EAPI=6
72 +EAPI=7
73
74 -inherit cmake-utils git-r3
75 +inherit cmake
76 +if [ "${PV}" = 9999 ]
77 +then
78 + inherit git-r3
79 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/uchardet/uchardet.git"
80 +else
81 + SRC_URI="https://www.freedesktop.org/software/uchardet/releases/${P}.tar.xz"
82 +fi
83
84 DESCRIPTION="An encoding detector library"
85 HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/"
86 -EGIT_REPO_URI="https://anongit.freedesktop.org/git/uchardet/uchardet.git"
87
88 LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
89 SLOT="0"
90 -KEYWORDS=""
91 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
92 IUSE="cpu_flags_x86_sse2 static-libs test"
93 RESTRICT="!test? ( test )"
94
95 src_prepare() {
96 - cmake-utils_src_prepare
97 + cmake_src_prepare
98 use test || cmake_comment_add_subdirectory test
99 }
100
101 @@ -26,5 +32,5 @@ src_configure() {
102 -DBUILD_STATIC=$(usex static-libs)
103 -DCHECK_SSE2=$(usex cpu_flags_x86_sse2)
104 )
105 - cmake-utils_src_configure
106 + cmake_src_configure
107 }
108
109 diff --git a/app-i18n/uchardet/uchardet-9999.ebuild b/app-i18n/uchardet/uchardet-9999.ebuild
110 index 0aef01cb3c6..031c6d82948 100644
111 --- a/app-i18n/uchardet/uchardet-9999.ebuild
112 +++ b/app-i18n/uchardet/uchardet-9999.ebuild
113 @@ -1,13 +1,19 @@
114 -# Copyright 1999-2019 Gentoo Authors
115 +# Copyright 1999-2020 Gentoo Authors
116 # Distributed under the terms of the GNU General Public License v2
117
118 -EAPI=6
119 +EAPI=7
120
121 -inherit cmake-utils git-r3
122 +inherit cmake
123 +if [ "${PV}" = 9999 ]
124 +then
125 + inherit git-r3
126 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/uchardet/uchardet.git"
127 +else
128 + SRC_URI="https://www.freedesktop.org/software/uchardet/releases/${P}.tar.xz"
129 +fi
130
131 DESCRIPTION="An encoding detector library"
132 HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/"
133 -EGIT_REPO_URI="https://anongit.freedesktop.org/git/uchardet/uchardet.git"
134
135 LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
136 SLOT="0"
137 @@ -16,7 +22,7 @@ IUSE="cpu_flags_x86_sse2 static-libs test"
138 RESTRICT="!test? ( test )"
139
140 src_prepare() {
141 - cmake-utils_src_prepare
142 + cmake_src_prepare
143 use test || cmake_comment_add_subdirectory test
144 }
145
146 @@ -26,5 +32,5 @@ src_configure() {
147 -DBUILD_STATIC=$(usex static-libs)
148 -DCHECK_SSE2=$(usex cpu_flags_x86_sse2)
149 )
150 - cmake-utils_src_configure
151 + cmake_src_configure
152 }