gentoo/dev-python/coreapi/coreapi-2.3.3-r1.ebuild
Michał Górny 81b1e96786
dev-python/coreapi: Port to py3.10, enable tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2021-07-08 08:55:26 +02:00

27 lines
663 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
MY_P=python-client-${PV}
DESCRIPTION="Python client library for Core API"
HOMEPAGE="https://github.com/core-api/python-client"
SRC_URI="
https://github.com/core-api/python-client/archive/${PV}.tar.gz
-> core-api-${MY_P}.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/coreschema[${PYTHON_USEDEP}]
dev-python/itypes[${PYTHON_USEDEP}]
dev-python/uritemplate[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
distutils_enable_tests pytest