aboutsummaryrefslogtreecommitdiff
path: root/databases/py-pymysql/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-pymysql/Makefile')
-rw-r--r--databases/py-pymysql/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/databases/py-pymysql/Makefile b/databases/py-pymysql/Makefile
index 18baf62eac0a..f0fc20386480 100644
--- a/databases/py-pymysql/Makefile
+++ b/databases/py-pymysql/Makefile
@@ -1,10 +1,8 @@
PORTNAME= pymysql
-PORTVERSION= 1.0.2
-PORTREVISION= 1
+DISTVERSION= 1.1.1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= PyMySQL-${PORTVERSION}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Pure Python MySQL Driver
@@ -13,8 +11,19 @@ WWW= https://github.com/PyMySQL/PyMySQL
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517
NO_ARCH= yes
+OPTIONS_DEFINE= ED25519 RSA
+
+ED25519_DESC= MariaDB ed25519 auth method support
+ED25519_LIB_DEPENDS_ON= ${PYTHON_PKGNAMEPREFIX}pynacl>=1.4.0:security/py-pynacl@${PY_FLAVOR}
+
+RSA_DESC= sha256_password or caching_sha2_password auth method support
+RSA_LIB_DEPENDS_ON=${PYTHON_PKGNAMEPREFIX}pycryptography:security/py-cryptography@${PY_FLAVOR}
+
.include <bsd.port.mk>