public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-builder/
Date: Sun, 24 May 2015 16:33:06 +0000 (UTC)	[thread overview]
Message-ID: <1432485054.1bc7785e1e832a21d742a5a62c0085f42cc04822.eva@gentoo> (raw)

commit:     1bc7785e1e832a21d742a5a62c0085f42cc04822
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun May 24 16:23:04 2015 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun May 24 16:30:54 2015 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=1bc7785e

gnome-extra/gnome-builder: QAed

* Add missing introspection dependency.
* Add missing handling of python interpreter.
* Add missing uncrustify dependency, via Fedora .spec and checked in
  source code.
* Add unittest handling even though some fail for me.
* Add other missing build dependencies.

 .../gnome-builder/gnome-builder-3.16.3.ebuild      | 35 +++++++++++++++++-----
 gnome-extra/gnome-builder/metadata.xml             |  5 ++++
 2 files changed, 33 insertions(+), 7 deletions(-)

diff --git a/gnome-extra/gnome-builder/gnome-builder-3.16.3.ebuild b/gnome-extra/gnome-builder/gnome-builder-3.16.3.ebuild
index 6afadc2..3d5161d 100644
--- a/gnome-extra/gnome-builder/gnome-builder-3.16.3.ebuild
+++ b/gnome-extra/gnome-builder/gnome-builder-3.16.3.ebuild
@@ -4,34 +4,55 @@
 
 EAPI="5"
 GCONF_DEBUG="no"
+PYTHON_COMPAT=( python{3_3,3_4} )
 
-inherit gnome2
+inherit gnome2 python-single-r1 virtualx
 
 DESCRIPTION="Builder attempts to be an IDE for writing software for GNOME"
 HOMEPAGE="https://wiki.gnome.org/Apps/Builder"
 
-LICENSE="GPL-3+ GPL-2+ LGPL-3+ LGPL-2+ MIT CC-BY-SA CC0"
+LICENSE="GPL-3+ GPL-2+ LGPL-3+ LGPL-2+ MIT CC-BY-SA-3.0 CC0-1.0"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="+introspection"
 
+# FIXME: some unittests seem to hang forever
 RDEPEND="
+	${PYTHON_DEPS}
 	>=dev-libs/gjs-1.42
 	>=dev-libs/glib-2.44:2
 	>=dev-libs/libgit2-glib-0.22.6
-	>=dev-libs/libxml2-2.9.0
+	>=dev-libs/libxml2-2.9
 	dev-python/pygobject:3
-	>=dev-util/devhelp-3.16.0
+	>=dev-util/devhelp-3.16
+	dev-util/uncrustify
 	sys-devel/clang
 	>=x11-libs/gtk+-3.16.1:3[introspection?]
-	>=x11-libs/gtksourceview-3.16.1:3.0/3[introspection?]
+	>=x11-libs/gtksourceview-3.16.1:3.0[introspection?]
+	introspection? ( >=dev-libs/gobject-introspection-1.42 )
 "
 DEPEND="${RDEPEND}
+	dev-libs/appstream-glib
+	>=dev-util/gtk-doc-am-1.11
 	>=dev-util/intltool-0.50.1
-	>=sys-devel/gettext
+	>=sys-devel/gettext-0.18
 	virtual/pkgconfig
 "
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+}
+
 src_configure() {
 	gnome2_src_configure \
-		$(use_enable introspection)
+		--disable-static \
+		$(use_enable introspection) \
+		PYTHON3_CONFIG=${PYTHON}-config
+}
+
+src_test() {
+	# FIXME: this should be handled at eclass level
+	"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data/gsettings" || die
+
+	GSETTINGS_SCHEMA_DIR="${S}/data/gsettings" Xemake check
 }

diff --git a/gnome-extra/gnome-builder/metadata.xml b/gnome-extra/gnome-builder/metadata.xml
new file mode 100644
index 0000000..6e0e2ec
--- /dev/null
+++ b/gnome-extra/gnome-builder/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>gnome</herd>
+</pkgmetadata>


             reply	other threads:[~2015-05-24 16:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-24 16:33 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-05-25 20:57 [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-builder/ Gilles Dartiguelongue
2015-05-24 16:33 Gilles Dartiguelongue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1432485054.1bc7785e1e832a21d742a5a62c0085f42cc04822.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox