summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-12-09 20:24:19 +0100
committerPacho Ramos <pacho@gentoo.org>2017-12-09 20:38:14 +0100
commite6ef0aaba68cf92c137b4b1e542e73108446f351 (patch)
treed6cb3b4408085e78cc03054dee10720508f8b3a1 /dev-libs
parentdev-libs/libpeas: Add support for newer python (diff)
downloadgentoo-e6ef0aaba68cf92c137b4b1e542e73108446f351.tar.gz
gentoo-e6ef0aaba68cf92c137b4b1e542e73108446f351.tar.bz2
gentoo-e6ef0aaba68cf92c137b4b1e542e73108446f351.zip
dev-libs/libpeas: Drop old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libpeas/libpeas-1.20.0.ebuild97
1 files changed, 0 insertions, 97 deletions
diff --git a/dev-libs/libpeas/libpeas-1.20.0.ebuild b/dev-libs/libpeas/libpeas-1.20.0.ebuild
deleted file mode 100644
index 0418a2e4b1b4..000000000000
--- a/dev-libs/libpeas/libpeas-1.20.0.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# 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{2_7,3_4,3_5} )
-
-inherit autotools eutils gnome2 multilib python-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} ?? ( $(python_gen_useflags 'python3*') ) )"
-
-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
-
-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
-
- # possibly overriden below
- --disable-python{2,3}
- --disable-lua5.1
- --disable-luajit
- )
-
- if use lua ; then
- if use jit ; then
- myconf+=( --enable-lua5.1 --enable-luajit )
- else
- myconf+=( --enable-lua5.1 )
- fi
- fi
-
- python_configure() {
- local v
- python_is_python3 && v=3 || v=2
- myconf+=(
- "--enable-python${v}"
- # it is just 'PYTHON' for py3 in the build system
- "PYTHON${v#3}=${PYTHON}"
- "PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)"
- )
- }
- use python && python_foreach_impl python_configure
-
- 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
-}