git: 48949ed4c47e - main - databases/py-ormar: Adjust dependencie

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 07 Jun 2022 23:04:48 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=48949ed4c47ef1ba23538a72993837199250e079

commit 48949ed4c47ef1ba23538a72993837199250e079
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2022-06-07 23:00:30 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-06-07 23:04:04 +0000

    databases/py-ormar: Adjust dependencie
    
    - adjust dependencie to latest databases/py-databases version
    
    PR:             264516
---
 databases/py-ormar/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/databases/py-ormar/Makefile b/databases/py-ormar/Makefile
index 355a67e55a8a..29f369162f97 100644
--- a/databases/py-ormar/Makefile
+++ b/databases/py-ormar/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ormar
 DISTVERSION=	0.11.0
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,7 +11,7 @@ COMMENT=	Simple async ORM with fastapi in mind and pydantic validation
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}databases>=0.3.2,<0.6.0:databases/py-databases@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}databases>=0.3.2,<0.7.0:databases/py-databases@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydantic>=1.6.1,<1.10.0:devel/py-pydantic@${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}
@@ -44,7 +45,7 @@ PGSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asyncpg>0:databases/py-asyncpg@${PY_FL
 			${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR}
 
 # Tests require newer pytest
-# do-test:
-	# cd ${WRKSRC} && ${SETENV} ${TEST_ENV} TEST_DATABASE_URLS="sqlite:///testsuite" ${PYTHON_CMD} -m pytest -v -rs -o addopts=
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} TEST_DATABASE_URLS="sqlite:///testsuite" ${PYTHON_CMD} -m pytest -v -rs -o addopts=
 
 .include <bsd.port.mk>