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 A15621382C5 for ; Tue, 30 Jan 2018 17:55:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C36A9E0D09; Tue, 30 Jan 2018 17:55:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9412AE0D09 for ; Tue, 30 Jan 2018 17:55:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 5DF46335C60 for ; Tue, 30 Jan 2018 17:55:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB12E1D6 for ; Tue, 30 Jan 2018 17:55:04 +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: <1517334896.4d0b860f0afb2132cf1c8bef635e2a4f5e6e17fa.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/Manifest dev-python/libvirt-python/libvirt-python-4.0.0.ebuild X-VCS-Directories: dev-python/libvirt-python/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 4d0b860f0afb2132cf1c8bef635e2a4f5e6e17fa X-VCS-Branch: master Date: Tue, 30 Jan 2018 17:55:04 +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: 59dcb2c5-cd81-4502-8d18-41829a8d86d7 X-Archives-Hash: 931ebd2a4664c92963ff06379dc9ebb0 commit: 4d0b860f0afb2132cf1c8bef635e2a4f5e6e17fa Author: Matthias Maier gentoo org> AuthorDate: Tue Jan 30 17:31:42 2018 +0000 Commit: Matthias Maier gentoo org> CommitDate: Tue Jan 30 17:54:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0b860f dev-python/libvirt-python: version bump to 4.0.0 Package-Manager: Portage-2.3.20, Repoman-2.3.6 dev-python/libvirt-python/Manifest | 1 + .../libvirt-python/libvirt-python-4.0.0.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index d5d8f73685f..38ee8590036 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -1,2 +1,3 @@ DIST libvirt-python-3.10.0.tar.gz 184402 BLAKE2B f3ae1626dc6fe2afc2eb7754f6872a6696389bc13a3e8f557c6487e83e3ef66104251910fb4841a2f8b1667cec0418b87ad5a7e9ababf76a39a0f4adaec23bc4 SHA512 bbab01d43b1d9e682c5590c1ea1454c8891f2c545b49f48220f4e79ec4b5b01ab1736242a96653256e26fdf644389c4021747117978a9ec4e1084001de9f23f9 DIST libvirt-python-3.8.0.tar.gz 184346 BLAKE2B 453051621c0e43eb73e0734a2a2651357f363c4f61c1cd6b883841a55e6c2338721b3e116e841a47386e12c8bdb1d36aecf9b8948876256effffd5396584a555 SHA512 40fcc67bf793b298016171751f207d65d98c8fe3e04d72bf4a815aab3c2f91a624fde1e0f1a420a67f4cf330874d7dd91ae46c3118e75067030ee551957a8178 +DIST libvirt-python-4.0.0.tar.gz 185533 BLAKE2B 3f9e3483265b18025bbfc0955c2b0b8276448c41e2d85a49ebc2d42f8dcd77af25a0a11ba04fbe02dba282a946ac3f583866c5d9fcda0d56e7a5f20dc63e7f94 SHA512 3eca33bb04265323ad47a6c8cb04a6848ab2b06bf656a188c7c0a39419e6dcc5c21f16682f6c64647da432c1d7e3ddc4699d848766987baccf806d68b5937d9a diff --git a/dev-python/libvirt-python/libvirt-python-4.0.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.0.0.ebuild new file mode 100644 index 00000000000..172f3dc3886 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-4.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="http://libvirt.org/sources/python/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~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 +}