Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/sratom/
Date: Fri, 02 Oct 2020 08:45:31
Message-Id: 1601628322.3607d607b202eeeeefda7d42b96f86d646a97e16.fordfrog@gentoo
1 commit: 3607d607b202eeeeefda7d42b96f86d646a97e16
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 08:45:04 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 08:45:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3607d607
7
8 media-libs/sratom: bump to 0.6.6 + py3.9
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/sratom/Manifest | 1 +
14 media-libs/sratom/sratom-0.6.6.ebuild | 58 +++++++++++++++++++++++++++++++++++
15 2 files changed, 59 insertions(+)
16
17 diff --git a/media-libs/sratom/Manifest b/media-libs/sratom/Manifest
18 index f6cfcb04b06..dfb564b1e3d 100644
19 --- a/media-libs/sratom/Manifest
20 +++ b/media-libs/sratom/Manifest
21 @@ -1 +1,2 @@
22 DIST sratom-0.6.4.tar.bz2 339707 BLAKE2B acf29c7dd3c4e23bf20ef2811706abdd3543d0fc380183f7f419932c3178ff5e2f6d95c57bad2ef991dbc1e32c6e8a3645238c7b42dfd204942dbc4c05270652 SHA512 6462d8d33ed7ddaa2aea267fab14c9a15bfc077a4f8d26eb493be4c48c95d8dcec614f540bd82fe22aecca641771326a44d175c3991cd473ae371062c78aaac3
23 +DIST sratom-0.6.6.tar.bz2 347297 BLAKE2B 0cb1949486deb5e8f823b17c98fb415dc44b0cefece647b6c5b3646438736ee9c7afa617bb00a68d61a31c80f6e643758f48602f647655aa4b185b2cc5fff893 SHA512 ccc209af68a39c1a669ba694d250b292df2f588aeea2a9d1dfe54a23e31f032fcce1d99ebf9dd7cff80ce5aedd204c74e3ccc04d6cd239921cd3e443db83ed55
24
25 diff --git a/media-libs/sratom/sratom-0.6.6.ebuild b/media-libs/sratom/sratom-0.6.6.ebuild
26 new file mode 100644
27 index 00000000000..bce3d15203f
28 --- /dev/null
29 +++ b/media-libs/sratom/sratom-0.6.6.ebuild
30 @@ -0,0 +1,58 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
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 serialising LV2 atoms to/from RDF, particularly the Turtle syntax"
41 +HOMEPAGE="http://drobilla.net/software/sratom/"
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 +RDEPEND="
51 + dev-libs/serd
52 + dev-libs/sord
53 + media-libs/lv2
54 +"
55 +DEPEND="${RDEPEND}
56 + ${PYTHON_DEPS}
57 + doc? ( app-doc/doxygen )
58 + virtual/pkgconfig"
59 +
60 +DOCS=( "NEWS" "README.md" )
61 +
62 +src_prepare() {
63 + sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
64 + default
65 + multilib_copy_sources
66 +}
67 +
68 +multilib_src_configure() {
69 + waf-utils_src_configure \
70 + --docdir=/usr/share/doc/${PF} \
71 + $(multilib_native_usex doc --docs "") \
72 + $(usex test --test "") \
73 + $(usex static-libs --static "")
74 +}
75 +
76 +multilib_src_test() {
77 + ./waf test || die
78 +}
79 +
80 +multilib_src_compile() {
81 + waf-utils_src_compile
82 + default
83 +}
84 +
85 +multilib_src_install() {
86 + waf-utils_src_install
87 + default
88 +}