| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/parti/parti-9999.ebuild,v 1.5 2012/05/04 08:58:55 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI=3
|
| 6 |
|
| 7 |
PYTHON_DEPEND=2
|
| 8 |
|
| 9 |
inherit distutils eutils mercurial
|
| 10 |
|
| 11 |
EHG_REPO_URI="https://partiwm.googlecode.com/hg/"
|
| 12 |
|
| 13 |
DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
|
| 14 |
HOMEPAGE="http://partiwm.googlecode.com/"
|
| 15 |
MY_P="${PN}-all-${PV}"
|
| 16 |
SRC_URI=""
|
| 17 |
|
| 18 |
LICENSE="GPL-2 LGPL-2.1"
|
| 19 |
SLOT="0"
|
| 20 |
KEYWORDS=""
|
| 21 |
IUSE=""
|
| 22 |
|
| 23 |
COMMON_DEPEND="dev-python/pygtk:2
|
| 24 |
x11-libs/libX11
|
| 25 |
x11-libs/libXcomposite
|
| 26 |
x11-libs/libXdamage
|
| 27 |
x11-libs/libXtst"
|
| 28 |
|
| 29 |
RDEPEND="${COMMON_DEPEND}
|
| 30 |
dev-python/ipython
|
| 31 |
x11-apps/xmodmap"
|
| 32 |
DEPEND="${COMMON_DEPEND}
|
| 33 |
dev-python/cython
|
| 34 |
dev-python/pyrex
|
| 35 |
virtual/pkgconfig"
|
| 36 |
|
| 37 |
S=${WORKDIR}/hg
|
| 38 |
|
| 39 |
pkg_setup() {
|
| 40 |
python_set_active_version 2
|
| 41 |
python_pkg_setup
|
| 42 |
}
|
| 43 |
|
| 44 |
src_prepare() {
|
| 45 |
if [ ! -e wimpiggy/lowlevel/constants.pxi ] ; then
|
| 46 |
$(PYTHON -2 -a) make_constants_pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi || die
|
| 47 |
fi
|
| 48 |
}
|