diff options
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 | 11 |
1 files changed, 7 insertions, 4 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 index cfcd4a3af74e..bbf4fe11e0d6 100644 --- 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 @@ -1,19 +1,20 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" PYTHON_COMPAT=( python2_7 ) -inherit versionator autotools eutils gnome2 python-any-r1 +inherit autotools eapi7-ver eutils gnome2 python-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)" +PVP="$(ver_cut 1-2)" SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP}/${MY_PN}-${PV}.tar.bz2" IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" LICENSE="LGPL-2.1" SLOT="0" RESTRICT="test" @@ -21,7 +22,8 @@ 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}]') + ${PYTHON_DEPS} + >=dev-python/pygtk-2.10.3:2[${PYTHON_USEDEP}] !<=dev-python/gnome-python-extras-2.19.1-r2" DEPEND="${RDEPEND} virtual/pkgconfig @@ -38,6 +40,7 @@ src_prepare() { epatch "${FILESDIR}/${P}-python-libs.patch" #344231 sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die eautoreconf + python_setup gnome2_src_prepare } |