git: 8e99f1cedde3 - main - databases/py-databases: Update to 0.7.0

From: Wen Heping <wen_at_FreeBSD.org>
Date: Mon, 06 Feb 2023 07:07:38 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e99f1cedde393447b5319cc2a564093b2cf227a

commit 8e99f1cedde393447b5319cc2a564093b2cf227a
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2023-02-06 07:06:33 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-02-06 07:06:33 +0000

    databases/py-databases: Update to 0.7.0
    
    PR:             268834
    Reported by:    meka@tilda.center(maintainer)
---
 databases/py-databases/Makefile | 18 ++++++++++++------
 databases/py-databases/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/databases/py-databases/Makefile b/databases/py-databases/Makefile
index 1e128ca0f96d..5972e5466da6 100644
--- a/databases/py-databases/Makefile
+++ b/databases/py-databases/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	databases
-DISTVERSION=	0.6.2
+DISTVERSION=	0.7.0
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,17 +10,21 @@ WWW=		https://github.com/encode/databases
 
 LICENSE=	BSD3CLAUSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy14<=1.4.41:databases/py-sqlalchemy14@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy14<=1.5:databases/py-sqlalchemy14@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiomysql>0:databases/py-aiomysql@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}aiopg>0:databases/py-aiopg@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}async_timeout>0:devel/py-async_timeout@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}asyncmy>0:databases/py-asyncmy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}asyncpg>0:databases/py-asyncpg@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}starlette>=0:www/py-starlette@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	encode
 
 NO_ARCH=	yes
 
@@ -36,7 +40,9 @@ PGSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiopg>0:databases/py-aiopg@${PY_FLAVOR
 SQLITE_USES=		sqlite
 SQLITE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiosqlite>0:databases/py-aiosqlite@${PY_FLAVOR}
 
-# do-test:
-# 	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} TEST_DATABASE_URLS="sqlite:///testsuite" ${PYTHON_CMD} -m pytest -v -rs -o addopts=
+TEST_ENV+=	TEST_DATABASE_URLS="sqlite:///testsuite"
+
+post-extract:
+	${TOUCH} ${WRKSRC}/tests/__init__.py
 
 .include <bsd.port.mk>
diff --git a/databases/py-databases/distinfo b/databases/py-databases/distinfo
index b17f44cffb48..a7d1f4ccbdb2 100644
--- a/databases/py-databases/distinfo
+++ b/databases/py-databases/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668353464
-SHA256 (databases-0.6.2.tar.gz) = b09c370ad7c2f64c7f4316c096e265dc2e28304732639889272390decda2f893
-SIZE (databases-0.6.2.tar.gz) = 15116
+TIMESTAMP = 1675648713
+SHA256 (encode-databases-0.7.0_GH0.tar.gz) = c938f27865d1cb304838ac0962332b07ee738165b7fd4993907195df1165302c
+SIZE (encode-databases-0.7.0_GH0.tar.gz) = 32169