summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSobhan Mohammadpour <sobhan@gentoo.org>2017-12-14 17:37:01 +0330
committerSobhan Mohammadpour <sobhan@gentoo.org>2017-12-14 17:37:01 +0330
commitf19cc3dfa93e79fb08f61c3e6577fc3b6fb0659b (patch)
tree01d86b7d75e2265a854f318caecb4496e5cebaf3 /dev-util
parentgnome-base/nautilus: Bump to 3.26.2 (diff)
downloadgnome-f19cc3dfa93e79fb08f61c3e6577fc3b6fb0659b.tar.gz
gnome-f19cc3dfa93e79fb08f61c3e6577fc3b6fb0659b.tar.bz2
gnome-f19cc3dfa93e79fb08f61c3e6577fc3b6fb0659b.zip
dev-util/gdbus-codegen: version bumpt to 2.54.2
Package-Manager: Portage-2.3.18, Repoman-2.3.6 Manifest-Sign-Key: 0x7DF238CF0AA182E1
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/gdbus-codegen/Manifest19
-rw-r--r--dev-util/gdbus-codegen/files/gdbus-codegen-2.54.2-sitedir.patch35
-rw-r--r--dev-util/gdbus-codegen/gdbus-codegen-2.54.2.ebuild46
3 files changed, 97 insertions, 3 deletions
diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest
index 97428f96..1473ecc9 100644
--- a/dev-util/gdbus-codegen/Manifest
+++ b/dev-util/gdbus-codegen/Manifest
@@ -2,10 +2,23 @@
Hash: SHA256
DIST glib-2.46.0.tar.xz 7188812 SHA256 b1cee83469ae7d80f17c267c37f090414e93960bd62d2b254a5a96fbc5baacb4 SHA512 70c86c6e9ee08c5cb807a511c736264fb99df3c4c5b6a885b77948d8b62a6f6318218589338a1af19143e6aded76c11ec2b2cc290f33626821052508a86b41b1 WHIRLPOOL 954568652819786ae39e89dcdfcca41ad93c2f9cb431c6d81f54986e803e80dd78c0c214a1eae082214204ae52e0cfd35499a53f4266ea01918e7f1ab0285dfd
+DIST glib-2.54.2.tar.xz 7830724 SHA256 bb89e5c5aad33169a8c7f28b45671c7899c12f74caf707737f784d7102758e6c SHA512 09ee6fa3a6f3f15af229bd789bef536e3570f36d1e4ce624a57e97c4040577f6baccd6ab5746257863ccf7173b558cfa753951d562a278f854e52604104ba7ee WHIRLPOOL 8fd0253aca9e1d10ddd11771d80b60d5cc4c6cd4985af9e09784bff51d1255faa287dbad87a5fdcac32a8b7e2e0d30c18266081974edfdb2f4694925b166e188
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlYAfFcACgkQfUU/I5AasIqboACggq/8fTbS5sxayNtLu5MJZipb
-ivEAmgLOEyBeH5CpQhqH03aJEIBe71S2
-=+W0I
+iQKTBAEBCAB9FiEEhjiDzgE0H6m8d3Z/4FucaN0bWf0FAloyhYVfFIAAAAAALgAo
+aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDg2
+Mzg4M0NFMDEzNDFGQTlCQzc3NzY3RkUwNUI5QzY4REQxQjU5RkQACgkQ4FucaN0b
+Wf374xAAkHOdibdfsaeomGNRsAmi9flT8PvyLY1J1kIqjJ/gAuOwozfBacS1VgL2
+YBAYYj/r/a68vOcqpPqn1ZZXzd8xXqyFLE5Dn4tnAeGk7paspRT01PZiB7ctMn88
+iKLHgMFyCgC/OxXZuOc0Qj1GPkClUbhgyjG5enXKLRPN9AFi16vDTuntTrwdGecW
+VZ0vx0kYMO7KGePYwLfHWy+E25IAqBBTBkD9Cq/PEAbc8MxACsrx/6U+OSovp4zB
+WMbXZ5224I4YBXBMSij0uvm6KzAJgszqXJ/P49SGPYjYSIrKO3u0LZfcKyDuSeIv
+3Ktnc6wPjJ/Gmp0s1sA36eyuqeu/lOI/YkYtcp/GOnHqyrX+hO12VjniGtWLOnKW
+KXZyaOfjVTafnAb9T3n/WjHrqowIf7SOe3vLMS00nx6PaTA1eR3v7x8Scf+BVmdt
+amkrJoxUXefRsYiza+9YWz18+mCfutO7d0t701C0a7PB7sulKHhBO6OiPyuqIuqu
+9em2XQdmPSyivphruDVZduLDFramVbZITqjeloREgn3igMSDKBc+ZfKLFlE4ShG0
+AujOBCrmKwr2V9K3LSj9/e6DJnwwpLUPse7al/LnL4h5MxFxy2+vWxnzYtmlfhse
+/ReuyESa/uX1oPU6U9NUM94Z1J4Mrmf0CuogLO8KPE66BBNquqE=
+=ykV1
-----END PGP SIGNATURE-----
diff --git a/dev-util/gdbus-codegen/files/gdbus-codegen-2.54.2-sitedir.patch b/dev-util/gdbus-codegen/files/gdbus-codegen-2.54.2-sitedir.patch
new file mode 100644
index 00000000..de90afc3
--- /dev/null
+++ b/dev-util/gdbus-codegen/files/gdbus-codegen-2.54.2-sitedir.patch
@@ -0,0 +1,35 @@
+From f2f8ccb15cc6288455f4780d016789aa2e023d6d Mon Sep 17 00:00:00 2001
+From: Sobhan Mohammadpour <mohammadpour.sobhan@gmail.com>
+Date: Thu, 14 Dec 2017 17:10:50 +0330
+Subject: [PATCH] glib-2.54.2 external gdbus codegen
+
+based on gdbus-codegen-2.40.0-sitedir.patch
+---
+ gio/gdbus-2.0/codegen/gdbus-codegen.in | 11 +----------
+ 1 file changed, 1 insertion(+), 10 deletions(-)
+
+diff --git a/gio/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in
+index 8050981..c097702 100644
+--- a/gio/gdbus-2.0/codegen/gdbus-codegen.in
++++ b/gio/gdbus-2.0/codegen/gdbus-codegen.in
+@@ -28,16 +28,7 @@ filedir = os.path.dirname(__file__)
+
+ if srcdir is not None:
+ path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
+-elif os.path.basename(filedir) == 'bin':
+- # Make the prefix containing gdbus-codegen 'relocatable' at runtime by
+- # adding /some/prefix/bin/../share/glib-2.0 to the python path
+- path = os.path.join(filedir, '..', 'share', 'glib-2.0')
+ else:
+- # Assume that the modules we need are in the current directory and add the
+- # parent directory to the python path.
+- path = os.path.join(filedir, '..')
+-
+-sys.path.insert(0, os.path.abspath(path))
+-from codegen import codegen_main
++ from gdbus_codegen import codegen_main
+
+ sys.exit(codegen_main.codegen_main())
+--
+2.15.1
+
diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.54.2.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.54.2.ebuild
new file mode 100644
index 00000000..52e4ec78
--- /dev/null
+++ b/dev-util/gdbus-codegen/gdbus-codegen-2.54.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+GNOME_ORG_MODULE="glib"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="xml"
+
+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 ~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.54.2-sitedir.patch"
+ )
+ distutils-r1_python_prepare_all
+
+ sed -e 's:@PYTHON@: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"
+}