diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/libvalkey/Makefile | 6 | ||||
-rw-r--r-- | databases/libvalkey/distinfo | 6 | ||||
-rw-r--r-- | databases/libvalkey/pkg-plist | 5 | ||||
-rw-r--r-- | databases/py-sqlmodel/Makefile | 46 | ||||
-rw-r--r-- | databases/py-sqlmodel/distinfo | 3 | ||||
-rw-r--r-- | databases/py-sqlmodel/pkg-descr | 19 |
7 files changed, 77 insertions, 9 deletions
diff --git a/databases/Makefile b/databases/Makefile index 4c7bc1198675..ef5d3508bdae 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -861,6 +861,7 @@ SUBDIR += py-sqlite-migrate SUBDIR += py-sqlite-utils SUBDIR += py-sqlite3 + SUBDIR += py-sqlmodel SUBDIR += py-sqlobject SUBDIR += py-sqloxide SUBDIR += py-sqlparse diff --git a/databases/libvalkey/Makefile b/databases/libvalkey/Makefile index 5090da866e10..8488049ef93f 100644 --- a/databases/libvalkey/Makefile +++ b/databases/libvalkey/Makefile @@ -1,5 +1,5 @@ PORTNAME= libvalkey -DISTVERSION= 0.2.0 +DISTVERSION= 0.2.1 CATEGORIES= databases MAINTAINER= dtxdf@FreeBSD.org @@ -25,9 +25,9 @@ TLS_USES= ssl TLS_MAKE_ARGS= USE_TLS=1 post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvalkey.so.0.1.0 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvalkey.so.${DISTVERSION} post-install-TLS-on: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvalkey_tls.so.0.1.0 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvalkey_tls.so.${DISTVERSION} .include <bsd.port.mk> diff --git a/databases/libvalkey/distinfo b/databases/libvalkey/distinfo index 2a5fc91fc739..8bc3097121d6 100644 --- a/databases/libvalkey/distinfo +++ b/databases/libvalkey/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755627857 -SHA256 (valkey-io-libvalkey-0.2.0_GH0.tar.gz) = d620d93fc3c39b297babe3d9003901aeddaa600507a1844accdb23539a762029 -SIZE (valkey-io-libvalkey-0.2.0_GH0.tar.gz) = 207972 +TIMESTAMP = 1756498326 +SHA256 (valkey-io-libvalkey-0.2.1_GH0.tar.gz) = bc068b15eeb8f66c3205f55f7bfe1274b79ccced0dd8796e59d62091abeb3645 +SIZE (valkey-io-libvalkey-0.2.1_GH0.tar.gz) = 207895 diff --git a/databases/libvalkey/pkg-plist b/databases/libvalkey/pkg-plist index 07d3c858e797..b6095444557f 100644 --- a/databases/libvalkey/pkg-plist +++ b/databases/libvalkey/pkg-plist @@ -22,11 +22,10 @@ include/valkey/visibility.h lib/libvalkey.a lib/libvalkey.so lib/libvalkey.so.0 -lib/libvalkey.so.0.1.0 +lib/libvalkey.so.0.2.1 lib/libvalkey_tls.a lib/libvalkey_tls.so lib/libvalkey_tls.so.0 -lib/libvalkey_tls.so.0.1.0 +lib/libvalkey_tls.so.0.2.1 libdata/pkgconfig/valkey.pc libdata/pkgconfig/valkey_tls.pc - diff --git a/databases/py-sqlmodel/Makefile b/databases/py-sqlmodel/Makefile new file mode 100644 index 000000000000..0bf8f21d1d33 --- /dev/null +++ b/databases/py-sqlmodel/Makefile @@ -0,0 +1,46 @@ +PORTNAME= sqlmodel +DISTVERSION= 0.0.24 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= SQL databases in Python, designed for simplicity, compatibility, and robustness +WWW= https://sqlmodel.tiangolo.com/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=2.0.14<2.1.0:databases/py-sqlalchemy20@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=1.10.13<3.0.0:devel/py-pydantic2@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=6.2<8.0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mypy>=1.4.1:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ruff>=0.9.6:devel/py-ruff@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastapi>=0.103.2:www/py-fastapi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0.24.1:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dirty-equals>=0.9.0:devel/py-dirty-equals@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.4:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12.2:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} + +USES= python shebangfix +USE_PYTHON= autoplist pep517 pytest + +SHEBANG_FILES= scripts/test.sh +bash_CMD= ${SH} + +NO_ARCH= yes + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ./scripts/test.sh + +.include <bsd.port.mk> diff --git a/databases/py-sqlmodel/distinfo b/databases/py-sqlmodel/distinfo new file mode 100644 index 000000000000..606cd3026abd --- /dev/null +++ b/databases/py-sqlmodel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1756455526 +SHA256 (sqlmodel-0.0.24.tar.gz) = cc5c7613c1a5533c9c7867e1aab2fd489a76c9e8a061984da11b4e613c182423 +SIZE (sqlmodel-0.0.24.tar.gz) = 116780 diff --git a/databases/py-sqlmodel/pkg-descr b/databases/py-sqlmodel/pkg-descr new file mode 100644 index 000000000000..ea96d894e9fd --- /dev/null +++ b/databases/py-sqlmodel/pkg-descr @@ -0,0 +1,19 @@ +SQLModel is a library for interacting with SQL databases from Python +code, with Python objects. It is designed to be intuitive, easy to +use, highly compatible, and robust. + +SQLModel is based on Python type annotations, and powered by Pydantic +and SQLAlchemy. + +The key features are: +- Intuitive to write: Great editor support. Completion + everywhere. Less time debugging. Designed to be easy to use and + learn. Less time reading docs. +- Easy to use: It has sensible defaults and does a lot of work + underneath to simplify the code you write. +- Compatible: It is designed to be compatible with FastAPI, Pydantic, + and SQLAlchemy. +- Extensible: You have all the power of SQLAlchemy and Pydantic + underneath. +- Short: Minimize code duplication. A single type annotation does a + lot of work. No need to duplicate models in SQLAlchemy and Pydantic. |