Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-09-08 13:35:11 +00:00
4 changed files with 2 additions and 51 deletions

View File

@@ -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

View File

@@ -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}"
}

View File

@@ -1 +1 @@
DIST vidify-2.2.5.tar.gz 2906471 BLAKE2B f66de21762697182e63317cd78feb7b70d0e10fb0186c8f4a8caff355772a8d0cded6f7126ba2e0d9c020c3858549e38e4024464db8c8b563887660ab47bc196 SHA512 c5d2a0011b65e4bd5487bfe2c24cd24c4e383c242dafbd76888635a1779ac9b23b01225dac65f09ea2c08eb15162243b30cd50da669057f08d26d8ebeb23121c
DIST vidify-2.2.6.tar.gz 2906511 BLAKE2B 3df48ca57e102f664852e2fc2abeb3d19427673e1fec5144a8c0afda112a0f3b281b18db43b4326244266d6e9dfbcb2443319ddad3f864098a61bd1e3c966307 SHA512 15487ee9dcbe647b2b287bd2eb3c09962b557320313a9a3885fb3c0d6af945909531111d5297c1a5fb5b451af5df6fd968b3953bbf79af113980ed368a5674b5

View File

@@ -43,8 +43,7 @@ python_prepare_all() {
# this needs dbus and a player running
rm tests/api/test_mpris.py || die
# fails to parse config for some reason
# likely because of the removal of the above tests
# can't parse non-existent config
rm tests/test_api_and_player_data.py || die
# do not hard depend on this