blob: f6fad222b295832df45331873e0b9be11bdb6dee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="OpenStack Cinder brick library for managing local volume attaches"
HOMEPAGE="
https://opendev.org/openstack/os-brick
https://launchpad.net/os-brick
https://pypi.org/project/os-brick/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/pbr-5.5.1[${PYTHON_USEDEP}]
>=dev-python/eventlet-0.30.1[${PYTHON_USEDEP}]
>=dev-python/oslo-concurrency-4.4.0[${PYTHON_USEDEP}]
>=dev-python/oslo-context-3.1.1[${PYTHON_USEDEP}]
>=dev-python/oslo-log-4.4.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}]
>=dev-python/oslo-privsep-2.4.0[${PYTHON_USEDEP}]
>=dev-python/oslo-serialization-4.1.0[${PYTHON_USEDEP}]
>=dev-python/oslo-service-2.5.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
>=dev-python/tenacity-6.3.1[${PYTHON_USEDEP}]
>=dev-python/os-win-5.4.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
>=dev-python/ddt-1.4.1[${PYTHON_USEDEP}]
>=dev-python/oslotest-4.4.1[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}]
>=dev-python/testtools-2.4.0[${PYTHON_USEDEP}]
>=dev-python/oslo-vmware-3.8.0[${PYTHON_USEDEP}]
>=dev-python/castellan-3.7.0[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_prepare_all() {
sed -i -e 's/\tetc/\t\/etc/g' setup.cfg || die
distutils-r1_python_prepare_all
}
|