Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/uthash/
Date: Mon, 01 Mar 2021 23:37:31
Message-Id: 1614641759.f5779182f8a4a46ee073f783c0eea3e7145e2551.sam@gentoo
1 commit: f5779182f8a4a46ee073f783c0eea3e7145e2551
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Mon Mar 1 23:01:05 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 1 23:35:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5779182
7
8 dev-libs/uthash: Version updated to 2.3.0.
9
10 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/19727
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-libs/uthash/Manifest | 1 +
15 dev-libs/uthash/uthash-2.3.0.ebuild | 32 ++++++++++++++++++++++++++++++++
16 2 files changed, 33 insertions(+)
17
18 diff --git a/dev-libs/uthash/Manifest b/dev-libs/uthash/Manifest
19 index 497c75a7ce4..321f9897be0 100644
20 --- a/dev-libs/uthash/Manifest
21 +++ b/dev-libs/uthash/Manifest
22 @@ -1 +1,2 @@
23 DIST uthash-2.2.0.tar.gz 191356 BLAKE2B ca07634c30f49fa21af5fed9ed254351d038ca9f831b2c3f3fb545ee451833aaec9e1666572635e2fd31d6b791fb88800e7d870aba2cda0cfbeddcba20d969a9 SHA512 441ee907adc39c9b7e9c1f478966b7e8ddebb94cb6d5db9d2db409aee9a5e237033ee8cef3fed1c719fea01c7cfb5991554ac89f5a1e59241bd5c6eb4854cebe
24 +DIST uthash-2.3.0.tar.gz 191291 BLAKE2B 473e263df9f3555c9ef41c2b39cf2ed33a4624ce7325bbe52db805ac741b8383e64f84a9e249f96faf40e0b94fa4a7fc6c0e83bebe8b3677a90cdca82a4e3f51 SHA512 3b01f1074790fb242900411cb16eb82c1a9afcf58e3196a0f4611d9d7ef94690ad38c0a500e7783d3efa20328aa8d6ab14f246be63b3b3d385502ba2b6b2a294
25
26 diff --git a/dev-libs/uthash/uthash-2.3.0.ebuild b/dev-libs/uthash/uthash-2.3.0.ebuild
27 new file mode 100644
28 index 00000000000..5e4ed934d4c
29 --- /dev/null
30 +++ b/dev-libs/uthash/uthash-2.3.0.ebuild
31 @@ -0,0 +1,32 @@
32 +# Copyright 1999-2021 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 +BDEPEND="test? ( dev-lang/perl )"
50 +
51 +PATCHES=(
52 + "${FILESDIR}"/${PN}-2.1.0-cflags.patch
53 +)
54 +
55 +src_test() {
56 + cd tests || die
57 + emake CC="$(tc-getCC)"
58 +}
59 +
60 +src_install() {
61 + doheader src/*.h
62 + dodoc doc/*.txt
63 +}