[gentoo-commits] repo/gentoo:master commit in: dev-util/gdbus-codegen/, profiles/

2023-08-16 Thread Matt Turner
commit: d726da2ab16d0566c3033094c5ac4e7b16626e22
Author: Guillermo Joandet  gmail  com>
AuthorDate: Fri Aug 11 15:36:17 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Aug 16 15:06:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d726da2a

dev-util/gdbus-codegen: Version bump to 2.77.1

Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 dev-util/gdbus-codegen/Manifest|  1 +
 dev-util/gdbus-codegen/gdbus-codegen-2.77.1.ebuild | 74 ++
 profiles/package.mask  |  1 +
 3 files changed, 76 insertions(+)

diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest
index df27d830a79d..50912475cf45 100644
--- a/dev-util/gdbus-codegen/Manifest
+++ b/dev-util/gdbus-codegen/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.76.2.tar.xz 5273836 BLAKE2B 
db5d5e45fe4a17bade7f5bf923ac0e5541237d19146ede33b4d52f05b82e4ecb94519393f49ac3b04e17d0f56bfd5dd99b8e81ae80956cfdb5cb2396cd5ec8cc
 SHA512 
5a99723d72ae987999bdf3eac4f3cabe2e014616038f2006e84060b97d6d290b7d44a20d700e9c0f4572a6defed56169f624bcd21b0337f32832b311aa2737e6
 DIST glib-2.76.3.tar.xz 5273460 BLAKE2B 
894635281d1a3eb60d274b8db91cd59069b6d0abe61295175c794ad44e8669d869009fac44c7d6f416a93adcea5b9aeb90b944047d013fa1f2d9b1a8ded3de1e
 SHA512 
291b8913918d411b679442b888f56893a857a77decfe428086c8bd1da1949498938ddb0bf254ed99d192e4a09b5e8cee1905fd6932ee642463fb229cac7c226e
 DIST glib-2.76.4.tar.xz 5274356 BLAKE2B 
c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc
 SHA512 
f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7
+DIST glib-2.77.1.tar.xz 5305568 BLAKE2B 
bca94b2884e4d4ef3246a398c785a83d814986ca5dc49dbbfed471b0303b2ef1aaa194728b580cc12155a0791b75d217e978ca6b9eb7b7ee5314799b7570059f
 SHA512 
0f32eb7dcc652a727331226324225864212e14d0b1adac4493eb92f34c562cabd50cf8a602dae1b877e7adb73e038d2cc1e8d641e71eab77497990af4afb4906

diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.77.1.ebuild 
b/dev-util/gdbus-codegen/gdbus-codegen-2.77.1.ebuild
new file mode 100644
index ..3595e34fd897
--- /dev/null
+++ b/dev-util/gdbus-codegen/gdbus-codegen-2.77.1.ebuild
@@ -0,0 +1,74 @@
+# 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_{10..12} )
+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"
+}

diff --git a/profiles/package.mask 

[gentoo-commits] repo/gentoo:master commit in: dev-util/gdbus-codegen/, profiles/

2021-09-13 Thread Mart Raudsepp
commit: fa795b7d1cebadc7040314e2b4d962a3e6c03003
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Mon Sep 13 21:27:16 2021 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Mon Sep 13 21:49:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa795b7d

dev-util/gdbus-codegen: bump to 2.69.3

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-util/gdbus-codegen/Manifest|  1 +
 dev-util/gdbus-codegen/gdbus-codegen-2.69.3.ebuild | 72 ++
 profiles/package.mask  |  4 ++
 3 files changed, 77 insertions(+)

diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest
index 496c5f6be09..6e4a8886a2c 100644
--- a/dev-util/gdbus-codegen/Manifest
+++ b/dev-util/gdbus-codegen/Manifest
@@ -1,3 +1,4 @@
 DIST glib-2.68.2.tar.xz 4944192 BLAKE2B 
d35489dcfe9d57d8bd6ecf4f893b7c8e93a5b8108765791071fc811598d1f41287e03d95f20591d50d51a78db34f11833cc7970b1bf29299385357a14977ba0b
 SHA512 
74d481552629cab67d22f8a440a7263a4e4b83adb6f3b772d368e255c17321b206aafd3af4653e5efbb2c3c14ca67d35f453728cbc5cd68728275d0b56789019
 DIST glib-2.68.3.tar.xz 4945236 BLAKE2B 
6086b7490f418cb98119ab25670766e3a84de81fd180dbc6e8f929d8f8ab748b0ae7ad6a85f5419ab3c00589c3afba95972d8b4541b310acdf6b6dc9b460a07d
 SHA512 
fb120105c4cb582491a53a0e4c61fe4bdd1f94b279bb7c362afd591369ede50a196c706375564ededf3550d4062a285b038e20b605e6d5dfe36f5d208f4bad3f
 DIST glib-2.68.4.tar.xz 4945212 BLAKE2B 
2135e2bea778714494b9f3ef140f20639f95dd347c9025e5663ca8f493092cd2723aba6520bb4f85687491794353685eccacc4dd34339962e5cb717e6130c025
 SHA512 
be17d79b41d17fd2b144184d6e793180667b7d9ba299215ea6d4948b4c05f6d888b4868c48643e25935a34ee2f85ee1d03e53325151b7a61819437cbd3c84b10
+DIST glib-2.69.3.tar.xz 4806532 BLAKE2B 
379d41f8d29fe86e53e1def5d5574b3c556c5e2fb94aa4264f8380acc5745e0a3166cf121243187250cfc89f71e1a469ed57c511019bacbeaf71d56277d1426d
 SHA512 
45ab633ea63b8ca947df4e591ac92fcdad3124a4ad11c5a47ef0d829573f664ff671ca413ea644e76ec97ca757ff305d8493cac7ad1293720a538f00caa3da8e

diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.69.3.ebuild 
b/dev-util/gdbus-codegen/gdbus-codegen-2.69.3.ebuild
new file mode 100644
index 000..acef6bad764
--- /dev/null
+++ b/dev-util/gdbus-codegen/gdbus-codegen-2.69.3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GNOME_ORG_MODULE="glib"
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="xml"
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_SETUPTOOLS=no
+
+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 ~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"
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index 60c9b241092..7e3a64bd244 

[gentoo-commits] repo/gentoo:master commit in: dev-util/gdbus-codegen/, profiles/

2016-09-19 Thread Remi Cardona
commit: f1933397b361e3aa3e1b4e736c15810a57950c8e
Author: RĂ©mi Cardona  gentoo  org>
AuthorDate: Mon Sep 19 21:53:57 2016 +
Commit: Remi Cardona  gentoo  org>
CommitDate: Mon Sep 19 21:56:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1933397

dev-util/gdbus-codegen: bump to 2.50.0

Package-Manager: portage-2.3.0

 dev-util/gdbus-codegen/Manifest|  1 +
 dev-util/gdbus-codegen/gdbus-codegen-2.50.0.ebuild | 47 ++
 profiles/package.mask  |  4 ++
 3 files changed, 52 insertions(+)

diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest
index e757369..29a1d79 100644
--- a/dev-util/gdbus-codegen/Manifest
+++ b/dev-util/gdbus-codegen/Manifest
@@ -3,3 +3,4 @@ DIST glib-2.46.2.tar.xz 7344636 SHA256 
5031722e37036719c1a09163cc6cf7c326e4c4f1f
 DIST glib-2.48.0.tar.xz 7487800 SHA256 
744be6931ca914c68af98dc38ff6b0cf8381d65e335060faddfbf04c17147c34 SHA512 
684544bc594d9f6c905495d895daed40b074bcf5fa835aefb9a1034afc9564b2bd464e68d4c378c210e96918ef5d5202350da53a7104794420e990049ddbebf5
 WHIRLPOOL 
39ddd7fd17ecc2100f2156165210d2cf68ae13724b252e42705bc89d0c4145cddca3a30f9e3bf9b6a2971cbffe0e108d2acae1200c8fe6d9db91b4b3953c4950
 DIST glib-2.48.1.tar.xz 7441032 SHA256 
74411bff489cb2a3527bac743a51018841a56a4d896cc1e0d0d54f8166a14612 SHA512 
5bbea7d07ba6d75c35c6be8f1ebc685aa2549bd20030741b2d6e2c30e9b2d476c2afa50a974bbdad98c305666c8b04357b51619c97fe50d3e9965700088aad9b
 WHIRLPOOL 
2f08854815fee79b6246accedb62a714845b7f0bc67bcd6cde48aa0147a957e6c9cbbc424100d651ee5573f31a3db89ee1935e3ffdc97c5bf1d5711a85545eb2
 DIST glib-2.48.2.tar.xz 6408644 SHA256 
f25e751589cb1a58826eac24fbd4186cda4518af772806b666a3f91f66e6d3f4 SHA512 
2eac104eb2207d0a6488992e48069a34b417f51e141364f281ab7b0953a6de88be177b1c694dd9464a856c9a5d8021e3cf0193a8d9c5aaf6ea11f1f9ff743c43
 WHIRLPOOL 
cba211000d5597e93d01113e5f2b6736e47f4daa00935a53af182b3304fef9a1ac25f78995c7a53cc1234261433a1bbd1ec751c87b556845a15da720af5b971b
+DIST glib-2.50.0.tar.xz 7513808 SHA256 
830b551fa626bda06e12729205b3c5bb0d82b924a8cf64d948945878f01b7d70 SHA512 
ad711cac11bb4e3a2c5cfa315f67ea252f2f91249bb00daf708653ad50895f0ebe874d491e6052b67c8e13bd153910105358964d0b7f86463b512a3ee2967b3c
 WHIRLPOOL 
a7a0010b8949744b2410a5ea47b7975e960246294c6947d4804dc504c0509aefa0fb883e20f889d08a238c39ab1e2626e2d71bc5947f9bebfefe42bf1d00d61e

diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.50.0.ebuild 
b/dev-util/gdbus-codegen/gdbus-codegen-2.50.0.ebuild
new file mode 100644
index ..1eb5533
--- /dev/null
+++ b/dev-util/gdbus-codegen/gdbus-codegen-2.50.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GNOME_ORG_MODULE="glib"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE="xml"
+
+inherit eutils gnome.org distutils-r1
+
+DESCRIPTION="GDBus code and documentation generator"
+HOMEPAGE="http://www.gtk.org/;
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux 
~x86-linux ~x64-macos ~x86-macos"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+# To prevent circular dependencies with glib[test]
+PDEPEND=">=dev-libs/glib-${PV}:2"
+
+S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen"
+
+python_prepare_all() {
+   PATCHES=(
+   "${FILESDIR}/${PN}-2.40.0-sitedir.patch"
+   )
+   distutils-r1_python_prepare_all
+
+   sed -e 's:#!@PYTHON@:#!/usr/bin/env python:' gdbus-codegen.in > 
gdbus-codegen || 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"
+}
+
+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"
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index 4aebbff..2030e5c 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -30,6 +30,10 @@
 
 #--- END OF EXAMPLES ---
 
+# Gnome Team  (19 sep 2016)
+# Gnome 3.22 mask
+>=dev-util/gdbus-codegen-2.50.0
+
 # David Seifert  (18 Sep 2016)
 # Masked for failing to build with GCC 6, still using ancient
 # distutils.eclass, tightly coupled to dev-libs/xqilla-2.2*.