mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 16:33:09 +01:00
35 lines
885 B
Bash
35 lines
885 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{9..10} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Python client library for Core API"
|
|
HOMEPAGE="https://github.com/core-api/python-client"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-python/coreschema[${PYTHON_USEDEP}]
|
|
dev-python/itypes[${PYTHON_USEDEP}]
|
|
dev-python/requests[${PYTHON_USEDEP}]
|
|
dev-python/uritemplate[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
"
|
|
# test? ( dev-python/mock[${PYTHON_USEDEP}]
|
|
# )"
|
|
|
|
#python_test() {
|
|
# # Skip tests which require network access
|
|
# py.test -k "not (test_access_token_post or test_access_token_get \
|
|
# or test_two_legged_post or test_two_legged_get)" || die \
|
|
# "tests failed with ${EPYTHON}"
|
|
#}
|