summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-xlib')
-rw-r--r--dev-python/python-xlib/Manifest1
-rw-r--r--dev-python/python-xlib/python-xlib-0.16_pre171.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest
new file mode 100644
index 0000000..9a49856
--- /dev/null
+++ b/dev-python/python-xlib/Manifest
@@ -0,0 +1 @@
+EBUILD python-xlib-0.16_pre171.ebuild 1074 SHA256 a58f6c2eb7668cd003920935533e6e85183161dc2786b1bddd8856d64e1cd757 SHA512 41c6fc03eefc7fc6216812a0be01cf3c3d046033fda23e48a70893211d1f45ba4176190618a5b42a2644d89cb443662cdca2bc6f4013a90e527d235815211aa1 WHIRLPOOL 917b09095a048a63d64561ffb5d17c9652625f7ae30c6191c70501acdde118cea6694ae31bc5acb6878f5b22e39aa6786127c4a594b11b7d4c0fb87cbdac0134
diff --git a/dev-python/python-xlib/python-xlib-0.16_pre171.ebuild b/dev-python/python-xlib/python-xlib-0.16_pre171.ebuild
new file mode 100644
index 0000000..05c55be
--- /dev/null
+++ b/dev-python/python-xlib/python-xlib-0.16_pre171.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 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-r2.ebuild,v 1.4 2015/04/08 08:05:03 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1 subversion
+
+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/"
+
+ESVN_REPO_URI="svn://svn.code.sf.net/p/python-xlib/code/trunk@171"
+ESVN_PROJECT="${PN/-code}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+
+python_prepare_all() {
+ sed -e 's:make:$(MAKE):g' -i doc/Makefile || die
+ cp -r "${FILESDIR}"/defs doc/src/ || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ cd doc || die
+ VARTEXFONTS="${T}"/fonts emake html
+ fi
+}
+
+python_test() {
+ cd test || die
+
+ local t
+ for t in *.py; do
+ "${PYTHON}" "${t}" || die
+ done
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/html/. )
+ distutils-r1_python_install_all
+}