guru/dev-python/os-traits/os-traits-2.7.0.ebuild
Alessandro Barbieri bf1f60cbb3
dev-python/os-traits: enable py3.10
Closes: https://bugs.gentoo.org/848222
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-05-29 23:04:50 +02:00

34 lines
776 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="os-traits is a library containing standardized trait strings"
HOMEPAGE="
https://github.com/openstack/os-traits
https://pypi.org/project/os-traits/
https://opendev.org/openstack/os-traits
https://launchpad.net/os-traits
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
test? (
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest