From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 922BA139695 for ; Sat, 29 Apr 2017 20:22:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB339E0C5C; Sat, 29 Apr 2017 20:22:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A74EE0C5C for ; Sat, 29 Apr 2017 20:22:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 745FE341301 for ; Sat, 29 Apr 2017 20:22:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4DCCF7434 for ; Sat, 29 Apr 2017 20:22:51 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1493497321.053e362fcce7accfe27d17cee4d68ebde1ed3e77.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-xlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-xlib/Manifest dev-python/python-xlib/python-xlib-0.19.ebuild X-VCS-Directories: dev-python/python-xlib/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 053e362fcce7accfe27d17cee4d68ebde1ed3e77 X-VCS-Branch: master Date: Sat, 29 Apr 2017 20:22:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 83d1cf7b-a425-4264-bb76-a9a89521f74a X-Archives-Hash: 9e478311989fb2cf8b625c961c2f9f4c commit: 053e362fcce7accfe27d17cee4d68ebde1ed3e77 Author: Sebastian Pipping gentoo org> AuthorDate: Sat Apr 29 19:55:58 2017 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Apr 29 20:22:01 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053e362f dev-python/python-xlib: 0.19 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/python-xlib/Manifest | 1 + dev-python/python-xlib/python-xlib-0.19.ebuild | 51 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest index cb4d5233ec1..f11623e1062 100644 --- a/dev-python/python-xlib/Manifest +++ b/dev-python/python-xlib/Manifest @@ -1,2 +1,3 @@ DIST python-xlib-0.15rc1.tar.gz 188750 SHA256 823734489fc8c47113deb606fdc7142759d4c45546014255af8c5b8787b9accb SHA512 e27f56e0d76fac534e6754b1e64316636b49859eb6c9ceef5952c8b42cf53bc798a705fa54c283c896324d9a23778beec583cb62984a6a43b024643a70f3fe3a WHIRLPOOL bdca7c97cfbf438cce6297d5d035488986886d95f6f80014c9d9b1966720b98600b13f6dc09b6aed209787833e3174a0bf8444c3ba9c46e9f106051b978d322b DIST python-xlib-0.17.tar.bz2 185804 SHA256 600e820e340528184a873c5c4dccc67d7e4c34d658606fffadb02f32b5edd38a SHA512 0c3346de00304f8028492ef1eb7a9d0e22e750f9d51714e5a458e734218ef69760a07a5b3436eda70c9a952d52848757e1ead520bdaaefaf1b6575e0cc299b88 WHIRLPOOL 81d73930abe5277a0daa7ab2b245172315eff311d30dff532a9c10997d7d7ffd8de9d7f8a0ee2992b18f5ad58734511b30916c9c3f45ba34555f09750710c1e6 +DIST python-xlib-0.19.tar.bz2 188359 SHA256 10ba17a7b2aea9f6a7fb0b87caa284383389cf867ba9d31619246577b8cc3408 SHA512 070807eed50ce9a17926c36686dac5c143deff0b687a2967afade1a2f776d42ffbea0bbfad3a7480118ba7b1cf5ac0bb64978fdd3ca125c1df651af456dba5be WHIRLPOOL 7651d564c10bd381508bf69088e88705218be9e9a31442660fd80d1e2d086ae4a3a84aa733fed30b4c4359663b99fe117fcd6a8fb1b7adefd888f267ef8722a8 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 00000000000..2b523c38de5 --- /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 +}