diff --git a/dev-python/flask-restx/Manifest b/dev-python/flask-restx/Manifest new file mode 100644 index 0000000000..7fe71e9d3f --- /dev/null +++ b/dev-python/flask-restx/Manifest @@ -0,0 +1 @@ +DIST flask-restx-0.5.1.tar.gz 398653 BLAKE2B 605c66decc83d8d7fc3449d3b7053cc2bb589d23f4db22d3a61b9422a97ceefdc0335af8c002762ec7693844b005f5562fdfda09e95c1e83fa266709af640a9d SHA512 0e4ca95a6bb45f7dfba1758387aded6215ec64fa55060889e6843fb50eed09fda96ba936eacd0d8f27b29f5dec2468d4945386f25ff4de6a51f571e16617cf52 diff --git a/dev-python/flask-restx/flask-restx-0.5.1.ebuild b/dev-python/flask-restx/flask-restx-0.5.1.ebuild new file mode 100644 index 0000000000..b36d6d5ab0 --- /dev/null +++ b/dev-python/flask-restx/flask-restx-0.5.1.ebuild @@ -0,0 +1,48 @@ +# 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_{8..10}) +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 ~x86" +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}] + ) +" + +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}" +} diff --git a/dev-python/flask-restx/metadata.xml b/dev-python/flask-restx/metadata.xml new file mode 100644 index 0000000000..7ba40ca605 --- /dev/null +++ b/dev-python/flask-restx/metadata.xml @@ -0,0 +1,8 @@ + + + + + davidroman96@gmail.com + David Roman + +