Port details |
- py-flynt Convert Python scripts from string formatting to f-strings
- 1.0.1 devel
=2 1.0.1Version of this port present on the latest quarterly branch. - Maintainer: leres@FreeBSD.org
 - Port Added: 2020-04-11 19:51:41
- Last Update: 2024-04-05 00:43:46
- Commit Hash: af8f2f4
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/ikamensh/flynt
- Description:
- flynt is a CLI tool to convert a python project's %-formatted strings
to f-strings.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}flynt>0:devel/py-flynt@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-flynt/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-flynt
- pkg install py39-flynt
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-flynt listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-flynt
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1692736926
SHA256 (ikamensh-flynt-1.0.1_GH0.tar.gz) = b8a2ad633b3670f04aa1ccac13ac30bb2c0e6a6b83ecea69bd256a0413110ede
SIZE (ikamensh-flynt-1.0.1_GH0.tar.gz) = 55138
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-hatchling>0 : devel/py-hatchling@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-astor>0 : devel/py-astor@py39
- py39-tomli>1.1.0 : textproc/py-tomli@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-flynt
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.0.1 05 Apr 2024 00:43:46
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flynt: Clean up USES=python
- While I'm here, add NO_ARCH
USES=python means USES=python:3.8+ now.
Approved by: portmgr (blanket)
With hat: python |
1.0.1 22 Aug 2023 20:50:14
    |
Craig Leres (leres)  |
devel/py-flynt: Update to 1.0.1
Changes since 0.78:
- Drop support for python 3.7.
- Use ast to find candidate fstring expressions
Reported by: portscout |
0.78_1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.78_1 04 Apr 2023 18:29:11
    |
Antoine Brodin (antoine)  |
USE_PYTHON=pep517: bump PORTREVISION |
0.78 25 Mar 2023 17:42:25
    |
Craig Leres (leres)  |
devel/py-flynt: Update to 0.78
Changes since 0.77:
- Fix handling of escaped unicode characters.
- Add flags to disable percent statement / .format statement
transformations: `--no-tp, --no-transform-percent` and `--no-tf,
--no-transform-format`.
Reported by: portscout |
0.77 19 Mar 2023 17:37:44
    |
Craig Leres (leres)  |
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 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.76_1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.76_1 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.76_1 26 Jan 2022 04:34:56
    |
Craig Leres (leres)  |
devel/py-flynt: Add missing dependancy on textproc/py-tomli |
0.76 20 Jan 2022 01:23:02
    |
Craig Leres (leres)  |
devel/py-flynt: Update to 0.76
Changes since 0.69:
- Added support to configuration via file
Reported by: portscout |
0.69 26 Dec 2021 22:58:53
    |
Craig Leres (leres)  |
devel/py-flynt: Update to 0.69
Changes since 0.61:
- Avoid partial conversions on % with dict r.h.s. (#89)
- Fix backslash-escaped newlines after non-literals break parser (#68)
- Mention skipped conversions due to length limit in verbose mode |
0.61 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.61 24 Mar 2021 16:22:06
  |
leres  |
devel/py-flynt: Update to 0.61. Changes since 0.58:
- Do not convert Windows line endings when reading the input file
- Catch UnicodeDecideError when reading file
- Fix incorrectly parsed prefix with mapping keys
- Use original line endings
Reported by: portscout |
0.58 24 Dec 2020 03:46:58
  |
leres  |
devel/py-flynt: Update to 0.58. Changes since 0.56:
- fix multiline string-in-string
Reviewed by: portscout |
0.56 11 Nov 2020 01:17:50
  |
leres  |
devel/py-flynt: Fix WWW link in pkg-descr |
0.56 01 Nov 2020 17:39:34
  |
leres  |
devel/py-flynt: Update to 0.56. Changes since 0.52:
- better handling of multiline string-in-string
- fixed not noticing e.g. %5f formatting placeholder
Reported by: portscout |
0.52 14 Aug 2020 21:32:08
  |
leres  |
devel/py-flynt: Update to 0.52
- Add a --version option
- Add a pre-commit-hook configuration file
Reported by: portscout |
0.50 11 Aug 2020 00:30:55
  |
leres  |
devel/py-flynt: Update to 0.50
- Add dry-run mode. |
0.48.1 22 Jul 2020 07:27:40
  |
leres  |
devel/py-flynt: Update to 0.48.1
Add shorthands for many flags. Add -e EXCLUDE, --exclude EXCLUDE:
ignore files with given strings in it's absolute path. Other internal
changes. |
0.46.1 06 May 2020 23:57:24
  |
leres  |
devel/py-flynt: Update to 0.46.1
Avoid some format conversions, "One example where f-strings are
inconsistent with previous formatting is %d vs {:d} - new format
no longer accepts floats."
Don't print intentionally skipped conversions as errors. |
0.46 11 Apr 2020 19:51:24
  |
leres  |
devel/py-flynt: New port
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".
WWW: https://github.com/ikamensh/ |