Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gdbus-codegen/, profiles/
Date: Mon, 13 Sep 2021 21:49:48
Message-Id: 1631569745.fa795b7d1cebadc7040314e2b4d962a3e6c03003.leio@gentoo
1 commit: fa795b7d1cebadc7040314e2b4d962a3e6c03003
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 13 21:27:16 2021 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 13 21:49:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa795b7d
7
8 dev-util/gdbus-codegen: bump to 2.69.3
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-util/gdbus-codegen/Manifest | 1 +
14 dev-util/gdbus-codegen/gdbus-codegen-2.69.3.ebuild | 72 ++++++++++++++++++++++
15 profiles/package.mask | 4 ++
16 3 files changed, 77 insertions(+)
17
18 diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest
19 index 496c5f6be09..6e4a8886a2c 100644
20 --- a/dev-util/gdbus-codegen/Manifest
21 +++ b/dev-util/gdbus-codegen/Manifest
22 @@ -1,3 +1,4 @@
23 DIST glib-2.68.2.tar.xz 4944192 BLAKE2B d35489dcfe9d57d8bd6ecf4f893b7c8e93a5b8108765791071fc811598d1f41287e03d95f20591d50d51a78db34f11833cc7970b1bf29299385357a14977ba0b SHA512 74d481552629cab67d22f8a440a7263a4e4b83adb6f3b772d368e255c17321b206aafd3af4653e5efbb2c3c14ca67d35f453728cbc5cd68728275d0b56789019
24 DIST glib-2.68.3.tar.xz 4945236 BLAKE2B 6086b7490f418cb98119ab25670766e3a84de81fd180dbc6e8f929d8f8ab748b0ae7ad6a85f5419ab3c00589c3afba95972d8b4541b310acdf6b6dc9b460a07d SHA512 fb120105c4cb582491a53a0e4c61fe4bdd1f94b279bb7c362afd591369ede50a196c706375564ededf3550d4062a285b038e20b605e6d5dfe36f5d208f4bad3f
25 DIST glib-2.68.4.tar.xz 4945212 BLAKE2B 2135e2bea778714494b9f3ef140f20639f95dd347c9025e5663ca8f493092cd2723aba6520bb4f85687491794353685eccacc4dd34339962e5cb717e6130c025 SHA512 be17d79b41d17fd2b144184d6e793180667b7d9ba299215ea6d4948b4c05f6d888b4868c48643e25935a34ee2f85ee1d03e53325151b7a61819437cbd3c84b10
26 +DIST glib-2.69.3.tar.xz 4806532 BLAKE2B 379d41f8d29fe86e53e1def5d5574b3c556c5e2fb94aa4264f8380acc5745e0a3166cf121243187250cfc89f71e1a469ed57c511019bacbeaf71d56277d1426d SHA512 45ab633ea63b8ca947df4e591ac92fcdad3124a4ad11c5a47ef0d829573f664ff671ca413ea644e76ec97ca757ff305d8493cac7ad1293720a538f00caa3da8e
27
28 diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.69.3.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.69.3.ebuild
29 new file mode 100644
30 index 00000000000..acef6bad764
31 --- /dev/null
32 +++ b/dev-util/gdbus-codegen/gdbus-codegen-2.69.3.ebuild
33 @@ -0,0 +1,72 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +GNOME_ORG_MODULE="glib"
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +PYTHON_REQ_USE="xml"
41 +DISTUTILS_SINGLE_IMPL=1
42 +DISTUTILS_USE_SETUPTOOLS=no
43 +
44 +inherit gnome.org distutils-r1
45 +
46 +DESCRIPTION="GDBus code and documentation generator"
47 +HOMEPAGE="https://www.gtk.org/"
48 +
49 +LICENSE="LGPL-2+"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
52 +
53 +RDEPEND="${PYTHON_DEPS}"
54 +DEPEND="${RDEPEND}"
55 +BDEPEND="
56 + dev-libs/libxslt
57 + app-text/docbook-xsl-stylesheets
58 +"
59 +
60 +S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen"
61 +
62 +python_prepare_all() {
63 + PATCHES=(
64 + "${FILESDIR}/${PN}-2.56.1-sitedir.patch"
65 + )
66 + distutils-r1_python_prepare_all
67 +
68 + local MAJOR_VERSION=$(ver_cut 1)
69 + local MINOR_VERSION=$(ver_cut 2)
70 + sed -e 's:@PYTHON@:python:' gdbus-codegen.in > gdbus-codegen || die
71 + sed -e "s:@VERSION@:${PV}:" \
72 + -e "s:@MAJOR_VERSION@:${MAJOR_VERSION}:" \
73 + -e "s:@MINOR_VERSION@:${MINOR_VERSION}:" config.py.in > config.py || die
74 + cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed"
75 + sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed"
76 +}
77 +
78 +do_xsltproc_command() {
79 + # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/glib-utils)
80 + xsltproc \
81 + --nonet \
82 + --stringparam man.output.quietly 1 \
83 + --stringparam funcsynopsis.style ansi \
84 + --stringparam man.th.extra1.suppress 1 \
85 + --stringparam man.authors.section.enabled 0 \
86 + --stringparam man.copyright.section.enabled 0 \
87 + -o "${2}" \
88 + http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
89 + "${1}" || die "manpage generation failed"
90 +}
91 +
92 +src_compile() {
93 + distutils-r1_src_compile
94 + do_xsltproc_command "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.xml" "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1"
95 +}
96 +
97 +src_test() {
98 + einfo "Skipping tests. This package is tested by dev-libs/glib"
99 + einfo "when merged with FEATURES=test"
100 +}
101 +
102 +python_install_all() {
103 + distutils-r1_python_install_all # no-op, but prevents QA warning
104 + doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1"
105 +}
106
107 diff --git a/profiles/package.mask b/profiles/package.mask
108 index 60c9b241092..7e3a64bd244 100644
109 --- a/profiles/package.mask
110 +++ b/profiles/package.mask
111 @@ -32,6 +32,10 @@
112
113 #--- END OF EXAMPLES ---
114
115 +# Gnome Team <gnome@g.o> (13 Sep 2021)
116 +# GNOME 41 mask, bug #812986
117 +>=dev-util/gdbus-codegen-2.69
118 +
119 # Ionen Wolkens <ionen@g.o> (2021-09-12)
120 # No reverse dependencies, stuck on EAPI-5.
121 # Replaced by dev-libs/spsdeclib.