Several new and updated ebuilds
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
DIST flask-restx-0.2.0.tar.gz 391148 BLAKE2B 7afc3f3e4b762fb35eb229ad832a5b2592c5f4b0918d2c33f3bf47c1a11af6e28f2144a488b5f40729da8a3bb0fe1e90417a7b8cf3a43753f3bcb7c27d706401 SHA512 a411a38cf985f0021e347e91213bd0a2a898874918469747492b05238a22d006be1cef9a50e12d138376723980127bc58bb1286f270ee64c229794a81e564713
|
||||
EBUILD flask-restx-0.2.0.ebuild 1240 BLAKE2B 4f4109348444fdde6c9fc8bffb20f7fe24325640ec4ff48bc61a5d0c0fdc6ac19162e964a9d5869b61fb15ada6702984b9584e8b15916cd5e4180c7033ed6d5b SHA512 ba93cc0f5e7124e0fe57c6e4f880df79d5b83033d60bb5634492acd814c2360f29f68fdcbbde682031d4697be001213d7d0877b01e3036b393c81b02f4454c3f
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fully featured framework for fast, easy and documented API development with Flask"
|
||||
HOMEPAGE="https://github.com/python-restx/flask-restx"
|
||||
SRC_URI="https://github.com/python-restx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/aniso8601-4.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
~dev-python/alabaster-0.7.12[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
~dev-python/sphinx-issues-1.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/rednose[${PYTHON_USEDEP}]
|
||||
dev-python/blinker[${PYTHON_USEDEP}]
|
||||
dev-python/tzlocal[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use test || rm -rf "${S}"/tests
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v || die "Tests fail with ${EPYTHON}"
|
||||
rm -rf "${BUILD_DIR}"/../tests/ || die
|
||||
}
|
||||
Reference in New Issue
Block a user