Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libvirt-python/
Date: Sun, 04 Nov 2018 05:13:57
Message-Id: 1541308411.a4cb8787d37afd433f2c14d5c46278a3f7ecfb16.tamiko@gentoo
1 commit: a4cb8787d37afd433f2c14d5c46278a3f7ecfb16
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 4 05:02:45 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 4 05:13:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4cb8787
7
8 dev-python/libvirt-python: version bump to 4.8.0
9
10 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-python/libvirt-python/Manifest | 1 +
14 .../libvirt-python/libvirt-python-4.8.0.ebuild | 46 ++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
18 index 89cf71c17e5..c1f627e2fd2 100644
19 --- a/dev-python/libvirt-python/Manifest
20 +++ b/dev-python/libvirt-python/Manifest
21 @@ -2,3 +2,4 @@ DIST libvirt-python-4.3.0.tar.gz 187111 BLAKE2B 7266ca1b5836429e13a03dab0e2f5085
22 DIST libvirt-python-4.4.0.tar.gz 188431 BLAKE2B dc2dfc64139c3bb2a80516c345b1256311b1b2ceaa832de2ef60afe5422adabee626b25dffa96a1bd8428f4d0bd54ed5264d887522700a941aa646b4b43a7f8c SHA512 b4e740895c22aca20d8fc1cfadc9276e91e0a74aa7bad75d15de14be6704be8386055b700ea65045acfaabf3bfe8fa51e5d814e625e46d01b3ac0221419d25da
23 DIST libvirt-python-4.5.0.tar.gz 190016 BLAKE2B ba3aa68b2de6179cfddaff54bf96fa876959d97e72245ccdad8f9f681641166f5827d5244ae4c18b7a7b90a3201b3a797d30c2436a6ab5fcdbcfd56462348ba4 SHA512 14572225c2f5233aa8cb7257cff94d38effc4d988aac36108ca510dcd442d8c5194d6b25bddb2603bb1e1bc4dcb284f103899ce81063dc6a7994d78beea355ac
24 DIST libvirt-python-4.6.0.tar.gz 190306 BLAKE2B ed3659e69408e7b8b5f0ea3404a2e72c6e9c1fbc5c13352c535a3c30980e7d50f5cd1a2c4aea4438665ea3e9e506a91787b5ce43d5199f7c5d4bd25f22186033 SHA512 15c71820ea3c3f71cfa127b82374f05cc99d4ed5189ad9ec0e471b3491fc4050f7f938590a46f0eb9d9efcbf45971881ed4f40376619a9f6b3796459626d645c
25 +DIST libvirt-python-4.8.0.tar.gz 191575 BLAKE2B eda117ae3644a944bad3b98e2625cf77f69723109c1ac6f083894f56eaff0808a22ef1f62a73fa9b97b0e12fb95badb2a22e41e9a6e01c03f38bf23ecc4615c1 SHA512 f54740a185e8464e897bbd3a6709577e4b0cd9df6f75789b15d6d35067187846bc925f30c94b124131f742552276f9574bcb549c9e7577db952c17c0546f8fb5
26
27 diff --git a/dev-python/libvirt-python/libvirt-python-4.8.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.8.0.ebuild
28 new file mode 100644
29 index 00000000000..968deb8ce73
30 --- /dev/null
31 +++ b/dev-python/libvirt-python/libvirt-python-4.8.0.ebuild
32 @@ -0,0 +1,46 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
39 +
40 +MY_P="${P/_rc/-rc}"
41 +
42 +inherit distutils-r1
43 +
44 +if [[ ${PV} = *9999* ]]; then
45 + inherit git-r3
46 + EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
47 + SRC_URI=""
48 + KEYWORDS=""
49 + RDEPEND="app-emulation/libvirt:=[-python(-)]"
50 +else
51 + SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz"
52 + KEYWORDS="~amd64 ~arm64 ~x86"
53 + RDEPEND="app-emulation/libvirt:0/${PV}"
54 +fi
55 +S="${WORKDIR}/${P%_rc*}"
56 +
57 +DESCRIPTION="libvirt Python bindings"
58 +HOMEPAGE="https://www.libvirt.org"
59 +LICENSE="LGPL-2"
60 +SLOT="0"
61 +IUSE="examples test"
62 +
63 +DEPEND="${RDEPEND}
64 + virtual/pkgconfig
65 + test? ( dev-python/lxml[${PYTHON_USEDEP}]
66 + dev-python/nose[${PYTHON_USEDEP}] )"
67 +
68 +python_test() {
69 + esetup.py test
70 +}
71 +
72 +python_install_all() {
73 + if use examples; then
74 + dodoc -r examples
75 + docompress -x /usr/share/doc/${PF}/examples
76 + fi
77 + distutils-r1_python_install_all
78 +}