diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-22 18:43:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-22 18:43:12 +0000 |
commit | 5d09fc9f5630bcabb50afc96e20ff662a0771440 (patch) | |
tree | e63c874a4e2b6316833ac048632bb64f88c10d5f /dev-util/gdbus-codegen | |
parent | 0db63353439ccde38447ea44cc8f16793d443f88 (diff) |
gentoo auto-resync : 22:03:2023 - 18:43:12
Diffstat (limited to 'dev-util/gdbus-codegen')
-rw-r--r-- | dev-util/gdbus-codegen/Manifest | 2 | ||||
-rw-r--r-- | dev-util/gdbus-codegen/gdbus-codegen-2.76.1.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest index 0b251879006a..8d0ac476c544 100644 --- a/dev-util/gdbus-codegen/Manifest +++ b/dev-util/gdbus-codegen/Manifest @@ -3,7 +3,9 @@ AUX setup.py-2.32.4 192 BLAKE2B 574320d89095d1452a3eee4404b5ebb19fbed32febf2a154 DIST glib-2.74.5.tar.xz 5211852 BLAKE2B 5bf0069cbf949a946357127682e4f687c7e7b8565037024a232b3e905e65bebb86d016832b6274f743005ec8fe5fcd31eaf99ccece82d9d7c3f924d17502c409 SHA512 2716e0fe984cc5d0714e91fe0de47ee71a8bd0b4c85caee337ddb7e02ac2fb3c8c007ccc1207b29cf901c30a7ec8e3bcca75d69c6fab2a32a8cf14bff974e614 DIST glib-2.74.6.tar.xz 5217312 BLAKE2B 07b0a5cb74c1451ba863d5f9a781a122d3d20af1f1227177025de114279277cacada3dd6ab5eb5ad5c0bff5ac7abab6fdfbe0551f44d07b2ddc9141a0640a8c8 SHA512 6b6d113012ec90f6cf77513ec0132668c49aa7224c806181ad662388701004667cdf6d263050d6f896b8688c085abf461aa3e659eb288e6ba93ba4970a2f181b DIST glib-2.76.0.tar.xz 5268620 BLAKE2B 74bfba6254787b6b386161c329899fe6a53c87290261866f8aceb6e23ebf0bcacd085b04f480a7297d6fc11d37a676fb2fad5661e9f2668ae81f872ff5e2054f SHA512 812834ca6d840dd9c15c0689685d8bd96f4acd69a89213f807a75732d1aa5efadbed0e0073f05a56a09beb2d4f0be1b83a4642259682aac84302632da2d62370 +DIST glib-2.76.1.tar.xz 5270936 BLAKE2B 6e6d15bda7ca6365d5f33e197cad41043f17c2f505997953e4f5222121571dabfa07ac88d0a1e298313021c63ef97e7560128c3f8ddf7f518afba98692555e81 SHA512 7ab8740925fa4ed2d860a35544c475ae905df5fa7fc0cc64ffa8c543df6073794e44c8ff39e3e1de1d677016ef9d27e9bc709d2505d13090faa8d6c47cd64bd0 EBUILD gdbus-codegen-2.74.5.ebuild 2197 BLAKE2B ac5f5eceed9ee2673b2d8145032615e44b0ccefe23b82abace8b5d54ef8c52d517ff5fd5d3dc4774d5870c54e1bb907d8af22ed1cc9913cdf4d96334853f5c9f SHA512 2632236a58cb71ece53bbecd61622c52ffc15a9fb6a683ab3be1ecd1f12ba8ac860f750b049a05552612a9f10b3006c8111032f607a9643340d2b9d74f448bed EBUILD gdbus-codegen-2.74.6.ebuild 2205 BLAKE2B a8dfe56fbb23209056025bbb0dc0be5f19e4cd256480e5f17d034ef7d7a408b27259dc32fbf13b959b5ce47339e5f34575131d06335e54248dfe76355ffb18b4 SHA512 a64faee8a9a579ba4706a3e817c9d6cd6d7c8538d592b1665dc47ce47552d47948d8fdccec293208fd40d6052f326fc59f2947ed2fdd75caa4510dba502b8074 EBUILD gdbus-codegen-2.76.0.ebuild 2205 BLAKE2B a8dfe56fbb23209056025bbb0dc0be5f19e4cd256480e5f17d034ef7d7a408b27259dc32fbf13b959b5ce47339e5f34575131d06335e54248dfe76355ffb18b4 SHA512 a64faee8a9a579ba4706a3e817c9d6cd6d7c8538d592b1665dc47ce47552d47948d8fdccec293208fd40d6052f326fc59f2947ed2fdd75caa4510dba502b8074 +EBUILD gdbus-codegen-2.76.1.ebuild 2205 BLAKE2B a8dfe56fbb23209056025bbb0dc0be5f19e4cd256480e5f17d034ef7d7a408b27259dc32fbf13b959b5ce47339e5f34575131d06335e54248dfe76355ffb18b4 SHA512 a64faee8a9a579ba4706a3e817c9d6cd6d7c8538d592b1665dc47ce47552d47948d8fdccec293208fd40d6052f326fc59f2947ed2fdd75caa4510dba502b8074 MISC metadata.xml 345 BLAKE2B 91a0526be5ce32d4aa4ea0827c78b2d2d45beae9a8d467916448a0a6b5459fd457e44ac900182654826328b34d37999bedb3ade42e80db92312e50f34d940014 SHA512 b11e427345fab56c77cb1f4f96473645b69054012e86840e2ca7dab221cf55041a1add1dfabce155274acf18488ac79de8149d405213daf39b807f679d4ac752 diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.76.1.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.76.1.ebuild new file mode 100644 index 000000000000..787dfc5d3dab --- /dev/null +++ b/dev-util/gdbus-codegen/gdbus-codegen-2.76.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +GNOME_ORG_MODULE="glib" +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="xml(+)" +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 + +inherit gnome.org distutils-r1 + +DESCRIPTION="GDBus code and documentation generator" +HOMEPAGE="https://www.gtk.org/" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/libxslt + app-text/docbook-xsl-stylesheets +" + +S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" + +python_prepare_all() { + PATCHES=( + "${FILESDIR}/${PN}-2.56.1-sitedir.patch" + ) + distutils-r1_python_prepare_all + + local MAJOR_VERSION=$(ver_cut 1) + local MINOR_VERSION=$(ver_cut 2) + sed -e 's:@PYTHON@:python:' gdbus-codegen.in > gdbus-codegen || die + sed -e "s:@VERSION@:${PV}:" \ + -e "s:@MAJOR_VERSION@:${MAJOR_VERSION}:" \ + -e "s:@MINOR_VERSION@:${MINOR_VERSION}:" config.py.in > config.py || die + cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed" + sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed" +} + +do_xsltproc_command() { + # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/glib-utils) + xsltproc \ + --nonet \ + --stringparam man.output.quietly 1 \ + --stringparam funcsynopsis.style ansi \ + --stringparam man.th.extra1.suppress 1 \ + --stringparam man.authors.section.enabled 0 \ + --stringparam man.copyright.section.enabled 0 \ + -o "${2}" \ + http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \ + "${1}" || die "manpage generation failed" +} + +src_compile() { + distutils-r1_src_compile + do_xsltproc_command "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.xml" "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" +} + +src_test() { + einfo "Skipping tests. This package is tested by dev-libs/glib" + einfo "when merged with FEATURES=test" +} + +python_install_all() { + distutils-r1_python_install_all # no-op, but prevents QA warning + doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" +} |