Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 15:27:59 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fdeae321c2b3 - main - databases/py-mysql-connector-python: Update version 8.0.33=>8.1.0
Message-ID:  <202307191527.36JFRxg1017547@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit fdeae321c2b318a42d930395aa504505382b3c53
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 14:24:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 15:27:53 +0000

    databases/py-mysql-connector-python: Update version 8.0.33=>8.1.0
    
    Changelog:
    https://github.com/mysql/mysql-connector-python/releases/tag/8.1.0
---
 databases/py-mysql-connector-python/Makefile | 15 +++++++--------
 databases/py-mysql-connector-python/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/databases/py-mysql-connector-python/Makefile b/databases/py-mysql-connector-python/Makefile
index b1878347d1ec..9972791452ca 100644
--- a/databases/py-mysql-connector-python/Makefile
+++ b/databases/py-mysql-connector-python/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mysql-connector-python
-PORTVERSION=	8.0.33
+PORTVERSION=	8.1.0
 CATEGORIES=	databases python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -9,12 +9,14 @@ WWW=		https://dev.mysql.com/doc/connector-python/en
 
 LICENSE=	GPLv2
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}protobuf>=3.11.0:devel/py-protobuf@${PY_FLAVOR}
 
 USES=		python
 USE_GITHUB=	yes
 GH_ACCOUNT=	mysql
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
@@ -25,14 +27,11 @@ OPTIONS_DEFINE=	COMPRESSION DNS GSSAPI
 COMPRESSION_DESC=	Compression Support
 DNS_DESC=		DNS Support
 
-COMPRESSION_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lz4>2.1.6:archivers/py-lz4@${PY_FLAVOR} \
-				${PYTHON_PKGNAMEPREFIX}zstandard>0.12.0:archivers/py-zstandard@${PY_FLAVOR}
+COMPRESSION_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lz4>=2.1.6:archivers/py-lz4@${PY_FLAVOR} \
+				${PYTHON_PKGNAMEPREFIX}zstandard>=0.12.0:archivers/py-zstandard@${PY_FLAVOR}
 DNS_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}dnspython>=1.16.0:dns/py-dnspython@${PY_FLAVOR}
 GSSAPI_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}gssapi>=1.6.9:security/py-gssapi@${PY_FLAVOR}
 
-.include <bsd.port.pre.mk>
-
-PYDISTUTILS_INSTALLARGS:=	${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed}
 post-patch:
 	@${REINPLACE_CMD} -e 's|"gcc"|"${CC}"|g ; \
 		s|"g++"|"${CXX}"|g' \
@@ -41,4 +40,4 @@ post-patch:
 do-test:
 	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./unittests.py)
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/py-mysql-connector-python/distinfo b/databases/py-mysql-connector-python/distinfo
index b133a67852a1..126f90eb2b1f 100644
--- a/databases/py-mysql-connector-python/distinfo
+++ b/databases/py-mysql-connector-python/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681925426
-SHA256 (mysql-mysql-connector-python-8.0.33_GH0.tar.gz) = d8ca0d74316e966862b6c0de3a7be14021dc5a7b39490dd012cf9b7e24ba8d32
-SIZE (mysql-mysql-connector-python-8.0.33_GH0.tar.gz) = 15263768
+TIMESTAMP = 1689776202
+SHA256 (mysql-mysql-connector-python-8.1.0_GH0.tar.gz) = a85c4377394e18c1cca6bb6b54ad5612a4ebf31f578e2cb69bab002031865bd1
+SIZE (mysql-mysql-connector-python-8.1.0_GH0.tar.gz) = 15126225



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307191527.36JFRxg1017547>