Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-glanceclient/
Date: Thu, 24 Feb 2022 18:02:58
Message-Id: 1645725754.9b9e92aa68b298a01cb93ad20b08ef981f5c5cd9.arthurzam@gentoo
1 commit: 9b9e92aa68b298a01cb93ad20b08ef981f5c5cd9
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 24 18:02:34 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 24 18:02:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9e92aa
7
8 dev-python/python-glanceclient: add 3.6.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/python-glanceclient/Manifest | 1 +
13 .../python-glanceclient-3.6.0.ebuild | 47 ++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest
17 index af04846dbbd8..1a0e53122ecf 100644
18 --- a/dev-python/python-glanceclient/Manifest
19 +++ b/dev-python/python-glanceclient/Manifest
20 @@ -1 +1,2 @@
21 DIST python-glanceclient-3.5.0.tar.gz 198273 BLAKE2B 7861a2124a9474c4f6267f5b82e6d7fa9825d3cdc8411fbb05afabf69928dd230a881452de57cf54f9cd1a52157f806826036d85f6a93651980ce65e86afd520 SHA512 e5db1afeea7e3f653d7afac7961aeb3ec28df5dc40bba6b8b70795efcfc66928c2af45ecc0e4bbcc0d59a0157599e4ef3af090a8b0ccd0d727e8a94d4f8c866e
22 +DIST python-glanceclient-3.6.0.tar.gz 202581 BLAKE2B 20bf5ee863cc3d319cc7b670f4a218c9b84b49c392f7a7756636a93643ddf81781f808d6d966ca1982246b66b7963354c433239f554eb2aa0291bd1d57da2e79 SHA512 7bcf08386cfe6d4787dd8e6616907814a53fcc35bdac1818aef7ba094dcd37dfddddda43a1451d55f22d175f400f8680801d1a43508c5d85ce39f15164b71a5d
23
24 diff --git a/dev-python/python-glanceclient/python-glanceclient-3.6.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-3.6.0.ebuild
25 new file mode 100644
26 index 000000000000..9f26fcf7d80a
27 --- /dev/null
28 +++ b/dev-python/python-glanceclient/python-glanceclient-3.6.0.ebuild
29 @@ -0,0 +1,47 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..9} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A client for the OpenStack Glance API"
40 +HOMEPAGE="https://github.com/openstack/python-glanceclient"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
46 +
47 +RDEPEND="
48 + >=dev-python/keystoneauth-3.6.2[${PYTHON_USEDEP}]
49 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
50 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
51 + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
52 + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
53 + >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
54 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
55 + >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}]
56 + <dev-python/warlock-2[${PYTHON_USEDEP}]
57 + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}]
58 +"
59 +BDEPEND="
60 + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
61 + test? (
62 + dev-python/ddt[${PYTHON_USEDEP}]
63 + dev-python/fixtures[${PYTHON_USEDEP}]
64 + dev-python/requests-mock[${PYTHON_USEDEP}]
65 + dev-python/tempest[${PYTHON_USEDEP}]
66 + dev-python/testscenarios[${PYTHON_USEDEP}]
67 + dev-python/testtools[${PYTHON_USEDEP}]
68 + )
69 +"
70 +
71 +distutils_enable_tests unittest
72 +
73 +python_test() {
74 + # functional tests require cloud instance access
75 + eunittest -b glanceclient/tests/unit
76 +}