dev-python/tekore: move to ::gentoo

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2021-05-20 15:43:58 +02:00
parent bd82a7c3e0
commit 19d4f3316a
6 changed files with 0 additions and 107 deletions

View File

@@ -1 +0,0 @@
DIST sphinx-autodoc-typehints-1.11.1.tar.gz 17361 BLAKE2B 2ea3c3cd19c2bcb6c6dcc8c37ef60e977a852c29337f34f090d54cd1b2a7525f32dbef83c369042fc28a555f340231f3754bc301bb5056c40de9915da94fa8e4 SHA512 ac6b15247496ef2e284be57cf715972865859b1f3c51a7548aca07d7ded9dd53e75114064cd5a8c66539ef2cee983e1a3213570baa09b5c3ced594893e14bc38

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@gentoo.org</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<longdescription lang="en">
This extension allows you to use Python 3 annotations for documenting acceptable argument types and return value types of functions. This allows you to use type hints in a very natural fashion
</longdescription>
<upstream>
<remote-id type="github">agronholm/sphinx-autodoc-typehints</remote-id>
<remote-id type="pypi">sphinx-autodoc-typehints</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
DESCRIPTION="Type hints support for the Sphinx autodoc extension "
HOMEPAGE="
https://github.com/agronholm/sphinx-autodoc-typehints
https://pypi.org/project/sphinx-autodoc-typehints
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
DEPEND="test? (
dev-python/sphobjinv[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
python_prepare_all() {
# skip these tests: need internet
sed -i -e 's:test_parse_annotation:_&:' \
-e 's:test_format_annotation:_&:' \
-e 's:test_format_annotation_both_libs:_&:' \
tests/test_sphinx_autodoc_typehints.py || die
distutils-r1_python_prepare_all
}

View File

@@ -1 +0,0 @@
DIST tekore-3.6.2.tar.gz 257516 BLAKE2B 68b1506b50e078234c86e6a634820289567f5e1b2d33d66f14270a0189b7f4bc18af2ec393c9f6733b48cfcc888dac32c73c137a40e34da2e5f2379931f57f8c SHA512 71f6d3f2eda3603d8c145fe94d56b54118964eadd2e4b40097aac14a793577355526fa41c077829ae40c5bb89a53869ca88c41dce0ed3e3f88e828147e16b3db

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@gentoo.org</email>
<name>Andrew Ammerlaan</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
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/httpx-0.11[${PYTHON_USEDEP}]
<dev-python/httpx-0.17[${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
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
}