# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="A successful practice combining flask_restx with marshmallow"

HOMEPAGE="https://github.com/1746104160/flask-restx-marshmallow"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME//-/_}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME//-/_}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="databases mysql pgsql"
DEPENDENCIES="<dev-python/flask-3.0.0[${PYTHON_USEDEP}]
	dev-python/flask-restx[${PYTHON_USEDEP}]
	<dev-python/sqlalchemy-3.0.0[${PYTHON_USEDEP}]
	<dev-python/marshmallow-4.0.0[${PYTHON_USEDEP}]
	dev-python/marshmallow-sqlalchemy[${PYTHON_USEDEP}]
	<dev-python/orjson-4.0.0[${PYTHON_USEDEP}]
	dev-python/webargs[${PYTHON_USEDEP}]
	dev-python/SQLAlchemy-Utils[${PYTHON_USEDEP}]
	<dev-python/sortedcontainers-3.0.0[${PYTHON_USEDEP}]
	<dev-python/flask-sqlalchemy-4.0.0[${PYTHON_USEDEP}]
	<dev-python/apispec-7.0.0[${PYTHON_USEDEP}]
	<dev-python/filetype-2.0.0[${PYTHON_USEDEP}]
	<dev-python/beautifulsoup4-5.0.0[${PYTHON_USEDEP}]
	dev-python/Flask-JWT-Extended[${PYTHON_USEDEP}]
	<dev-python/redis-5.0.0[${PYTHON_USEDEP}]
	<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
	<dev-python/flask-caching-3.0.0[${PYTHON_USEDEP}]
	<dev-python/passlib-2.0.0[${PYTHON_USEDEP}]
	<dev-python/mysqlclient-3.0.0[${PYTHON_USEDEP}]
	pgsql? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )
	databases? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )
	mysql? ( <dev-python/pymysql-2.0.0[${PYTHON_USEDEP}] )
	databases? ( <dev-python/pymysql-2.0.0[${PYTHON_USEDEP}] )
	dev-python/toml[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"