git: 1c2a279a53ad - main - textproc/py-yapf: update to 0.43.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Feb 2025 14:02:44 UTC
The branch main has been updated by antoine:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1c2a279a53ad0f33702d821e288a41e0566b3f28
commit 1c2a279a53ad0f33702d821e288a41e0566b3f28
Author: Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2025-02-19 14:02:22 +0000
Commit: Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2025-02-19 14:02:22 +0000
textproc/py-yapf: update to 0.43.0
---
textproc/py-yapf/Makefile | 11 +++++++----
textproc/py-yapf/distinfo | 6 +++---
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/textproc/py-yapf/Makefile b/textproc/py-yapf/Makefile
index 12d0cbb984d5..bd01fc810f96 100644
--- a/textproc/py-yapf/Makefile
+++ b/textproc/py-yapf/Makefile
@@ -1,5 +1,5 @@
PORTNAME= yapf
-PORTVERSION= 0.32.0
+PORTVERSION= 0.43.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,13 @@ WWW= https://github.com/google/yapf
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}platformdirs>=0:devel/py-platformdirs@${PY_FLAVOR}
+
NO_ARCH= yes
USES= python
-USE_PYTHON= concurrent distutils autoplist
-DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP}
-TEST_TARGET= test
+USE_PYTHON= autoplist concurrent pep517 unittest
+TEST_ARGS= discover -p '*_test.py' yapftests/
.include <bsd.port.mk>
diff --git a/textproc/py-yapf/distinfo b/textproc/py-yapf/distinfo
index 017a78431682..1bd2f8c06bb8 100644
--- a/textproc/py-yapf/distinfo
+++ b/textproc/py-yapf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643443638
-SHA256 (yapf-0.32.0.tar.gz) = a3f5085d37ef7e3e004c4ba9f9b3e40c54ff1901cd111f05145ae313a7c67d1b
-SIZE (yapf-0.32.0.tar.gz) = 194820
+TIMESTAMP = 1739972798
+SHA256 (yapf-0.43.0.tar.gz) = 00d3aa24bfedff9420b2e0d5d9f5ab6d9d4268e72afbf59bb3fa542781d5218e
+SIZE (yapf-0.43.0.tar.gz) = 254907