From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1068214-garchives=archives.gentoo.org@lists.gentoo.org> 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 8A3CB138334 for <garchives@archives.gentoo.org>; Tue, 22 Jan 2019 13:49:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C6A9E0BFD; Tue, 22 Jan 2019 13:49:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B1A3E0BFD for <gentoo-commits@lists.gentoo.org>; Tue, 22 Jan 2019 13:49:27 +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 F0707335CD5 for <gentoo-commits@lists.gentoo.org>; Tue, 22 Jan 2019 13:49:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46E592A7 for <gentoo-commits@lists.gentoo.org>; Tue, 22 Jan 2019 13:49:23 +0000 (UTC) From: "Sebastian Pipping" <sping@gentoo.org> 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" <sping@gentoo.org> Message-ID: <1548164951.8f066619c4ed9e17de9bdec08b00b6fd34550592.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/python-xlib-0.23-r1.ebuild X-VCS-Directories: dev-python/python-xlib/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 8f066619c4ed9e17de9bdec08b00b6fd34550592 X-VCS-Branch: master Date: Tue, 22 Jan 2019 13:49:23 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f085d33d-4b24-4276-9549-c124b5234c57 X-Archives-Hash: 99c2109ea0321ba53a2b312a2abf4997 commit: 8f066619c4ed9e17de9bdec08b00b6fd34550592 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> AuthorDate: Tue Jan 22 13:41:18 2019 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Tue Jan 22 13:49:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f066619 dev-python/python-xlib: Python 3.7 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 dev-python/python-xlib/python-xlib-0.23-r1.ebuild | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/dev-python/python-xlib/python-xlib-0.23-r1.ebuild b/dev-python/python-xlib/python-xlib-0.23-r1.ebuild new file mode 100644 index 00000000000..39686f93674 --- /dev/null +++ b/dev-python/python-xlib/python-xlib-0.23-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy ) + +inherit distutils-r1 virtualx + +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}] + doc? ( sys-apps/texinfo )" + +# DISTUTILS_IN_SOURCE_BUILD=1 + +python_compile_all() { + use doc && emake -C doc/info +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && doinfo doc/info/*.info + distutils-r1_python_install_all +}