Bug 269828 - [NEW PORT] textproc/py-reindent: Reindent python scripts
Summary: [NEW PORT] textproc/py-reindent: Reindent python scripts
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL: https://pypi.org/project/reindent/
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-26 00:07 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2023-05-11 23:34 UTC (History)
1 user (show)

See Also:


Attachments
py-reindent-3.5.1.patch (2.11 KB, patch)
2023-02-26 00:07 UTC, Jesús Daniel Colmenares Oviedo
no flags Details | Diff
py-reindent-3.5.1.patch (2.11 KB, patch)
2023-04-28 11:11 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2023-02-26 00:07:17 UTC
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)
Comment 1 Jesús Daniel Colmenares Oviedo 2023-04-28 11:11:37 UTC
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)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-05-11 23:27:11 UTC
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(+)
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-05-11 23:34:43 UTC
Thank you for your contribution.