Skip to content

Commit

Permalink
devel/py-flynt: Update to 0.77
Browse files Browse the repository at this point in the history
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
  • Loading branch information
leres committed Mar 19, 2023
1 parent ba35ba3 commit a0461e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions devel/py-flynt/Makefile
@@ -1,6 +1,5 @@
PORTNAME= flynt
PORTVERSION= 0.76
PORTREVISION= 1
PORTVERSION= 0.77
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions 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
5 changes: 2 additions & 3 deletions 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.

0 comments on commit a0461e5

Please sign in to comment.