1 |
commit: 475830d7f49b86d72c0254b54d89ea6a29b672d4 |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Thu Dec 17 23:54:02 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 21:07:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475830d7 |
7 |
|
8 |
dev-libs/uthash: Version updated to 2.2.0. |
9 |
|
10 |
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/18698 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-libs/uthash/Manifest | 1 + |
15 |
dev-libs/uthash/uthash-2.2.0.ebuild | 30 ++++++++++++++++++++++++++++++ |
16 |
2 files changed, 31 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/uthash/Manifest b/dev-libs/uthash/Manifest |
19 |
index a4cb28e3d39..30e57e1d106 100644 |
20 |
--- a/dev-libs/uthash/Manifest |
21 |
+++ b/dev-libs/uthash/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST uthash-2.1.0.tar.gz 191782 BLAKE2B 322661aca33e8df27ec3166cd16549b11f49a6f9eb12f11c78f44b75baf5d9f208825028fb3b89a380277de5784bf2d4c41a6cd2ff070b1d3cd667ec074a85d2 SHA512 c8005113a48ec7636715ecec0286a5d9086971a7267947aba9e0ad031b6113a4f38a1fb512d33d6fefb5891635fdd31169ce4d6ab04b938bda612ebbccb3eda0 |
24 |
+DIST uthash-2.2.0.tar.gz 191356 BLAKE2B ca07634c30f49fa21af5fed9ed254351d038ca9f831b2c3f3fb545ee451833aaec9e1666572635e2fd31d6b791fb88800e7d870aba2cda0cfbeddcba20d969a9 SHA512 441ee907adc39c9b7e9c1f478966b7e8ddebb94cb6d5db9d2db409aee9a5e237033ee8cef3fed1c719fea01c7cfb5991554ac89f5a1e59241bd5c6eb4854cebe |
25 |
|
26 |
diff --git a/dev-libs/uthash/uthash-2.2.0.ebuild b/dev-libs/uthash/uthash-2.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4204681a71c |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/uthash/uthash-2.2.0.ebuild |
31 |
@@ -0,0 +1,30 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="An easy-to-use hash implementation for C programmers" |
40 |
+HOMEPAGE="https://troydhanson.github.io/uthash/index.html" |
41 |
+SRC_URI="https://github.com/troydhanson/uthash/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD-1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+DEPEND="test? ( dev-lang/perl )" |
50 |
+ |
51 |
+PATCHES=( "${FILESDIR}"/uthash-2.1.0-cflags.patch ) |
52 |
+ |
53 |
+src_test() { |
54 |
+ cd tests || die |
55 |
+ emake CC="$(tc-getCC)" |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ doheader src/*.h |
60 |
+ dodoc doc/*.txt |
61 |
+} |