You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-wm/parti/parti-9999.ebuild

49 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/parti/parti-9999.ebuild,v 1.5 2012/05/04 08:58:55 jdhore Exp $
EAPI=3
PYTHON_DEPEND=2
inherit distutils eutils mercurial
EHG_REPO_URI="https://partiwm.googlecode.com/hg/"
DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
HOMEPAGE="http://partiwm.googlecode.com/"
MY_P="${PN}-all-${PV}"
SRC_URI=""
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE=""
COMMON_DEPEND="dev-python/pygtk:2
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXtst"
RDEPEND="${COMMON_DEPEND}
dev-python/ipython
x11-apps/xmodmap"
DEPEND="${COMMON_DEPEND}
dev-python/cython
dev-python/pyrex
virtual/pkgconfig"
S=${WORKDIR}/hg
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
if [ ! -e wimpiggy/lowlevel/constants.pxi ] ; then
$(PYTHON -2 -a) make_constants_pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi || die
fi
}