summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2023-07-22 09:38:27 +0200
committerTobias C. Berner <tcberner@FreeBSD.org>2023-07-22 09:46:38 +0200
commitb28a739884e37c25bb57ea5f157252adb63065d3 (patch)
tree73d4c9e3ccdb6b0fb271ce8084faebb9c2214778 /databases
parentframework: add Mk/Uses/pycryptography (diff)
framework: convert tree to use USES=pycryptography
A future commit will update to security/py-cryptography will introduce a rust dependency. PR: 254853
Diffstat (limited to 'databases')
-rw-r--r--databases/py-mycli/Makefile3
-rw-r--r--databases/py-ormar/Makefile3
-rw-r--r--databases/py-sqlalchemy-utils/Makefile2
3 files changed, 3 insertions, 5 deletions
diff --git a/databases/py-mycli/Makefile b/databases/py-mycli/Makefile
index 41312e89f1b8..255900f20ee2 100644
--- a/databases/py-mycli/Makefile
+++ b/databases/py-mycli/Makefile
@@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cli-helpers>=2.2.1:devel/py-cli-helpers@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}configobj>=5.0.5:devel/py-configobj@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}cryptography>=1.0.0:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.6<4.0.0:devel/py-prompt-toolkit@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyaes>=1.6.1:security/py-pyaes@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR} \
@@ -24,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cli-helpers>=2.2.1:devel/py-cli-helpers@${PY
${PYTHON_PKGNAMEPREFIX}sqlglot>=5.1.3:databases/py-sqlglot@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.0<0.5.0:databases/py-sqlparse@${PY_FLAVOR}
-USES= mysql python
+USES= mysql python pycryptography:run
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/databases/py-ormar/Makefile b/databases/py-ormar/Makefile
index 214722eedfdd..265a05690c7b 100644
--- a/databases/py-ormar/Makefile
+++ b/databases/py-ormar/Makefile
@@ -33,8 +33,7 @@ OPTIONS_DEFAULT= SQLITE
DATABASES_DESC= Database Support
CRYPTO_DESC= Support for password encryption
-
-CRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR}
+CRYPTO_USES= pycryptography:run
SQLITE_USES= sqlite
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosqlite>0:databases/py-aiosqlite@${PY_FLAVOR}
MYSQL_USES= mysql
diff --git a/databases/py-sqlalchemy-utils/Makefile b/databases/py-sqlalchemy-utils/Makefile
index ed2de8a862b7..29effda0b6d2 100644
--- a/databases/py-sqlalchemy-utils/Makefile
+++ b/databases/py-sqlalchemy-utils/Makefile
@@ -34,7 +34,7 @@ URL_DESC= URL type support
ARROW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0.3.4:devel/py-arrow@${PY_FLAVOR}
BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=1.3:devel/py-babel@${PY_FLAVOR}
COLOR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colour>=0.0.4:graphics/py-colour@${PY_FLAVOR}
-ENCRYPTED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0.6,1:security/py-cryptography@${PY_FLAVOR}
+ENCRYPTED_USES= pycryptography:run
INTERVALS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}intervals>=0.7.1:net/py-intervals@${PY_FLAVOR}
PASSWORD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>=1.6<2.0:security/py-passlib@${PY_FLAVOR}
PENDULUM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pendulum>=2.0.5:devel/py-pendulum@${PY_FLAVOR}