mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/flask: Add python3.5 support
Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user