git: 7cc7912d4b19 - main - databases/py-mysql-connector-python: Update version 8.0.23=>8.0.27
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Oct 2021 20:05:43 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=7cc7912d4b191047df01172128032ca0c3a05981 commit 7cc7912d4b191047df01172128032ca0c3a05981 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2021-10-29 20:02:59 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2021-10-29 20:05:34 +0000 databases/py-mysql-connector-python: Update version 8.0.23=>8.0.27 - Switch MASTER_SITES to GITHUB as MYSQL site provided distfile does not contain setup.py Relnotes: https://github.com/mysql/mysql-connector-python/releases/tag/8.0.27 --- databases/py-mysql-connector-python/Makefile | 10 ++++++++-- databases/py-mysql-connector-python/distinfo | 6 +++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/databases/py-mysql-connector-python/Makefile b/databases/py-mysql-connector-python/Makefile index c5cab0e3f895..46a241418b79 100644 --- a/databases/py-mysql-connector-python/Makefile +++ b/databases/py-mysql-connector-python/Makefile @@ -1,7 +1,6 @@ PORTNAME= mysql-connector-python -PORTVERSION= 8.0.23 +PORTVERSION= 8.0.27 CATEGORIES= databases python -MASTER_SITES= MYSQL/Connector-Python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org @@ -13,12 +12,19 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.1:devel/py-protobuf@${PY_FLAVOR} USES= python:3.6+ +USE_GITHUB= yes USE_PYTHON= autoplist distutils +GH_ACCOUNT= mysql + NO_ARCH= yes .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' \ + ${WRKSRC}/cpydist/__init__.py do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./unittests.py) diff --git a/databases/py-mysql-connector-python/distinfo b/databases/py-mysql-connector-python/distinfo index 4b6aa7cc7d2e..bda0976bdaf8 100644 --- a/databases/py-mysql-connector-python/distinfo +++ b/databases/py-mysql-connector-python/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1613071132 -SHA256 (mysql-connector-python-8.0.23.tar.gz) = 5e84dcc25d4b505118e0c28f07de496a41bc0ab121232a2aba83d0248cd49257 -SIZE (mysql-connector-python-8.0.23.tar.gz) = 12095843 +TIMESTAMP = 1635536295 +SHA256 (mysql-mysql-connector-python-8.0.27_GH0.tar.gz) = 4779bc931751148ebe1b734291f8c25ba4ebc63e79ac4eeb8a07351a91f8e438 +SIZE (mysql-mysql-connector-python-8.0.27_GH0.tar.gz) = 15202354