1 |
commit: c2f8c3b29cf9d0e2ae943c99e6ed9b94edece991 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 11 04:42:17 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 11 04:52:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f8c3b2 |
7 |
|
8 |
dev-util/gdbus-codegen: Version bump to 2.68.3 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-util/gdbus-codegen/Manifest | 1 + |
13 |
dev-util/gdbus-codegen/gdbus-codegen-2.68.3.ebuild | 72 ++++++++++++++++++++++ |
14 |
2 files changed, 73 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest |
17 |
index 856206798d9..53c8a24bc55 100644 |
18 |
--- a/dev-util/gdbus-codegen/Manifest |
19 |
+++ b/dev-util/gdbus-codegen/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST glib-2.68.2.tar.xz 4944192 BLAKE2B d35489dcfe9d57d8bd6ecf4f893b7c8e93a5b8108765791071fc811598d1f41287e03d95f20591d50d51a78db34f11833cc7970b1bf29299385357a14977ba0b SHA512 74d481552629cab67d22f8a440a7263a4e4b83adb6f3b772d368e255c17321b206aafd3af4653e5efbb2c3c14ca67d35f453728cbc5cd68728275d0b56789019 |
22 |
+DIST glib-2.68.3.tar.xz 4945236 BLAKE2B 6086b7490f418cb98119ab25670766e3a84de81fd180dbc6e8f929d8f8ab748b0ae7ad6a85f5419ab3c00589c3afba95972d8b4541b310acdf6b6dc9b460a07d SHA512 fb120105c4cb582491a53a0e4c61fe4bdd1f94b279bb7c362afd591369ede50a196c706375564ededf3550d4062a285b038e20b605e6d5dfe36f5d208f4bad3f |
23 |
|
24 |
diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.68.3.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.68.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..f79468dd48c |
27 |
--- /dev/null |
28 |
+++ b/dev-util/gdbus-codegen/gdbus-codegen-2.68.3.ebuild |
29 |
@@ -0,0 +1,72 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+GNOME_ORG_MODULE="glib" |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+PYTHON_REQ_USE="xml" |
37 |
+DISTUTILS_SINGLE_IMPL=1 |
38 |
+DISTUTILS_USE_SETUPTOOLS=no |
39 |
+ |
40 |
+inherit gnome.org distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="GDBus code and documentation generator" |
43 |
+HOMEPAGE="https://www.gtk.org/" |
44 |
+ |
45 |
+LICENSE="LGPL-2+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
48 |
+ |
49 |
+RDEPEND="${PYTHON_DEPS}" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+BDEPEND=" |
52 |
+ dev-libs/libxslt |
53 |
+ app-text/docbook-xsl-stylesheets |
54 |
+" |
55 |
+ |
56 |
+S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" |
57 |
+ |
58 |
+python_prepare_all() { |
59 |
+ PATCHES=( |
60 |
+ "${FILESDIR}/${PN}-2.56.1-sitedir.patch" |
61 |
+ ) |
62 |
+ distutils-r1_python_prepare_all |
63 |
+ |
64 |
+ local MAJOR_VERSION=$(ver_cut 1) |
65 |
+ local MINOR_VERSION=$(ver_cut 2) |
66 |
+ sed -e 's:@PYTHON@:python:' gdbus-codegen.in > gdbus-codegen || die |
67 |
+ sed -e "s:@VERSION@:${PV}:" \ |
68 |
+ -e "s:@MAJOR_VERSION@:${MAJOR_VERSION}:" \ |
69 |
+ -e "s:@MINOR_VERSION@:${MINOR_VERSION}:" config.py.in > config.py || die |
70 |
+ cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed" |
71 |
+ sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed" |
72 |
+} |
73 |
+ |
74 |
+do_xsltproc_command() { |
75 |
+ # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/glib-utils) |
76 |
+ xsltproc \ |
77 |
+ --nonet \ |
78 |
+ --stringparam man.output.quietly 1 \ |
79 |
+ --stringparam funcsynopsis.style ansi \ |
80 |
+ --stringparam man.th.extra1.suppress 1 \ |
81 |
+ --stringparam man.authors.section.enabled 0 \ |
82 |
+ --stringparam man.copyright.section.enabled 0 \ |
83 |
+ -o "${2}" \ |
84 |
+ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \ |
85 |
+ "${1}" || die "manpage generation failed" |
86 |
+} |
87 |
+ |
88 |
+src_compile() { |
89 |
+ distutils-r1_src_compile |
90 |
+ do_xsltproc_command "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.xml" "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" |
91 |
+} |
92 |
+ |
93 |
+src_test() { |
94 |
+ einfo "Skipping tests. This package is tested by dev-libs/glib" |
95 |
+ einfo "when merged with FEATURES=test" |
96 |
+} |
97 |
+ |
98 |
+python_install_all() { |
99 |
+ distutils-r1_python_install_all # no-op, but prevents QA warning |
100 |
+ doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" |
101 |
+} |