dev-python/flask-restful: add Python 3.9

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-03-04 03:24:31 +00:00
parent 23ddaca05d
commit 80eca95fd1

View File

@@ -1,8 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1
@@ -23,19 +24,19 @@ RDEPEND="
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
"
DEPEND="
BDEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx docs
distutils_enable_tests nose
PATCHES=(
"${FILESDIR}"/flask-restful-0.3.8-werkzeug.patch
)
distutils_enable_sphinx docs
distutils_enable_tests nose
python_install_all() {
use examples && dodoc -r examples
local DOCS=( AUTHORS.md CHANGES.md CONTRIBUTING.md README.md )