commit:     6e0ae1e925b594877717535a2e0dc6dc745e688f
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Thu May  8 21:09:45 2025 +0000
Commit:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
CommitDate: Thu May  8 21:13:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e0ae1e9

dev-python/sqlmodel: add 0.0.24, new package

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>

 dev-python/sqlmodel/Manifest               |  1 +
 dev-python/sqlmodel/metadata.xml           | 13 +++++++
 dev-python/sqlmodel/sqlmodel-0.0.24.ebuild | 58 ++++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/dev-python/sqlmodel/Manifest b/dev-python/sqlmodel/Manifest
new file mode 100644
index 000000000..607180c7c
--- /dev/null
+++ b/dev-python/sqlmodel/Manifest
@@ -0,0 +1 @@
+DIST sqlmodel-0.0.24.tar.gz 116780 BLAKE2B 
94e9fd37398af55fd0958d3303f4315a56305856ff798f2569206656a1f7441bb70633c8e0522ec86543b5ffb4b63aa0f769d7833a86e35651b55c6a2ee5e18b
 SHA512 
3a7b04c35a71ec96f6c3ddf83d9286a8f6d57efef5f136412cddc5c742a30e3e80015f8a738f539a5b294b4613e2f5db41adbc2deddfa39028211944a7cc5207

diff --git a/dev-python/sqlmodel/metadata.xml b/dev-python/sqlmodel/metadata.xml
new file mode 100644
index 000000000..71838e29a
--- /dev/null
+++ b/dev-python/sqlmodel/metadata.xml
@@ -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>[email protected]</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>

diff --git a/dev-python/sqlmodel/sqlmodel-0.0.24.ebuild 
b/dev-python/sqlmodel/sqlmodel-0.0.24.ebuild
new file mode 100644
index 000000000..e27ed16ec
--- /dev/null
+++ b/dev-python/sqlmodel/sqlmodel-0.0.24.ebuild
@@ -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
+}

Reply via email to