mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
databases/py-databases: Update to 0.7.0
PR: 268834 Reported by: meka@tilda.center(maintainer)
This commit is contained in:
parent
3e790e90be
commit
8e99f1cedd
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user