public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpeas/
Date: Mon, 17 Apr 2017 16:49:09 +0000 (UTC)	[thread overview]
Message-ID: <1492447718.246a256bda535a88f8196e3069d4fedb3deb918b.soap@gentoo> (raw)

commit:     246a256bda535a88f8196e3069d4fedb3deb918b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 16:46:18 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 16:48:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=246a256b

dev-libs/libpeas: Port to python-single-r1

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4434

 dev-libs/libpeas/libpeas-1.20.0-r1.ebuild | 84 +++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)

diff --git a/dev-libs/libpeas/libpeas-1.20.0-r1.ebuild b/dev-libs/libpeas/libpeas-1.20.0-r1.ebuild
new file mode 100644
index 00000000000..1a9c767f431
--- /dev/null
+++ b/dev-libs/libpeas/libpeas-1.20.0-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit autotools eutils gnome2 multilib python-single-r1 virtualx
+
+DESCRIPTION="A GObject plugins library"
+HOMEPAGE="https://developer.gnome.org/libpeas/stable/"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+
+IUSE="+gtk glade jit lua +python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+	>=dev-libs/glib-2.38:2
+	>=dev-libs/gobject-introspection-1.39:=
+	glade? ( >=dev-util/glade-3.9.1:3.10 )
+	gtk? ( >=x11-libs/gtk+-3:3[introspection] )
+	lua? (
+		>=dev-lua/lgi-0.9.0
+		jit? ( >=dev-lang/luajit-2:2 )
+		!jit? ( =dev-lang/lua-5.1*:0 ) )
+	python? (
+		${PYTHON_DEPS}
+		>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+	>=dev-util/gtk-doc-am-1.11
+	>=dev-util/intltool-0.40
+	virtual/pkgconfig
+
+	dev-libs/gobject-introspection-common
+	gnome-base/gnome-common
+"
+# eautoreconf needs gobject-introspection-common, gnome-common
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	# Gentoo uses unversioned lua - lua.pc instad of lua5.1.pc, /usr/bin/lua instead of /usr/bin/lua5.1
+	eapply "${FILESDIR}"/${PN}-1.14.0-lua.pc.patch
+	eautoreconf
+	gnome2_src_prepare
+}
+
+src_configure() {
+	# Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov
+	# What do we do about gdb, valgrind, gcov, etc?
+	local myconf=(
+		$(use_enable glade glade-catalog)
+		$(use_enable gtk)
+		--disable-static
+
+		# py2 not supported anymore
+		--disable-python2
+		$(use_enable python python3)
+
+		# lua
+		$(use_enable lua lua5.1)
+		$(use_enable $(usex jit lua jit) luajit)
+	)
+
+	gnome2_src_configure "${myconf[@]}"
+}
+
+src_test() {
+	# This looks fixed since 1.18.0:
+	#
+	# FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme
+	# DO NOT REPORT UPSTREAM, this is not a libpeas bug.
+	# To reproduce:
+	# >>> from gi.repository import Gtk
+	# >>> Gtk.IconTheme.get_default().has_icon("gtk-about")
+	# This should return True, it returns False for Xvfb
+	virtx emake check
+}


             reply	other threads:[~2017-04-17 16:49 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-17 16:49 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-07  0:04 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpeas/ Matt Turner
2023-08-08 15:04 Matt Turner
2023-05-05  6:11 Arthur Zamarin
2023-05-02 18:24 Arthur Zamarin
2023-05-02 17:31 Arthur Zamarin
2023-03-17 19:56 Matt Turner
2022-10-30  1:50 Matt Turner
2022-09-24 20:05 Matt Turner
2022-06-23  0:27 Matt Turner
2022-05-29 10:57 Pacho Ramos
2022-03-22  2:46 Matt Turner
2021-10-17 21:07 Mart Raudsepp
2021-09-24  1:37 Yixun Lan
2021-04-12 21:59 Matt Turner
2021-03-26 19:46 Conrad Kostecki
2021-03-21 15:02 Matt Turner
2020-02-09 16:18 Michał Górny
2019-12-04 20:17 Matt Turner
2018-10-03  9:54 Mart Raudsepp
2018-08-28 16:17 Mart Raudsepp
2018-07-24 12:45 Michał Górny
2018-03-26 19:33 Michał Górny
2017-12-09 19:40 Pacho Ramos
2017-12-09 19:40 Pacho Ramos
2017-07-14 13:57 Alexis Ballier
2017-04-23 21:23 Agostino Sarubbo
2017-01-29 16:19 Fabian Groffen
2016-11-01 11:18 Gilles Dartiguelongue
2016-11-01 11:18 Gilles Dartiguelongue
2015-11-11 10:27 Michał Górny

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=1492447718.246a256bda535a88f8196e3069d4fedb3deb918b.soap@gentoo \
    --to=soap@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