summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-12-09 15:58:38 +0100
committerJustin Lecher <jlec@gentoo.org>2015-12-09 16:10:02 +0100
commit0eec7c4c6cbc672e1175821d3b6ddb947b799e95 (patch)
treed84b77ef14e3372691d5dfb6a896312fb02e448c /dev-python/flask
parentdev-python/blinker: Add python3.5 support (diff)
downloadgentoo-0eec7c4c6cbc672e1175821d3b6ddb947b799e95.tar.gz
gentoo-0eec7c4c6cbc672e1175821d3b6ddb947b799e95.tar.bz2
gentoo-0eec7c4c6cbc672e1175821d3b6ddb947b799e95.zip
dev-python/flask: Add python3.5 support
Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/flask')
-rw-r--r--dev-python/flask/flask-0.10.1-r2.ebuild16
-rw-r--r--dev-python/flask/metadata.xml2
2 files changed, 11 insertions, 7 deletions
diff --git a/dev-python/flask/flask-0.10.1-r2.ebuild b/dev-python/flask/flask-0.10.1-r2.ebuild
index e997dee4b8b1..8a18344fed1b 100644
--- a/dev-python/flask/flask-0.10.1-r2.ebuild
+++ b/dev-python/flask/flask-0.10.1-r2.ebuild
@@ -2,8 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
inherit distutils-r1
@@ -18,7 +19,8 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples"
-RDEPEND="dev-python/blinker[${PYTHON_USEDEP}]
+RDEPEND="
+ dev-python/blinker[${PYTHON_USEDEP}]
>=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}]
>=dev-python/jinja-2.4[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -30,9 +32,11 @@ DISTUTILS_IN_SOURCE_BUILD=1
S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}"/${P}-is_package.patch
- "${FILESDIR}"/${P}-sort_json.patch
- "${FILESDIR}"/${P}-test_appcontext.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-is_package.patch
+ "${FILESDIR}"/${P}-sort_json.patch
+ "${FILESDIR}"/${P}-test_appcontext.patch
+)
python_prepare_all() {
# Prevent un-needed d'loading
diff --git a/dev-python/flask/metadata.xml b/dev-python/flask/metadata.xml
index defac3fcb072..aa4957396a26 100644
--- a/dev-python/flask/metadata.xml
+++ b/dev-python/flask/metadata.xml
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>