summaryrefslogtreecommitdiff
path: root/dev-python/python-xlib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/python-xlib
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-xlib')
-rw-r--r--dev-python/python-xlib/Manifest8
-rw-r--r--dev-python/python-xlib/files/defs11
-rw-r--r--dev-python/python-xlib/metadata.xml12
-rw-r--r--dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild48
-rw-r--r--dev-python/python-xlib/python-xlib-0.19.ebuild51
5 files changed, 130 insertions, 0 deletions
diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest
new file mode 100644
index 000000000000..acef3f5a7f7e
--- /dev/null
+++ b/dev-python/python-xlib/Manifest
@@ -0,0 +1,8 @@
+AUX defs 273 SHA256 066b83dd28b6938e10c50d11ef86028115f93a65e44a516aa42597866ebef65c SHA512 4a51870b0b4de46995eeb2e74487e79eb6bd55fd8c0c736176655b22ff7737957cf16b7f86455bf6e9ae724dc773cd90d5d021c296985b93fbb25da01ac4c211 WHIRLPOOL cc93a5e6c3ccf00709e5aea18570fcef4813f2fbec21bfd6d980619e5d1b7210916fe19634cb2441870bf0edd57346a095328e4992d68ae3d9d44c8daec42e98
+DIST python-xlib-0.15rc1.tar.gz 188750 SHA256 823734489fc8c47113deb606fdc7142759d4c45546014255af8c5b8787b9accb SHA512 e27f56e0d76fac534e6754b1e64316636b49859eb6c9ceef5952c8b42cf53bc798a705fa54c283c896324d9a23778beec583cb62984a6a43b024643a70f3fe3a WHIRLPOOL bdca7c97cfbf438cce6297d5d035488986886d95f6f80014c9d9b1966720b98600b13f6dc09b6aed209787833e3174a0bf8444c3ba9c46e9f106051b978d322b
+DIST python-xlib-0.19.tar.bz2 188359 SHA256 10ba17a7b2aea9f6a7fb0b87caa284383389cf867ba9d31619246577b8cc3408 SHA512 070807eed50ce9a17926c36686dac5c143deff0b687a2967afade1a2f776d42ffbea0bbfad3a7480118ba7b1cf5ac0bb64978fdd3ca125c1df651af456dba5be WHIRLPOOL 7651d564c10bd381508bf69088e88705218be9e9a31442660fd80d1e2d086ae4a3a84aa733fed30b4c4359663b99fe117fcd6a8fb1b7adefd888f267ef8722a8
+EBUILD python-xlib-0.15_rc1-r2.ebuild 918 SHA256 40b91680ded92790efcddcf39629d06469ce3fb041415b460f0fd8dc6e7064e8 SHA512 c18ff04b4aab7892dd16303bb302f5ff08c6d026ae2e9133007050b3bde17faf35915d0762479856be801a3ff87a90e39f546a3300489da6375112cc62a71056 WHIRLPOOL 767827690ad5f3c69068a1207fdb50b84d466441b7f45590cbc589bf0ce08a976f6b5b3ebe93bb6c6c079893d5e1b77157d1739ffe01dd6957ae6e742e18b40d
+EBUILD python-xlib-0.19.ebuild 1074 SHA256 dc29375e067a60768e75a6b1cefb1bf78e5cc66b1d538ccede50c7e43cc7b533 SHA512 c041d1b4d78b673462bb27c926aa4718dd793fe86e58e4ff50505c3011f1335dc5736b476017c55489145006322e6bdfed45ea62d41f244a3736de2eed7f34e0 WHIRLPOOL 1618867863fef2c5318edbcafdc2253b32f19b0d7d67e5b4d1ae5daa9844543abdab59df9beb60fa364091a743967ddcb43e2205a0cf52885e24e5843097738d
+MISC ChangeLog 3980 SHA256 2facde936a7c39fa706664dfdbe8a1bb0cc64b57ed51c994a789dbc18762a01d SHA512 01bc6e71178b3d86edae3fc34a04872a0df984c8514cee7f7a37c0bdc50234e01d1ec94a75d391f824ee78720c7ba3aa88cc678ff1bdcfdfcea48d6718a48421 WHIRLPOOL fd39a6ca4128f2dcdb1aae0c7881f428aa6e581ea3ae9407ceb2dc47cfe4bef660b6f62aa1409a442fec7735c787000cb591227ae3bad80c74ddd7ef980b0140
+MISC ChangeLog-2015 6300 SHA256 843e47a1f8446e5a704ea3d6a8531d9f59b3df40b26d48a1b7535b69f82f557b SHA512 9b8269d068b7bb86efeb4836dca47957a8c5879e634b396373430fdeae4af3aff94a6739861616e9cf3e4ac2e27e4c3a2365e4112a05057bf4c98a3809596c5c WHIRLPOOL 7182e11e4d43daf732ca32042303f1f218d43b02acaa1adc4e8533395284fc26941fa6e5d719f3f553a6218e1a63a8f6f0efd5a23563185daa9641eb4b6c8b4b
+MISC metadata.xml 384 SHA256 18feaa66cfd46232de11e15f2acc964669ce0ec323cd59bff027d85e0f1df9ed SHA512 43a2e7161edf8d2a527f35cbc8e590655df487f699e570dc542ab0b3f25b4c577599fa43a09efb4f8f3f67bd6a964acc8b446aa810ffbb2ea7f6dc9ab0f2ebd4 WHIRLPOOL 342e54a87a0cbdde22344b326ece09ac5bbd0f3e1eb076c3122e4c8c45dd8b0be270d24d29bc0ac57c8cb9fdfbf81410b701625c89d7d7524204dfdd78acd7a3
diff --git a/dev-python/python-xlib/files/defs b/dev-python/python-xlib/files/defs
new file mode 100644
index 000000000000..2da6f932799b
--- /dev/null
+++ b/dev-python/python-xlib/files/defs
@@ -0,0 +1,11 @@
+# Definitions for documentation makefiles
+
+SRCDIR = ../src
+
+TOPSRC = $(SRCDIR)/python-xlib.texi
+
+SRCS = $(TOPSRC) \
+ $(SRCDIR)/concepts.texi $(SRCDIR)/package.texi \
+ $(SRCDIR)/connect.texi $(SRCDIR)/errors.texi \
+ $(SRCDIR)/events.texi $(SRCDIR)/objects.texi
+
diff --git a/dev-python/python-xlib/metadata.xml b/dev-python/python-xlib/metadata.xml
new file mode 100644
index 000000000000..736c78504618
--- /dev/null
+++ b/dev-python/python-xlib/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">python-xlib</remote-id>
+ <remote-id type="github">python-xlib/python-xlib</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild b/dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild
new file mode 100644
index 000000000000..f004f5d31e65
--- /dev/null
+++ b/dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+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="amd64 ~arm ppc ~ppc64 x86"
+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
+}
diff --git a/dev-python/python-xlib/python-xlib-0.19.ebuild b/dev-python/python-xlib/python-xlib-0.19.ebuild
new file mode 100644
index 000000000000..2b523c38de56
--- /dev/null
+++ b/dev-python/python-xlib/python-xlib-0.19.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="A fully functional X client library for Python, written in Python"
+HOMEPAGE="https://github.com/python-xlib/python-xlib"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+# DISTUTILS_IN_SOURCE_BUILD=1
+
+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
+ "${EPYTHON}" "${t}" || die
+ done
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/html/. )
+ distutils-r1_python_install_all
+}