git: a0461e5f0663 - main - devel/py-flynt: Update to 0.77
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Mar 2023 17:38:10 UTC
The branch main has been updated by leres:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a0461e5f0663de9f0f395a00974f58b0fbd1a258
commit a0461e5f0663de9f0f395a00974f58b0fbd1a258
Author: Craig Leres <leres@FreeBSD.org>
AuthorDate: 2023-03-19 17:37:44 +0000
Commit: Craig Leres <leres@FreeBSD.org>
CommitDate: 2023-03-19 17:37:44 +0000
devel/py-flynt: Update to 0.77
Changes since 0.76:
- Switch from distutils to pep517.
- "--transform-joins" ("-tj") will transform string join operations
on static operands to an f-string.
Also update pkg-descr.
Reported by: portscout
---
devel/py-flynt/Makefile | 8 ++++----
devel/py-flynt/distinfo | 6 +++---
devel/py-flynt/pkg-descr | 5 ++---
3 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/devel/py-flynt/Makefile b/devel/py-flynt/Makefile
index 48d1e64c926d..5170fd888a94 100644
--- a/devel/py-flynt/Makefile
+++ b/devel/py-flynt/Makefile
@@ -1,6 +1,5 @@
PORTNAME= flynt
-PORTVERSION= 0.76
-PORTREVISION= 1
+PORTVERSION= 0.77
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,12 +9,13 @@ WWW= https://github.com/ikamensh/flynt
LICENSE= MIT
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astor>0:devel/py-astor@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomli>1.1.0:textproc/py-tomli@${PY_FLAVOR}
-USES= python:3.6+
+USES= python:3.7+
USE_GITHUB= yes
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517
GH_ACCOUNT= ikamensh
diff --git a/devel/py-flynt/distinfo b/devel/py-flynt/distinfo
index 575849f2b8c6..ef5b9eea4c20 100644
--- a/devel/py-flynt/distinfo
+++ b/devel/py-flynt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642634336
-SHA256 (ikamensh-flynt-0.76_GH0.tar.gz) = 4405cf38ed52448a7eaf64fc1ecd8afefabc8f9f7b1d91aa2a0444a89b9de0f0
-SIZE (ikamensh-flynt-0.76_GH0.tar.gz) = 49152
+TIMESTAMP = 1679182099
+SHA256 (ikamensh-flynt-0.77_GH0.tar.gz) = 49a844923dee2a0cdac21c2b25abb3f6e1cd16e87d97a29ade00c2058fbddce4
+SIZE (ikamensh-flynt-0.77_GH0.tar.gz) = 52989
diff --git a/devel/py-flynt/pkg-descr b/devel/py-flynt/pkg-descr
index 1f3f4c8fa0be..30b6b60cce5b 100644
--- a/devel/py-flynt/pkg-descr
+++ b/devel/py-flynt/pkg-descr
@@ -1,3 +1,2 @@
-flynt is a command line tool to automatically convert a project's
-Python code from old "%-formatted" and .format(...) strings into
-Python 3.6+'s "f-strings".
+flynt is a CLI tool to convert a python project's %-formatted strings
+to f-strings.