From 80eca95fd132352b42da89a0f0bb11862f3a48d3 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 4 Mar 2021 03:24:31 +0000 Subject: [PATCH] dev-python/flask-restful: add Python 3.9 Signed-off-by: Sam James --- dev-python/flask-restful/flask-restful-0.3.8.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dev-python/flask-restful/flask-restful-0.3.8.ebuild b/dev-python/flask-restful/flask-restful-0.3.8.ebuild index 1554dcb94c6db..eea5a35b47ce3 100644 --- a/dev-python/flask-restful/flask-restful-0.3.8.ebuild +++ b/dev-python/flask-restful/flask-restful-0.3.8.ebuild @@ -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 )