mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
35 lines
994 B
Bash
35 lines
994 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Declarative parsing and validation of HTTP request objects"
|
|
HOMEPAGE="https://github.com/marshmallow-code/webargs"
|
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="test"
|
|
|
|
FRAMEWORKS="
|
|
dev-python/flask[${PYTHON_USEDEP}]
|
|
dev-python/django[${PYTHON_USEDEP}]
|
|
dev-python/bottle[${PYTHON_USEDEP}]
|
|
dev-python/tornado[${PYTHON_USEDEP}]
|
|
dev-python/pyramid[${PYTHON_USEDEP}]
|
|
dev-python/falcon[${PYTHON_USEDEP}]
|
|
$(python_gen_cond_dep 'dev-python/aiohttp[${PYTHON_USEDEP}]' pypy 'python3*' )
|
|
"
|
|
#python2 only: dev-python/webapp2[${PYTHON_USEDEP}]
|
|
|
|
RDEPEND="
|
|
>=dev-python/marshmallow-2.15.2[${PYTHON_USEDEP}]
|
|
$(python_gen_cond_dep 'dev-python/simplejson[${PYTHON_USEDEP}]' pypy python2_7 )
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|