Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/serd/
Date: Fri, 08 Jan 2021 12:23:16
Message-Id: 1610108586.75dedec53792d6359c9334ead30beee7bebaa613.fordfrog@gentoo
1 commit: 75dedec53792d6359c9334ead30beee7bebaa613
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 8 12:22:45 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 8 12:23:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75dedec5
7
8 dev-libs/serd: bump to 0.30.8
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 dev-libs/serd/Manifest | 1 +
14 dev-libs/serd/serd-0.30.8.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 56 insertions(+)
16
17 diff --git a/dev-libs/serd/Manifest b/dev-libs/serd/Manifest
18 index 821791aa2da..1954e0f3617 100644
19 --- a/dev-libs/serd/Manifest
20 +++ b/dev-libs/serd/Manifest
21 @@ -1 +1,2 @@
22 DIST serd-0.30.6.tar.bz2 609365 BLAKE2B 35a86847642ffe806797ae8dbcd292ce26f08135edfa3b1fd39652f8964c35d73dba8f8627f32dcff399e9cddc332e5484f14a80580a32d52d93977cd9b42912 SHA512 db08d6c67d8627728679d0ed3770b8219a58f3eef82194ef8ba5682d3ff1f1033e2bbc8d6a1115a3fe0e32990f635c707a81ad8b4f457153fa78ff5991c9c30f
23 +DIST serd-0.30.8.tar.bz2 590817 BLAKE2B 31a485fccfb13e54e124cde0626ad16f3cc7f9c1f8d8c051ace7a98bd2bd5d6a2d159943f15f5734e028a31ce5eeea9d602f55bf6cf1277d532ae799e0c1895f SHA512 d12c4dea1a15b2aed9fb9d640affae23a4fbfb53b7f873af30b462ce96f3c22ee464f5b111f87a221e6ac51f4885c23bba023892331ab10d0a8aa0e27fcbd0fa
24
25 diff --git a/dev-libs/serd/serd-0.30.8.ebuild b/dev-libs/serd/serd-0.30.8.ebuild
26 new file mode 100644
27 index 00000000000..904e3cb7730
28 --- /dev/null
29 +++ b/dev-libs/serd/serd-0.30.8.ebuild
30 @@ -0,0 +1,55 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6,7,8,9} )
37 +PYTHON_REQ_USE='threads(+)'
38 +inherit python-any-r1 waf-utils multilib-build multilib-minimal
39 +
40 +DESCRIPTION="Library for RDF syntax which supports reading and writing Turtle and NTriples"
41 +HOMEPAGE="http://drobilla.net/software/serd/"
42 +SRC_URI="http://download.drobilla.net/${P}.tar.bz2"
43 +
44 +LICENSE="ISC"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
47 +IUSE="doc static-libs test"
48 +RESTRICT="!test? ( test )"
49 +
50 +BDEPEND="
51 + doc? ( app-doc/doxygen )
52 +"
53 +RDEPEND=""
54 +DEPEND="${RDEPEND}
55 + ${PYTHON_DEPS}
56 +"
57 +DOCS=( "AUTHORS" "NEWS" "README.md" )
58 +
59 +src_prepare() {
60 + sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
61 + default
62 + multilib_copy_sources
63 +}
64 +
65 +multilib_src_configure() {
66 + waf-utils_src_configure \
67 + --docdir=/usr/share/doc/${PF} \
68 + $(multilib_native_usex doc --docs "") \
69 + $(usex test --test "") \
70 + $(usex static-libs --static "")
71 +}
72 +
73 +multilib_src_test() {
74 + ./waf test || die
75 +}
76 +
77 +multilib_src_compile() {
78 + waf-utils_src_compile
79 + default
80 +}
81 +
82 +multilib_src_install() {
83 + waf-utils_src_install
84 + default
85 +}