mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 16:43:17 -04:00
dev-python/tekore: cleanup old
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST tekore-2.1.3.tar.gz 202522 BLAKE2B 2328116cf0d25e2c55e9f68c38064293bfb3e0d5361d02a7ed9f79a723ede54afeee2a355949ea619c56f02b242497a58044704197b757530cf51273b6970cc4 SHA512 d0895cdeee442bda19aecccd0cc2bd4022284972c535dac42d1aaa3c1e2b6676e9d80515cee44c555e6180b2b81a007fa43e77cb44f81c90e06aad6c6410d981
|
||||
DIST tekore-3.0.1.tar.gz 166629 BLAKE2B 7c79ccb5b5b336f09db70f5bd4ab4cd7c6839965117dba12bf75c23bc44d1a678a3348e1bbdf22e82ad25e458e344259c65be561de7913ec0a421551696407e4 SHA512 1217d6787d6f4be86a384eca4b2763be6229e14e8d53b3c304b5f88ad8ab785c6bd0c46f2305b539686eba5e5ee521d34ce18e3ab20d0946451c7d4d8bebd4f8
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Spotify Web API client"
|
||||
HOMEPAGE="https://tekore.readthedocs.io
|
||||
https://github.com/felix-hilden/tekore"
|
||||
SRC_URI="https://github.com/felix-hilden/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
>=dev-python/httpx-0.11.1[${PYTHON_USEDEP}]
|
||||
<dev-python/httpx-0.14[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="test? (
|
||||
>=dev-python/pytest-asyncio-0.11[${PYTHON_USEDEP}]
|
||||
<dev-python/pytest-asyncio-0.15[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS="readme.rst"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
# doc not working: 'PosixPath' object has no attribute 'rstrip'
|
||||
#distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme dev-python/sphinx-autodoc-typehints
|
||||
|
||||
python_prepare_all() {
|
||||
# requires network
|
||||
sed -i -e 's:test_bad_arguments_raises_error:_&:' \
|
||||
tests/auth/expiring.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
#need this, otherwise: no tests ran
|
||||
python_test() {
|
||||
pytest -vv tests/* || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user