summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-01-01 21:41:57 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-01-01 21:41:57 +0000
commitd54ca496db78b35dfab6d24ed3fc7344bf9f4f00 (patch)
treefc0be90b457080a5d00f0bc9e9455542352a3c05 /x11-wm
parentTransfer Prefix keywords (diff)
downloadgentoo-2-d54ca496db78b35dfab6d24ed3fc7344bf9f4f00.tar.gz
gentoo-2-d54ca496db78b35dfab6d24ed3fc7344bf9f4f00.tar.bz2
gentoo-2-d54ca496db78b35dfab6d24ed3fc7344bf9f4f00.zip
Bump x11-wm/plwm to 2.7_rc1 (bug 281415).
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/plwm/ChangeLog10
-rw-r--r--x11-wm/plwm/files/plwm-2.7_rc1-pep0263.patch17
-rw-r--r--x11-wm/plwm/plwm-2.7_rc1.ebuild53
3 files changed, 78 insertions, 2 deletions
diff --git a/x11-wm/plwm/ChangeLog b/x11-wm/plwm/ChangeLog
index 9a9bb17013bb..c662d17b1ea8 100644
--- a/x11-wm/plwm/ChangeLog
+++ b/x11-wm/plwm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-wm/plwm
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/plwm/ChangeLog,v 1.13 2007/08/27 13:44:50 coldwind Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/plwm/ChangeLog,v 1.14 2010/01/01 21:41:57 djc Exp $
+
+*plwm-2.7_rc1 (01 Jan 2010)
+
+ 01 Jan 2010; Dirkjan Ochtman <djc@gentoo.org> +plwm-2.7_rc1.ebuild,
+ +files/plwm-2.7_rc1-pep0263.patch:
+ Bump to 2.7rc1 (see bug 281415).
27 Aug 2007; Santiago M. Mola <coldwind@gentoo.org>
+files/plwm-2.5-pep0263.patch, +files/plwm-2.6_alpha-pep0263.patch,
diff --git a/x11-wm/plwm/files/plwm-2.7_rc1-pep0263.patch b/x11-wm/plwm/files/plwm-2.7_rc1-pep0263.patch
new file mode 100644
index 000000000000..aadc8f86f458
--- /dev/null
+++ b/x11-wm/plwm/files/plwm-2.7_rc1-pep0263.patch
@@ -0,0 +1,17 @@
+diff -ur PLWM-2.7rc1.orig/examples/hrwwm.py PLWM-2.7rc1/examples/hrwwm.py
+--- PLWM-2.7rc1.orig/examples/hrwwm.py 2007-08-27 15:06:29.000000000 +0200
++++ PLWM-2.7rc1/examples/hrwwm.py 2007-08-27 15:07:33.000000000 +0200
+@@ -1,4 +1,5 @@
+ #!/usr/bin/env python
++# -*- coding: utf-8 -*-
+ #
+ # hrwwm.py -- Example PLWM window manager "configuration"
+ #
+diff -ur PLWM-2.7rc1.orig/plwm/mw_apm.py PLWM-2.7rc1/plwm/mw_apm.py
+--- PLWM-2.7rc1.orig/plwm/mw_apm.py 2007-08-27 15:06:29.000000000 +0200
++++ PLWM-2.7rc1/plwm/mw_apm.py 2007-08-27 15:07:00.000000000 +0200
+@@ -1,3 +1,4 @@
++# -*- coding: utf-8 -*-
+ #
+ # mw_apm.py -- display APM status in a modewindow
+ #
diff --git a/x11-wm/plwm/plwm-2.7_rc1.ebuild b/x11-wm/plwm/plwm-2.7_rc1.ebuild
new file mode 100644
index 000000000000..b20ff81079df
--- /dev/null
+++ b/x11-wm/plwm/plwm-2.7_rc1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/plwm/plwm-2.7_rc1.ebuild,v 1.1 2010/01/01 21:41:57 djc Exp $
+
+NEED_PYTHON="2.2"
+
+inherit distutils eutils
+
+MY_P="PLWM-${PV/_/}"
+
+DESCRIPTION="Python classes for, and an implementation of, a window manager."
+HOMEPAGE="http://plwm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/plwm/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=dev-python/python-xlib-0.14"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-pep0263.patch"
+}
+
+src_install() {
+ distutils_src_install
+
+ # do same as old version and make a plwm 'executable'
+ # which is examplewm.py
+ cp examples/examplewm.py examples/plwm
+ dobin examples/plwm || die "dobin failed"
+ rm examples/plwm
+
+ # install utils (inspect_plwm, wmm)
+ dobin utils/*.py || die "dobin failed"
+
+ make -C doc || die "make info docs failed"
+ doinfo doc/*.info* || die "doinfo failed"
+
+ dodoc NEWS ONEWS INSTALL || die "dodoc failed"
+
+ docinto examples
+ dodoc examples/* || die "dodoc failed"
+
+ docinto utils
+ dodoc utils/ChangeLog || die "dodoc failed"
+}