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 394171382C5 for ; Sat, 14 Apr 2018 23:50:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50E1CE08CE; Sat, 14 Apr 2018 23:50:40 +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 2013AE08CE for ; Sat, 14 Apr 2018 23:50:40 +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 251BE335C5A for ; Sat, 14 Apr 2018 23:50:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3529F24E for ; Sat, 14 Apr 2018 23:50:36 +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: <1523747834.4139273b773fdc9fc3b75185ee162f1f346c2b95.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.2.0.ebuild X-VCS-Directories: dev-python/libvirt-python/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 4139273b773fdc9fc3b75185ee162f1f346c2b95 X-VCS-Branch: master Date: Sat, 14 Apr 2018 23:50:36 +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: df59e05f-3ae4-4987-bfba-2af91f0c3985 X-Archives-Hash: 25049fdbeb690be70141ce0e2da027d9 commit: 4139273b773fdc9fc3b75185ee162f1f346c2b95 Author: Matthias Maier gentoo org> AuthorDate: Sat Apr 14 23:13:32 2018 +0000 Commit: Matthias Maier gentoo org> CommitDate: Sat Apr 14 23:17:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4139273b dev-python/libvirt-python: version bump to 4.2.0 Package-Manager: Portage-2.3.28, Repoman-2.3.9 dev-python/libvirt-python/Manifest | 1 + .../libvirt-python/libvirt-python-4.2.0.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index 946effe0bf7..c630c2696af 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -1 +1,2 @@ DIST libvirt-python-4.1.0.tar.gz 186312 BLAKE2B 45ba81eb738e72e2561ab597c5cc395ae2260c7d93575391d2ce14622faf706052ea5d83adf6ca6a52c35cda4a9e80348f163f48ba318f5d0056b26a33961d25 SHA512 533c46c6827b0c3397713b39a7c6486e1bad40571907aa48da7818ad15569d4e01e33ffc787beb9486fc84b361985aa1d30ea474555d55494143f71dfea26947 +DIST libvirt-python-4.2.0.tar.gz 186496 BLAKE2B a4d556a0159c338f2a3a5fc8e6072b084aab427170b66f00dce5b8c4649bfd7d821e02846de906584a454acf2f1db34718a2f48110cf5c8faf6594a72b6e8f2b SHA512 4c06d7de470ff22ee5983598e66d26a3e850998311c8061952f9f6b5be0a7a0f437e2b214d3d66bf465acec9afb925dfb6dd0cd756ed78e818d19e15e7cfdf6a diff --git a/dev-python/libvirt-python/libvirt-python-4.2.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.2.0.ebuild new file mode 100644 index 00000000000..172f3dc3886 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-4.2.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 +}