git: 4267a0f3e060 - main - databases/py-ormar: Update 0.20.1 => 0.20.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Apr 2025 15:36:04 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4267a0f3e06009883facb9b5cbc8f08fc924096c
commit 4267a0f3e06009883facb9b5cbc8f08fc924096c
Author: Goran Mekić <meka@tilda.center>
AuthorDate: 2025-04-27 15:24:53 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-04-27 15:35:30 +0000
databases/py-ormar: Update 0.20.1 => 0.20.2
Changelog:
https://github.com/collerek/ormar/releases/tag/0.20.2
Pet portclippy.
PR: 286388
---
databases/py-ormar/Makefile | 33 ++++++++++++++++++---------------
databases/py-ormar/distinfo | 8 +++++---
2 files changed, 23 insertions(+), 18 deletions(-)
diff --git a/databases/py-ormar/Makefile b/databases/py-ormar/Makefile
index 26aec7ecdc37..09030994f00c 100644
--- a/databases/py-ormar/Makefile
+++ b/databases/py-ormar/Makefile
@@ -1,9 +1,11 @@
PORTNAME= ormar
-DISTVERSION= 0.20.1
-PORTREVISION= 1
+DISTVERSION= 0.20.2
CATEGORIES= databases python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PATCH_SITES= https://github.com/mekanix/ormar/commit/
+PATCHFILES+= 7268dfe2d6287607cc9ae0e37ac62b942c9574ef.patch:-p1
+
MAINTAINER= meka@tilda.center
COMMENT= Simple async ORM with fastapi in mind and pydantic validation
WWW= https://github.com/collerek/ormar
@@ -12,10 +14,9 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}databases>=0.3.2,<0.9.0:databases/py-databases@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}databases>=0.3.2:databases/py-databases@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic-extra-types>=0:devel/py-pydantic-extra-types@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic2>=0:devel/py-pydantic2@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.4.0:databases/py-sqlalchemy14@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7:devel/py-typing-extensions@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgi-lifespan>=0:devel/py-asgi-lifespan@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}async_timeout>0:devel/py-async_timeout@${PY_FLAVOR} \
@@ -30,33 +31,35 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgi-lifespan>=0:devel/py-asgi-lifespan@${P
${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0:devel/py-pytest-benchmark@${PY_FLAVOR}
USES= python
-USE_GITHUB= YES
-USE_PYTHON= autoplist concurrent cryptography pep517 pytest
+USE_GITHUB= yes
GH_ACCOUNT= collerek
-
-TEST_ENV= PYTHONPATH=${WRKSRC}
-NO_ARCH= yes
+USE_PYTHON= autoplist concurrent cryptography pep517 pytest
PYTEST_BROKEN_TESTS= test_read_main test_signal_functions \
test_multiple_signals test_static_methods_as_signals \
test_methods_as_signals test_multiple_senders_signal \
test_modifing_the_instance test_custom_signal \
test_relation_signal_functions
+TEST_ENV= PYTHONPATH=${WRKSRC}
+
+NO_ARCH= yes
+
OPTIONS_DEFINE= CRYPTO
+OPTIONS_DEFAULT= SQLITE
OPTIONS_GROUP= DATABASES
OPTIONS_GROUP_DATABASES= MYSQL PGSQL SQLITE
-OPTIONS_DEFAULT= SQLITE
-DATABASES_DESC= Database Support
CRYPTO_DESC= Support for password encryption
+DATABASES_DESC= Database Support
+
CRYPTO_USE= PYTHON=cryptography
-SQLITE_USES= sqlite
-SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosqlite>0:databases/py-aiosqlite@${PY_FLAVOR}
-MYSQL_USES= mysql
MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiomysql>0:databases/py-aiomysql@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR}
-PGSQL_USES= pgsql
+MYSQL_USES= mysql
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asyncpg>0:databases/py-asyncpg@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR}
+PGSQL_USES= pgsql
+SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosqlite>0:databases/py-aiosqlite@${PY_FLAVOR}
+SQLITE_USES= sqlite
.include <bsd.port.mk>
diff --git a/databases/py-ormar/distinfo b/databases/py-ormar/distinfo
index 43f78b6f413b..2c2e5bda63bd 100644
--- a/databases/py-ormar/distinfo
+++ b/databases/py-ormar/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1720951410
-SHA256 (collerek-ormar-0.20.1_GH0.tar.gz) = d561d6082be0b463c6bdcf3d433a191e6f118f6bead149f39994720c1fcd753c
-SIZE (collerek-ormar-0.20.1_GH0.tar.gz) = 399468
+TIMESTAMP = 1745761078
+SHA256 (collerek-ormar-0.20.2_GH0.tar.gz) = 3c18e67a6fc729e07bc832c63555b5c2d9a5ee72da1282479322f6766b255922
+SIZE (collerek-ormar-0.20.2_GH0.tar.gz) = 390303
+SHA256 (7268dfe2d6287607cc9ae0e37ac62b942c9574ef.patch) = 1274a09e2e1bf1445ea400652326eb2f683028b716e9b6897d1fbe1c88115284
+SIZE (7268dfe2d6287607cc9ae0e37ac62b942c9574ef.patch) = 237073