diff --git a/dev-python/flask-restx/Manifest b/dev-python/flask-restx/Manifest index 19db7fcf45..ae28dc3444 100644 --- a/dev-python/flask-restx/Manifest +++ b/dev-python/flask-restx/Manifest @@ -1 +1,2 @@ DIST flask-restx-1.3.0.tar.gz 400119 BLAKE2B 9f1056ed517eba9438cd29b67b621fdc46b63d3b8351dac8f7c11fc20bdea058f6b0ad5b1d732b0edb71e4fac16006535a7ec48e3a47e1aa7e261861b7fc37cb SHA512 6e1148e124fb84b486b799f7dc11dd627e8da43af89f51f603267d9e569c8517280fca7898309dbacb9213131419fa745725b7ffa5af40c17aaeeee0453f6146 +DIST flask-restx-1.3.2.tar.gz 401497 BLAKE2B 671580d824c55c00f3cf64b9604305b1f75a300efef00e3b5baf3d9a505dec433598e479f75f2eb7ffd27fc356c8b532ea681d9abab89abe999a9979a84859f1 SHA512 fa679015a59870b1c2900c9450bb5f544be90d30420edc5634917e20b5b747ea4d6c81ef110b23c0dbf7c9abdc186230a8c3ea03e104dfb3c4e4723c5bb09926 diff --git a/dev-python/flask-restx/flask-restx-1.3.2.ebuild b/dev-python/flask-restx/flask-restx-1.3.2.ebuild new file mode 100644 index 0000000000..94a070ae64 --- /dev/null +++ b/dev-python/flask-restx/flask-restx-1.3.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13}) +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}] +" + +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}] + ) +" + +PATCHES=( "${FILESDIR}/${PN}-avoid-importlib_resources.patch" ) + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + "tests/test_swagger.py::SwaggerTest::test_specs_endpoint_host_and_subdomain" + "tests/test_fields.py::DatetimeFieldTest::test_iso8601_value" + "tests/test_fields.py::DatetimeFieldTest::test_rfc822_value" + "tests/test_inputs.py::URLTest::test_check" + "tests/test_inputs.py::EmailTest::test_valid_value_check" +) + +EPYTEST_IGNORE=( + "tests/benchmarks/bench_marshalling.py" + "tests/benchmarks/bench_swagger.py" +)