dev-python/sqlmodel: add 0.0.31

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Alfred Wingate
2025-12-29 23:35:05 +02:00
committed by Paul Zander
parent 36e7ffaf40
commit 3765b8e6f5
2 changed files with 59 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sqlmodel-0.0.29.tar.gz 119485 BLAKE2B 82d98cb0f5db782d473f7434ccfd9150ecb2f68b3a54c0a905a6c5c9681c4431780f233033236fce4a67d9daca00d7859be4288aa567f66d39db8d4968b05d9d SHA512 49775a6f21545078188fa8f172a731241d6965bb099b0c2948d445f50ca90420c9fae466c4fe6fd87f7e7addeb2cfdb370e5d7fddd521d1d51dcc1f098277503
DIST sqlmodel-0.0.31.tar.gz 94952 BLAKE2B 6c2a968a6a0145b43e94317afa619905065f8e8f293ab6ded2549a37eb151814f9f2f41e05dbdcc1def8456fa60d158670d6ed5e6ef60a6950cc8c561514fd12 SHA512 485020a6f91e82a0bf9eb9c10fec69af3f1513e34808119afe58f635b182e677f5b20f9c46497fa68bf3bc037f0e534209895c882e6cdec3ab1f95533dc72f92

View File

@@ -0,0 +1,58 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pdm-backend
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1 pypi
DESCRIPTION="SQL databases in Python, designed for simplicity, compatibility, and robustness."
HOMEPAGE="
https://sqlmodel.tiangolo.com/
https://github.com/fastapi/sqlmodel/
https://pypi.org/project/sqlmodel/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
<dev-python/sqlalchemy-2.1.0[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-2.0.14[${PYTHON_USEDEP}]
>=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/black[${PYTHON_USEDEP}]
dev-python/fastapi[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]
dev-python/dirty-equals[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# Uses coverage
# TIP: Search for subprocess.run([coverage])
"tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_py310_tests_main.py::test_run_tests"
"tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_py39_tests_main.py::test_run_tests"
"tests/test_tutorial/test_fastapi/test_app_testing/test_tutorial001_tests_main.py::test_run_tests"
)
EPYTEST_IGNORE=(
# Uses coverage
# TIP: Search for imports of coverage_run
"tests/test_tutorial/test_create_db_and_table/test_tutorial001.py"
"tests/test_tutorial/test_create_db_and_table/test_tutorial001_py310.py"
)
python_test() {
epytest tests
}