diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/gdbus-codegen |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/gdbus-codegen')
-rw-r--r-- | dev-util/gdbus-codegen/Manifest | 9 | ||||
-rw-r--r-- | dev-util/gdbus-codegen/files/gdbus-codegen-2.40.0-sitedir.patch | 31 | ||||
-rw-r--r-- | dev-util/gdbus-codegen/files/setup.py-2.32.4 | 6 | ||||
-rw-r--r-- | dev-util/gdbus-codegen/gdbus-codegen-2.50.3.ebuild | 46 | ||||
-rw-r--r-- | dev-util/gdbus-codegen/gdbus-codegen-2.52.3.ebuild | 46 | ||||
-rw-r--r-- | dev-util/gdbus-codegen/metadata.xml | 8 |
6 files changed, 146 insertions, 0 deletions
diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest new file mode 100644 index 000000000000..7b0aaf2930cd --- /dev/null +++ b/dev-util/gdbus-codegen/Manifest @@ -0,0 +1,9 @@ +AUX gdbus-codegen-2.40.0-sitedir.patch 1086 SHA256 a77c2cb1c2fcda471583e07c0af5478a0ba856ce19ce1fbf6ab107885fc85d40 SHA512 e860da78f31cb61896c450b4728cfc1d8eb57f0c06c9440fa4c3d4344429e41b12531b59e6ad6c8cb4ff146f9f63ddd9ed0e6b7f493a11adba46ea628bcc3499 WHIRLPOOL 98bc4f10d4ecc3fe476e3f81b538b94a096afb9cd726f4dcf9f8e07a89466c3a89b21fa3a70d7123e61f50fb4a6c866af1f3c87b881ca40eba273614cef4a849 +AUX setup.py-2.32.4 192 SHA256 1b65204a147672a3d4ed17bea9e8dd8b8fa6230c17ea30bfb883be34be01c230 SHA512 45e823f507db103543f024ad557d35f7c09fb51db8a78b978c762ca77d941cdecc5837d2b248fc2c5da6a93b56fe8ded359efd98fb0a74fdf9533783d8eebcfa WHIRLPOOL d7969e4bd317b382a756b70e7010c9619e98bd91c11a8c46a2514086e5123c9f23d28b1c5b302e2c0569b39480a00c95a24eda6561081890161f68a1d541093e +DIST glib-2.50.3.tar.xz 7589284 SHA256 82ee94bf4c01459b6b00cb9db0545c2237921e3060c0b74cff13fbc020cfd999 SHA512 ef35806c15170b6608445f255136c0bebd2d433adf903c2af2865f6a57b4f2fcfc1e4a7cea1a0dac48ff5fe26248fbf7886dba4a8d209506f0a94160df8fb7af WHIRLPOOL fc8effb457005a234ccb164d74026cec4af7f9a70eef0a8d58efebfacdcf0d7f7713042a9476e6a89e4effbdf4b0d59377811790557cc991cf6b397e5e984f93 +DIST glib-2.52.3.tar.xz 7679972 SHA256 25ee7635a7c0fcd4ec91cbc3ae07c7f8f5ce621d8183511f414ded09e7e4e128 SHA512 a068f2519cfb82de8d4b7f004e7c1f15e841cad4046430a83b02b359d011e0c4077cdff447a1687ed7c68f1a11b4cf66b9ed9fc23ab5f0c7c6be84eb0ddc3017 WHIRLPOOL 733ab64abbd60c633833d662d6b58e011478f85d1b0ab48a4af4cbe79e6c9973ccc86247dec2897a0c7663edeee516a3f034c14ac9b5e7a3dba97a04a88298f0 +EBUILD gdbus-codegen-2.50.3.ebuild 1317 SHA256 9819f8b0ecd49d27a4c4788a627c9768c4c9724ee96f36b68196e667a4b722ad SHA512 360162724e4d55bb05c4d048fc42c761b42fee345973f1f11e5d4df86c2f48c6e7028e7f0b83e8128e426b95e2a5c652843bc02ea5fbb6a06a22a940612b5982 WHIRLPOOL 6873dfeb2ea1869a8253c286671fd43c8cf4755401ace5905d3d5b5402418fbc691eaf17f6e667437eaf990e63d5b857df3c0f974ec64986c5eb158866bedd04 +EBUILD gdbus-codegen-2.52.3.ebuild 1334 SHA256 27aaf7477ce7b9e202cdeee13be5c138205afd00941519faeebbbad816787234 SHA512 0bea85dee8a9d9c968acfe379f0ba504e3970869b35a74c831e983d96be2f69d7b9c82e3ceb1e4b0fcae523258b2b5f296de2aa235acc7590121a8ab8ed1f70e WHIRLPOOL a2f8c270d59dfb97a299a888b26c2d17fe94cd6d363634d4b667e81437ded849330b6b96123936cc8ba1496d7fdbcbb69b66a30313d681b87b666753b37c44d7 +MISC ChangeLog 8202 SHA256 bd5624987f2b058eeb9bc8bb5709b490c973f616f24503a797f41615581d1a5e SHA512 e96af0053290e99e09013b94147685d72c7845ffd6bbf8e9340abb1947e5fb97d3d07a920a25240eddc1f250c9f784130bdf49667de75badcccc48e0c5c178e7 WHIRLPOOL d799750615689f3be714f8d663dad9eb43083d2b5c74383979a738b4e403c519273c30e8f2a12d08e59918d80967d39040a3eb5e3ee77a1db5afc9316e9ef612 +MISC ChangeLog-2015 16992 SHA256 58d04623e7e5d427b1afa2cbe324566592d650cdc9ca60d50103aed45fba8d6b SHA512 56e766ea7f51152eed9fb469dada3c1f02c2a7209e0820a7a71630d726c240a1431b8b551ad01a2e0cfc089cf7618290a7e4a0ee8ef87f5aa78c3821aa23ce89 WHIRLPOOL 8aec0d9ca5550913f3370f98bb1187ee3126816a550dd58533a02483d2dc4bbd2dc50b96286a51719cfd2997e34f15ba6781c844b5284d266badcceed3177f3f +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/dev-util/gdbus-codegen/files/gdbus-codegen-2.40.0-sitedir.patch b/dev-util/gdbus-codegen/files/gdbus-codegen-2.40.0-sitedir.patch new file mode 100644 index 000000000000..ffeb17ba2375 --- /dev/null +++ b/dev-util/gdbus-codegen/files/gdbus-codegen-2.40.0-sitedir.patch @@ -0,0 +1,31 @@ +From 626f79dcfb1f26997f2807829c6fa19f6c3303f5 Mon Sep 17 00:00:00 2001 +From: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr> +Date: Sun, 20 Jan 2013 20:25:13 +0330 +Subject: [PATCH] glib-2.35.4-external-gdbus-codegen + +--- + gio/gdbus-2.0/codegen/gdbus-codegen.in | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +diff --git a/gio/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in +index 253d151..2295481 100644 +--- a/gio/gdbus-2.0/codegen/gdbus-codegen.in ++++ b/gio/gdbus-2.0/codegen/gdbus-codegen.in +@@ -29,13 +29,7 @@ srcdir = os.getenv('UNINSTALLED_GLIB_SRCDIR', None) + + if srcdir is not None: + path = os.path.join(srcdir, 'gio', 'gdbus-2.0') +-elif os.name == 'nt': +- # Makes gdbus-codegen 'relocatable' at runtime on Windows. +- path = os.path.join(os.path.dirname(__file__), '..', 'share', 'glib-2.0') + else: +- path = os.path.join('@datadir@', 'glib-2.0') +- +-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()) +-- +1.8.1 + diff --git a/dev-util/gdbus-codegen/files/setup.py-2.32.4 b/dev-util/gdbus-codegen/files/setup.py-2.32.4 new file mode 100644 index 000000000000..c5318e30588b --- /dev/null +++ b/dev-util/gdbus-codegen/files/setup.py-2.32.4 @@ -0,0 +1,6 @@ +from distutils.core import setup +setup(name="gdbus_codegen", + version="@PV@", + packages=["gdbus_codegen"], + package_dir={"gdbus_codegen" : ""}, + scripts=["gdbus-codegen"]) diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.50.3.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.50.3.ebuild new file mode 100644 index 000000000000..8999c14200f2 --- /dev/null +++ b/dev-util/gdbus-codegen/gdbus-codegen-2.50.3.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} ) +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.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/dev-util/gdbus-codegen/gdbus-codegen-2.52.3.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.52.3.ebuild new file mode 100644 index 000000000000..4735e85999b8 --- /dev/null +++ b/dev-util/gdbus-codegen/gdbus-codegen-2.52.3.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.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/dev-util/gdbus-codegen/metadata.xml b/dev-util/gdbus-codegen/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/dev-util/gdbus-codegen/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> |