Files
gentoo/dev-python/oslotest/oslotest-4.5.0-r2.ebuild
Michał Górny ec1f2348a6 dev-python/oslotest: Strip subunit requirement
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-05-29 07:07:38 +02:00

38 lines
841 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Oslo test framework"
HOMEPAGE="
https://opendev.org/openstack/oslotest/
https://github.com/openstack/oslotest/
https://pypi.org/project/oslotest/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux"
BDEPEND="
>=dev-python/pbr-1.8[${PYTHON_USEDEP}]
"
RDEPEND="
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
"
distutils_enable_tests unittest
src_prepare() {
sed -i -e '/subunit/d' requirements.txt || die
distutils-r1_src_prepare
}