notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-flynt Convert Python scripts from string formatting to f-strings
0.76_1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.69Version of this port present on the latest quarterly branch.
Maintainer: leres@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-04-11 19:51:41
Last Update: 2022-01-26 04:34:56
Commit Hash: c7409d9
Also Listed In: python
License: MIT
Description:
SVNWeb : git : Homepage
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 py38-flynt
NOTE: This is a Python port. Instead of py38-flynt listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py38-flynt
Package flavors (<flavor>: <package>)
  • py38: py38-flynt
distinfo:
Packages (timestamps in pop-ups are UTC):
py37-flynt
ABIlatestquarterly
FreeBSD:11:aarch64-0.46.1
FreeBSD:11:amd64--
FreeBSD:11:armv6-0.46.1
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64-0.46.1
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6-0.52
FreeBSD:12:armv7-0.52
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64-0.46.1
FreeBSD:12:powerpc64-0.61
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv60.580.61
FreeBSD:13:armv70.58-
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc640.58-
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv60.61-
FreeBSD:14:armv70.61-
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.61-
 
py38-flynt
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd640.610.61
FreeBSD:11:armv6--
FreeBSD:11:i3860.610.61
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-0.69
FreeBSD:12:amd640.690.69
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3860.760.69
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch640.690.69
FreeBSD:13:amd640.760.69
FreeBSD:13:armv6--
FreeBSD:13:armv7-0.61
FreeBSD:13:i3860.760.69
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-0.61
FreeBSD:14:aarch640.69-
FreeBSD:14:amd640.76-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3860.76-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py38-setuptools>0 : devel/py-setuptools@py38
  2. python3.8 : lang/python38
Runtime dependencies:
  1. py38-astor>0 : devel/py-astor@py38
  2. py38-tomli>1.1.0 : textproc/py-tomli@py38
  3. py38-setuptools>0 : devel/py-setuptools@py38
  4. python3.8 : lang/python38
There are no ports dependent upon this port

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/ikamensh/flynt/tar.gz/0.76?dummy=/
Collapse this list.

Number of commits found: 13

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
26 Jan 2022 04:34:56
 files touched by this commit commit hash:c7409d9da301f19473b050a852f8a2bbef6ec14a  0.76_1
Craig Leres (leres) search for other commits by this committer
devel/py-flynt: Add missing dependancy on textproc/py-tomli
20 Jan 2022 01:23:02
 files touched by this commit commit hash:52d8b130f32a01a51aeebc023a353c68313e44de  0.76
Craig Leres (leres) search for other commits by this committer
devel/py-flynt: Update to 0.76

Changes since 0.69:

 - Added support to configuration via file

Reported by:	portscout
26 Dec 2021 22:58:53
 files touched by this commit commit hash:a42f2c600e09df84b0decdbb2074802cc08c850e  0.69
Craig Leres (leres) search for other commits by this committer
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
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.61
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
24 Mar 2021 16:22:06
Original commit files touched by this commit Revision:569141  0.61
leres search for other commits by this committer
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
24 Dec 2020 03:46:58
Original commit files touched by this commit Revision:559044  0.58
leres search for other commits by this committer
devel/py-flynt: Update to 0.58. Changes since 0.56:

 - fix multiline string-in-string

Reviewed by:	portscout
11 Nov 2020 01:17:50
Original commit files touched by this commit Revision:554867  0.56
leres search for other commits by this committer
devel/py-flynt: Fix WWW link in pkg-descr
01 Nov 2020 17:39:34
Original commit files touched by this commit Revision:553847  0.56
leres search for other commits by this committer
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
14 Aug 2020 21:32:08
Original commit files touched by this commit Revision:544897  0.52
leres search for other commits by this committer
devel/py-flynt: Update to 0.52

 - Add a --version option

 - Add a pre-commit-hook configuration file

Reported by:	portscout
11 Aug 2020 00:30:55
Original commit files touched by this commit Revision:544655  0.50
leres search for other commits by this committer
devel/py-flynt: Update to 0.50

 - Add dry-run mode.
22 Jul 2020 07:27:40
Original commit files touched by this commit Revision:542838  0.48.1
leres search for other commits by this committer
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.
06 May 2020 23:57:24
Original commit files touched by this commit Revision:534212  0.46.1
leres search for other commits by this committer
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.
11 Apr 2020 19:51:24
Original commit files touched by this commit Revision:531457  0.46
leres search for other commits by this committer
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/

Number of commits found: 13