dev-python/flask-restx: add 1.3.0

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2023-12-12 11:45:57 +01:00
parent ca6f632ac9
commit e625524a4b
2 changed files with 50 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST flask-restx-1.1.0.tar.gz 398890 BLAKE2B 0268d0173e35bd36e3cd7c8eb40b1083370eed9cad3fe0cd0c55c548481844f14fa68b80f7d0461ef98074ca384cb880c1c9c30fb8d1bf0ca5e497b0cfc134b2 SHA512 83c0319591078827fe7ad2db04833817df13b5e808e3137b309b6b994908c9ae40c665aa8f10def5e06a7d1f41d9b4dc03be35c46b6403e03ef28684cc512380
DIST flask-restx-1.3.0.tar.gz 400119 BLAKE2B 9f1056ed517eba9438cd29b67b621fdc46b63d3b8351dac8f7c11fc20bdea058f6b0ad5b1d732b0edb71e4fac16006535a7ec48e3a47e1aa7e261861b7fc37cb SHA512 6e1148e124fb84b486b799f7dc11dd627e8da43af89f51f603267d9e569c8517280fca7898309dbacb9213131419fa745725b7ffa5af40c17aaeeee0453f6146

View File

@@ -0,0 +1,49 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11,12})
inherit distutils-r1
DESCRIPTION="Framework API development with Flask"
HOMEPAGE="https://flask-restx.readthedocs.io"
SRC_URI="https://github.com/python-restx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="
dev-python/aniso8601[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
dev-python/importlib-resources[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? (
dev-python/blinker[${PYTHON_USEDEP}]
dev-python/Faker[${PYTHON_USEDEP}]
dev-python/pytest-flask[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
skip_tests=" \
not ReqParseTest and \
not EmailTest and \
not URLTest and \
not LoggingTest"
epytest tests/test_*.py -k "${skip_tests}"
}