diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-05-26 16:29:55 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-05-26 16:29:55 +0000 |
commit | 03ad5de1c9652137c2b75eed1c7193b8217cfdf3 (patch) | |
tree | 74098446d29966c81f6ff1f3242c3465e3e6851c /dev-python/gnome-python-extras-base/gnome-python-extras-base-2.25.3-r1.ebuild | |
parent | Convert to python-any-r1. (diff) | |
download | gentoo-2-03ad5de1c9652137c2b75eed1c7193b8217cfdf3.tar.gz gentoo-2-03ad5de1c9652137c2b75eed1c7193b8217cfdf3.tar.bz2 gentoo-2-03ad5de1c9652137c2b75eed1c7193b8217cfdf3.zip |
Convert to python-any-r1.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-python/gnome-python-extras-base/gnome-python-extras-base-2.25.3-r1.ebuild')
-rw-r--r-- | dev-python/gnome-python-extras-base/gnome-python-extras-base-2.25.3-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/gnome-python-extras-base/gnome-python-extras-base-2.25.3-r1.ebuild b/dev-python/gnome-python-extras-base/gnome-python-extras-base-2.25.3-r1.ebuild new file mode 100644 index 000000000000..09048f33daae --- /dev/null +++ b/dev-python/gnome-python-extras-base/gnome-python-extras-base-2.25.3-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras-base/gnome-python-extras-base-2.25.3-r1.ebuild,v 1.1 2014/05/26 16:29:55 mgorny Exp $ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit versionator autotools eutils gnome2 python-any-r1 + +# This ebuild does nothing -- we just want to get the pkgconfig file installed +MY_PN="gnome-python-extras" +DESCRIPTION="Provides python the base files for the Gnome Python Desktop bindings" +HOMEPAGE="http://pygtk.org/" +PVP="$(get_version_component_range 1-2)" +SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP}/${MY_PN}-${PV}.tar.bz2" + +IUSE="" +LICENSE="LGPL-2.1" +SLOT="0" +RESTRICT="test" + +# From the gnome-python-extras eclass +RDEPEND=">=x11-libs/gtk+-2.4:2 + >=dev-libs/glib-2.6:2 + $(python_gen_any_dep '>=dev-python/pygtk-2.10.3:2[${PYTHON_USEDEP}]') + !<=dev-python/gnome-python-extras-2.19.1-r2" +DEPEND="${RDEPEND} + virtual/pkgconfig + gnome-base/gnome-common" +# eautoreconf needs gnome-base/gnome-common + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +S="${WORKDIR}/${MY_PN}-${PV}" + +DOCS="AUTHORS COPYING* ChangeLog INSTALL NEWS README" + +pkg_setup() { + G2CONF="${G2CONF} --disable-allbindings" + python-any-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/${P}-python-libs.patch" #344231 + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die + eautoreconf + gnome2_src_prepare +} |