From nobody Thu Apr 04 09:49:44 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V9H0911khz5Ggc5; Thu, 4 Apr 2024 09:49:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V9H085TKxz4wbt; Thu, 4 Apr 2024 09:49:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712224184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wIFB6dhtiMJfLHxRwXy8B/vOXFk/7q5pK7sKUQzwOT4=; b=cSN22EZ2qY6JsyLMK/UZTnJ/TU/xSg/+fdADy2OJxfGlA0SaUrxYBDpk8ScwKjq/d1Hq2i fT3Xb9qamRqQzkVKBbeLZ1NEXnaBAY7rB4o+XiFzjffCJdCzmyDUU6P24LmYy7+dOnuHhu 4RON3BG+p1FyPDNevGVRqCTXmCKuLW3rltEeCjma/weJ9SINDGgs6aZEicJ4sHEwH7xq7a /6XYGLr9EXDAW1ysXYpRkh9M+QWC8zHjCMj54yjYVH/Gx+SMKMzTIAMQ+5Rd/+QncCUxZ+ Hb3MeG2sYWUMZm7seavLGd0skqoQ9tlzDGxpwRwUB2Ua1+vgq5EwxLXITB9HIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712224184; a=rsa-sha256; cv=none; b=r+RxziYKdMcBR7LvP9wzGwZTxx3AoD6MVnfoT+hKeGJqx+0r9BRXkgC+JlERPipUkiztMl gQ5gsPQX5/9FX8FmNKfz3L7PVCp9UYZ6rqeu6Y750j3nFKd+PY+z7267TsPJR3OWcER0K1 SYWoAFRnTYpATkDqM57eHrU6pX1WC/BqhGVF2IScDTjtVMdET/6b+tSL23ZJJ9ccIoUaUy vo8OSm8V8Hda3BEb2/QlMI9UdSlVjOo4JOPhO7TGCrb/vca8Is+DHhuYwU/sgqBP8tT+Cx SZ1CAaJnesjcHhblZpaY/FkOinUfNHehYtaq43uvXRGxwjljs3kGxkGdBf3WHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712224184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wIFB6dhtiMJfLHxRwXy8B/vOXFk/7q5pK7sKUQzwOT4=; b=Qlm7qROpTAX0WVC3cb6HDL/5IBMaFX1CIzNbqBKGbAkVLKyVUspEJ9Y+ciP4kS42C3HsrW JLeGkeA25eqxVxC6DueKn8vgbUPiu6C+sUaj90HZBwpN5OhVgXKCOur21vrMSLvAzP602V v8QY3nwqRfk9FD3Q06p7r09qN+p88NOa6k+zw38DIuS4qF43xZ/Hm2+kuFA2CyspGRtg+C TS1vlYdpY8XxXxMh4e3Voi/mwwuRjqeGEqUAvDjSjAKClnUZYAw3G86k5ZcdmP8rNUFjSr 1o7eoH2IvrbkBERJFJazuY4lYYyamjYA6H+YVujxSGRhUWxfkJpVbj3uoptW3A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V9H0855Trz1B99; Thu, 4 Apr 2024 09:49:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4349ni4Q072862; Thu, 4 Apr 2024 09:49:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4349niAU072859; Thu, 4 Apr 2024 09:49:44 GMT (envelope-from git) Date: Thu, 4 Apr 2024 09:49:44 GMT Message-Id: <202404040949.4349niAU072859@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 72a3d2029352 - main - databases/py-ormar: Update to 0.20.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 72a3d2029352c6267dee3fc0894f2871aa410a33 Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=72a3d2029352c6267dee3fc0894f2871aa410a33 commit 72a3d2029352c6267dee3fc0894f2871aa410a33 Author: Goran Mekić AuthorDate: 2024-04-04 09:48:25 +0000 Commit: Nuno Teixeira CommitDate: 2024-04-04 09:49:32 +0000 databases/py-ormar: Update to 0.20.0 ChangeLog: https://github.com/collerek/ormar/releases/tag/0.20.0 PR: 278070 --- databases/py-ormar/Makefile | 31 +++++++++++++--------- databases/py-ormar/distinfo | 6 ++--- .../patch-benchmarks_test__benchmark__init.py | 15 ----------- 3 files changed, 22 insertions(+), 30 deletions(-) diff --git a/databases/py-ormar/Makefile b/databases/py-ormar/Makefile index b1194f251134..a46b4cfe354e 100644 --- a/databases/py-ormar/Makefile +++ b/databases/py-ormar/Makefile @@ -1,5 +1,5 @@ PORTNAME= ormar -DISTVERSION= 0.12.2 +DISTVERSION= 0.20.0 CATEGORIES= databases python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,19 +10,22 @@ WWW= https://github.com/collerek/ormar LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}databases>=0.3.2,<0.9.0:databases/py-databases@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pydantic>=1.6.1,<1.11.0,1:devel/py-pydantic@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}databases>=0.3.2,<0.9.0: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}fastapi>=0:www/py-fastapi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0:devel/py-pytest-benchmark@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}nest-asyncio>=0:devel/py-nest-asyncio@${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} \ ${PYTHON_PKGNAMEPREFIX}asyncpg>=0:databases/py-asyncpg@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastapi>=0:www/py-fastapi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nest-asyncio>=0:devel/py-nest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymysql>=0:databases/py-pymysql@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}asgi-lifespan>=0:devel/py-asgi-lifespan@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0:devel/py-pytest-benchmark@${PY_FLAVOR} USES= python USE_GITHUB= YES @@ -30,9 +33,13 @@ USE_PYTHON= autoplist concurrent pep517 pytest GH_ACCOUNT= collerek PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR} -TEST_ENV= PYTHONPATH=${WRKSRC}/src - +TEST_ENV= PYTHONPATH=${WRKSRC} NO_ARCH= yes +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 OPTIONS_DEFINE= CRYPTO OPTIONS_GROUP= DATABASES diff --git a/databases/py-ormar/distinfo b/databases/py-ormar/distinfo index 364d6533697d..78d78505e3f9 100644 --- a/databases/py-ormar/distinfo +++ b/databases/py-ormar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1696062965 -SHA256 (collerek-ormar-0.12.2_GH0.tar.gz) = dc67369d2eff330655adc30ff4ba84fc6c56421b233142e3c8306eb19d6a2fc0 -SIZE (collerek-ormar-0.12.2_GH0.tar.gz) = 375209 +TIMESTAMP = 1710767351 +SHA256 (collerek-ormar-0.20.0_GH0.tar.gz) = 7e00fdefce42ebd19836599645f299fc75ab27ca0ad1f385b4007cd6aefac4c5 +SIZE (collerek-ormar-0.20.0_GH0.tar.gz) = 381644 diff --git a/databases/py-ormar/files/patch-benchmarks_test__benchmark__init.py b/databases/py-ormar/files/patch-benchmarks_test__benchmark__init.py deleted file mode 100644 index 3f7ee1af73c8..000000000000 --- a/databases/py-ormar/files/patch-benchmarks_test__benchmark__init.py +++ /dev/null @@ -1,15 +0,0 @@ ---- benchmarks/test_benchmark_init.py.orig 2023-10-04 07:21:13 UTC -+++ benchmarks/test_benchmark_init.py -@@ -1,3 +1,4 @@ -+import asyncio - import random - import string - -@@ -20,6 +21,7 @@ async def test_initializing_models(aio_benchmark, num_ - for i in range(0, num_models) - ] - assert len(authors) == num_models -+ return asyncio.sleep(0) - - await initialize_models(num_models) -