Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxmlb/
Date: Fri, 27 Sep 2019 17:51:25
Message-Id: 1569606673.740f723602e063d915b2ccf9b2c7e4dbb8108bbf.whissi@gentoo
1 commit: 740f723602e063d915b2ccf9b2c7e4dbb8108bbf
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 27 15:54:31 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 27 17:51:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740f7236
7
8 dev-libs/libxmlb: bump to v0.1.12
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-libs/libxmlb/Manifest | 1 +
14 dev-libs/libxmlb/libxmlb-0.1.12.ebuild | 56 ++++++++++++++++++++++++++++++++++
15 2 files changed, 57 insertions(+)
16
17 diff --git a/dev-libs/libxmlb/Manifest b/dev-libs/libxmlb/Manifest
18 index fa97a1acd2d..1857b33ecd3 100644
19 --- a/dev-libs/libxmlb/Manifest
20 +++ b/dev-libs/libxmlb/Manifest
21 @@ -1,3 +1,4 @@
22 DIST libxmlb-0.1.10.tar.gz 86237 BLAKE2B 042898be9ff8bb6b253ce7194e774bf6a1d8f08316ba54647b3667b1969c035364c3ef25d179fab20cbf9ca83bbd7e4d6012ec1adf08849fe99e40ab9a294983 SHA512 81f5edf776241580c0e47f43f9b15ecbc695022007cf90070f95ca190f2a270f15a856a89246c772f52e93b8eed88d228c5f426cd4dc84e8e6fdf2556b8714b3
23 DIST libxmlb-0.1.11.tar.gz 88848 BLAKE2B b8ae448f8ead51c884304c190c2b5535f864eb410f45adc4c1f548d6aedcba944b6e0418fbc781e2561e18b392f3a77df8512f6d3ec5e0831513a2dac520409d SHA512 734082c4c15d8b02eb3e526b59fb6be8a7a61758a059792fca567c9a647df0597561fb6967903fb44d566ccd6e8e6d99286d0cae495b9d8ec12a3cd257c24a16
24 +DIST libxmlb-0.1.12.tar.gz 91256 BLAKE2B b063bed9d7794b300ec40622c7fd0caac974b7f1be57b08ccb1864587b7bf47f892a39d1f4f0df226d3fe7ca03ffcec471a4f28afb8e64ae841d6898a337b60f SHA512 aebd9f41421bb0d78954038b3221bed879d296ec2d3061e7e7747980974e01081e51ea36d4e94545af5006b3dc4714d535aeea1943e42a7f1661ba1177979b31
25 DIST libxmlb-0.1.8.tar.gz 85945 BLAKE2B 4d17aaf4e5ed3001a4db24e7ca220cba3fc14ee446b127b65b545fab997c7c31835b57b0dd9d23da74200d774e3986558e7618789f42d1e95c0734fa5bb6e098 SHA512 4109f171da4622429d18afdb9ae183a64f89e0b92df285efae5736017970f877a92391876969c20894184c6d5df96390ccd46be1d1087882a5461476c39e433a
26
27 diff --git a/dev-libs/libxmlb/libxmlb-0.1.12.ebuild b/dev-libs/libxmlb/libxmlb-0.1.12.ebuild
28 new file mode 100644
29 index 00000000000..51a1b304f84
30 --- /dev/null
31 +++ b/dev-libs/libxmlb/libxmlb-0.1.12.ebuild
32 @@ -0,0 +1,56 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
39 +
40 +inherit meson python-any-r1
41 +
42 +DESCRIPTION="Library to help create and query binary XML blobs"
43 +HOMEPAGE="https://github.com/hughsie/libxmlb"
44 +SRC_URI="https://github.com/hughsie/libxmlb/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 +LICENSE="LGPL-2.1+"
46 +SLOT="0"
47 +
48 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
49 +IUSE="doc introspection stemmer test"
50 +
51 +RDEPEND="
52 + dev-libs/glib:2
53 + sys-apps/util-linux
54 + stemmer? ( dev-libs/snowball-stemmer )
55 +"
56 +
57 +DEPEND="
58 + ${RDEPEND}
59 + doc? ( dev-util/gtk-doc )
60 + introspection? ( dev-libs/gobject-introspection )
61 +"
62 +
63 +BDEPEND="
64 + >=dev-util/meson-0.47.0
65 + virtual/pkgconfig
66 + introspection? (
67 + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
68 + ${PYTHON_DEPS}
69 + )
70 +"
71 +
72 +python_check_deps() {
73 + has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
74 +}
75 +
76 +pkg_setup() {
77 + use introspection && python-any-r1_pkg_setup
78 +}
79 +
80 +src_configure() {
81 + local emesonargs=(
82 + -Dgtkdoc="$(usex doc true false)"
83 + -Dintrospection="$(usex introspection true false)"
84 + -Dstemmer="$(usex stemmer true false)"
85 + -Dtests="$(usex test true false)"
86 + )
87 + meson_src_configure
88 +}