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 36AD3139087 for ; Fri, 20 Jan 2017 02:43:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42397E0BCB; Fri, 20 Jan 2017 02:43:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1994FE0BCB for ; Fri, 20 Jan 2017 02:43:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EDC803413B7 for ; Fri, 20 Jan 2017 02:43:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9075429B8 for ; Fri, 20 Jan 2017 02:43:13 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1484879359.4f3b3e2d24d2f959231e4f86b2d0b5d9b34455a6.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libvirt-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/libvirt-python/libvirt-python-2.5.0-r1.ebuild X-VCS-Directories: dev-python/libvirt-python/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 4f3b3e2d24d2f959231e4f86b2d0b5d9b34455a6 X-VCS-Branch: master Date: Fri, 20 Jan 2017 02:43:13 +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: 69db7940-5864-45b6-be08-67a56a510cac X-Archives-Hash: 2dc4174f2a5928424a8c43b94e901119 commit: 4f3b3e2d24d2f959231e4f86b2d0b5d9b34455a6 Author: Louis Sautier gmail com> AuthorDate: Thu Jan 19 22:37:42 2017 +0000 Commit: Matthias Maier gentoo org> CommitDate: Fri Jan 20 02:29:19 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f3b3e2d dev-python/libvirt-python: add py3.5, examples, EAPI=6, re-enable tests Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Matthias Maier gentoo.org> .../libvirt-python/libvirt-python-2.5.0-r1.ebuild | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-python/libvirt-python/libvirt-python-2.5.0-r1.ebuild b/dev-python/libvirt-python/libvirt-python-2.5.0-r1.ebuild new file mode 100644 index 00000000..d2c9b67 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-2.5.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +MY_P="${P/_rc/-rc}" + +inherit distutils-r1 + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="git://libvirt.org/libvirt-python.git" + SRC_URI="" + KEYWORDS="" + RDEPEND="app-emulation/libvirt:=[-python(-)]" +else + SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" + RDEPEND="app-emulation/libvirt:0/${PV}" +fi +S="${WORKDIR}/${P%_rc*}" + +DESCRIPTION="libvirt Python bindings" +HOMEPAGE="https://www.libvirt.org" +LICENSE="LGPL-2" +SLOT="0" +IUSE="examples test" + +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-python/lxml[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +python_test() { + esetup.py test +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +}