Created attachment 240410 [details] py-reindent-3.5.1.patch Description: Change Python (.py) files to use 4-space indents and no hard tab characters. Also trim excess spaces and tabs from ends of lines, and remove empty lines at the end of files. Also ensure the last line ends with a newline. WWW: https://pypi.org/project/reindent/ QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 13.1-RELEASE, amd64)
Created attachment 241813 [details] py-reindent-3.5.1.patch Description: * Change PORTVERSION to DISTVERSION QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 13.1-RELEASE, amd64)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b5c528f893230154572321b0aba60e19db9035f commit 3b5c528f893230154572321b0aba60e19db9035f Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2023-04-28 11:09:46 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-05-11 23:23:31 +0000 textproc/py-reindent: New port: Reindent python scripts Change Python (.py) files to use 4-space indents and no hard tab characters. Also trim excess spaces and tabs from ends of lines, and remove empty lines at the end of files. Also ensure the last line ends with a newline. WWW: https://pypi.org/project/reindent/ PR: 269828 textproc/Makefile | 1 + textproc/py-reindent/Makefile (new) | 16 ++++++++++++++++ textproc/py-reindent/distinfo (new) | 3 +++ textproc/py-reindent/pkg-descr (new) | 3 +++ 4 files changed, 23 insertions(+)
Thank you for your contribution.