mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 16:13:21 -04:00
dev-python/sqlmodel: add 0.0.24, new package
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
1
dev-python/sqlmodel/Manifest
Normal file
1
dev-python/sqlmodel/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sqlmodel-0.0.24.tar.gz 116780 BLAKE2B 94e9fd37398af55fd0958d3303f4315a56305856ff798f2569206656a1f7441bb70633c8e0522ec86543b5ffb4b63aa0f769d7833a86e35651b55c6a2ee5e18b SHA512 3a7b04c35a71ec96f6c3ddf83d9286a8f6d57efef5f136412cddc5c742a30e3e80015f8a738f539a5b294b4613e2f5db41adbc2deddfa39028211944a7cc5207
|
||||
13
dev-python/sqlmodel/metadata.xml
Normal file
13
dev-python/sqlmodel/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>negril.nx+gentoo@gmail.com</email>
|
||||
<name>Paul Zander</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="github">fastapi/sqlmodel</remote-id>
|
||||
<remote-id type="pypi">sqlmodel</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
58
dev-python/sqlmodel/sqlmodel-0.0.24.ebuild
Normal file
58
dev-python/sqlmodel/sqlmodel-0.0.24.ebuild
Normal 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-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydantic-1.10.13[${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}]
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user