summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-01-01 21:15:24 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-01-01 21:15:24 +0000
commitfa15e055319e0793511146a477b973671019030d (patch)
tree95b46f1d578b57a2c3ec02ad99e6031a30deeead /dev-python/python-xlib
parentmore quoting (diff)
downloadgentoo-2-fa15e055319e0793511146a477b973671019030d.tar.gz
gentoo-2-fa15e055319e0793511146a477b973671019030d.tar.bz2
gentoo-2-fa15e055319e0793511146a477b973671019030d.zip
Bump dev-python/python-xlib to 0.15_rc1 (see bug 281415).
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/python-xlib')
-rw-r--r--dev-python/python-xlib/ChangeLog10
-rw-r--r--dev-python/python-xlib/python-xlib-0.15_rc1.ebuild44
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-python/python-xlib/ChangeLog b/dev-python/python-xlib/ChangeLog
index 89877c6f2ca6..ec75e374bdb3 100644
--- a/dev-python/python-xlib/ChangeLog
+++ b/dev-python/python-xlib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/python-xlib
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.31 2009/11/14 16:35:31 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.32 2010/01/01 21:15:24 djc Exp $
+
+*python-xlib-0.15_rc1 (01 Jan 2010)
+
+ 01 Jan 2010; Dirkjan Ochtman <djc@gentoo.org>
+ +python-xlib-0.15_rc1.ebuild:
+ Bumped to 0.15_rc1, see bug 281415.
14 Nov 2009; Raúl Porcel <armin76@gentoo.org> python-xlib-0.14.ebuild:
ia64/x86 stable wrt #290200
diff --git a/dev-python/python-xlib/python-xlib-0.15_rc1.ebuild b/dev-python/python-xlib/python-xlib-0.15_rc1.ebuild
new file mode 100644
index 000000000000..09d4dabdf6de
--- /dev/null
+++ b/dev-python/python-xlib/python-xlib-0.15_rc1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/python-xlib-0.15_rc1.ebuild,v 1.1 2010/01/01 21:15:24 djc Exp $
+
+inherit distutils
+
+MY_P=${P/_/}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A fully functional X client library for Python, written in Python"
+HOMEPAGE="http://python-xlib.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+DEPEND="${RDEPEND}
+ doc? ( virtual/latex-base
+ >=sys-apps/texinfo-4.8-r2 )"
+
+PYTHON_MODNAME="Xlib"
+
+src_compile() {
+ distutils_src_compile
+ if use doc; then
+ cd doc
+ VARTEXFONTS="${T}"/fonts emake || die "make docs failed"
+ fi
+}
+
+src_install () {
+ distutils_src_install
+ if use doc; then
+ dohtml -r doc/html/
+ dodoc doc/ps/python-xlib.ps
+ fi
+}
+
+src_test() {
+ distutils_python_version
+ for pytest in $(ls test/*py); do
+ PYTHONPATH=. "${python}" ${pytest} || die "test failed"
+ done
+}