commit:     e625524a4b7c2071f02e6b01d066813023466e66
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Dec 12 10:45:57 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Dec 12 10:45:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e625524a

dev-python/flask-restx: add 1.3.0

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-python/flask-restx/Manifest                 |  1 +
 dev-python/flask-restx/flask-restx-1.3.0.ebuild | 49 +++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/flask-restx/Manifest b/dev-python/flask-restx/Manifest
index 3fcd91b416..c2cb7304bc 100644
--- a/dev-python/flask-restx/Manifest
+++ b/dev-python/flask-restx/Manifest
@@ -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

diff --git a/dev-python/flask-restx/flask-restx-1.3.0.ebuild 
b/dev-python/flask-restx/flask-restx-1.3.0.ebuild
new file mode 100644
index 0000000000..51c5db5d93
--- /dev/null
+++ b/dev-python/flask-restx/flask-restx-1.3.0.ebuild
@@ -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}"
+}

Reply via email to