/[gentoo-x86]/x11-wm/plwm/plwm-2.7_rc1.ebuild
Gentoo

Contents of /x11-wm/plwm/plwm-2.7_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Apr 16 18:47:09 2011 UTC (3 years ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Drop alpha keyword

(Portage version: 2.1.9.45/cvs/Linux ia64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/plwm/plwm-2.7_rc1.ebuild,v 1.2 2010/06/13 15:02:01 ssuominen Exp $
4
5 EAPI=3
6 PYTHON_DEPEND="2"
7
8 inherit distutils eutils
9
10 MY_P=PLWM-${PV/_}
11
12 DESCRIPTION="Python classes for, and an implementation of, a window manager."
13 HOMEPAGE="http://plwm.sourceforge.net/"
14 SRC_URI="mirror://sourceforge/plwm/${MY_P}.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~ppc ~x86"
19 IUSE=""
20
21 RDEPEND=">=dev-python/python-xlib-0.14"
22 DEPEND="sys-apps/texinfo"
23
24 S=${WORKDIR}/${MY_P}
25
26 pkg_setup() {
27 python_set_active_version 2
28 }
29
30 src_prepare() {
31 epatch "${FILESDIR}"/${P}-pep0263.patch
32 python_convert_shebangs -r 2 examples/examplewm.py utils/*.py
33 distutils_src_prepare
34 }
35
36 src_compile() {
37 distutils_src_compile
38 emake -C doc || die
39 }
40
41 src_install() {
42 distutils_src_install
43
44 newbin examples/examplewm.py plwm || die
45 dobin utils/*.py || die
46
47 doinfo doc/*.info || die
48
49 dodoc {,O}NEWS || die
50 docinto examples
51 dodoc examples/* || die
52 docinto utils
53 dodoc utils/ChangeLog || die
54 }

  ViewVC Help
Powered by ViewVC 1.1.20