dev-python/gnome-python-base: Revert "Remove last-rited pkg"

It was supposed to be gnome-python-desktop-base.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-04-19 11:03:05 +02:00
parent be62dd7c15
commit 8d845ac6c6
5 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
GCONF_DEBUG="no"
PYTHON_COMPAT=( python2_7 )
inherit versionator eutils gnome2 python-r1
# This ebuild does nothing -- we just want to get the pkgconfig file installed
MY_PN="gnome-python"
DESCRIPTION="Provides the base files for the gnome-python 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=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
LICENSE="LGPL-2.1"
SLOT="2"
RESTRICT="${RESTRICT} test"
# From the gnome-python eclass
RDEPEND=">=x11-libs/gtk+-2.6:2
>=dev-libs/glib-2.6:2
${PYTHON_DEPS}
>=dev-python/pygtk-2.14.0:2[${PYTHON_USEDEP}]
>=dev-python/pygobject-2.17:2[${PYTHON_USEDEP}]
!<dev-python/gnome-python-2.22.1"
DEPEND="${RDEPEND}
virtual/pkgconfig"
KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
python_setup
}
src_configure() {
gnome2_src_configure \
--disable-allbindings
}