# 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="ORMagic is a simple, fast, and lightweight ORM for Python, built on top of Pydantic."

HOMEPAGE="https://spaceshaman.github.io/ORMagic/"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/56/5e/809aa965f1e1e3871c6f9a3aedfbbd84fce916d90e17731668ad747d40cf/ormagic-${REALVERSION}.tar.gz"
SOURCEFILE="ormagic-${REALVERSION}.tar.gz"
RESTRICT="test"

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

IUSE="postgres"
DEPENDENCIES="<dev-python/pydantic-3.0.0[${PYTHON_USEDEP}]
	postgres? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"