mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-09 20:30:33 -04:00
dev-python/sqlmodel: add 0.0.38
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST sqlmodel-0.0.37.tar.gz 85527 BLAKE2B 28edc63001d0127f09062b77444aeb98e41f0b6bf205fc3ecd8a9a3e13e69071be7422477a4fc1b6eae6db9e4d765639615e483eb4316f0d43cbf0d70168a294 SHA512 11d6d34a128a17bff1cd446fcc9c2eb7372fabafb6761c3ead0d91335d090773be4dce972ee206462eab29b3cad0b9c033cd092ad4d4eecd94978cbb1dd19936
|
||||
DIST sqlmodel-0.0.38.tar.gz 86710 BLAKE2B 1ee9df40c3b2be81cbe05694f8a7be7bb3abf9befbce773e248e3961b99d44ffb3b92c20db3568a2427940bbf004ec103741bd2504f9e897e7a35958c29175c6 SHA512 740f68f2a9953e36becd5e100a229ec2bfb24b7a6ec61fa1706ea93ada43460dd059f5451716e86106132fdde26ff3b22f8e1139b99680e858e4321cc2a95f2f
|
||||
|
||||
59
dev-python/sqlmodel/sqlmodel-0.0.38.ebuild
Normal file
59
dev-python/sqlmodel/sqlmodel-0.0.38.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 2024-2026 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/pydantic-2.11.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-2.0.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/fastapi[${PYTHON_USEDEP}]
|
||||
dev-python/httpx[${PYTHON_USEDEP}]
|
||||
dev-python/dirty-equals[${PYTHON_USEDEP}]
|
||||
dev-python/jinja2[${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"
|
||||
# Updates files
|
||||
"tests/test_select_gen.py::test_select_gen"
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user