From nobody Thu May 11 23:26:38 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QHShb1zKhz4BBQD; Thu, 11 May 2023 23:26:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHShb10krz3LSb; Thu, 11 May 2023 23:26:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683847599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=j1tprpBpQ7g4BkAOeYEA/UWBu0IHm+Aq1GhEM/deVIs=; b=lPBHE1mSdNkf2LMFHTUlqEYfU7jt0sqZuzazNAtIJjnRbH9+DscWwada0Z3TqqZItoL/uP SgmsJX0MBNVR/k90Cqc0Kd2usvvb3tukdVYDfgkPmTiMW0fkGFXIRyw2bhboypeZPjUrgu w4aAUArWoYD4+dVgXYk7n90Oh0nLkw2g3K3pO007fkTffJED7dm84YFKakbqux5naI4HOh eqB5rgrN9UKHW61JpaO0gzfsELV3fourlrs/CcCKw5rbOlt8UIpESIM9e/oKK52puGfxmp bb+aeDoiT22Ygvl/LgGN8aR91AXSwqoWlEVvCs9LAAj3Bw6TSgHxHVREyFN+YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683847599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=j1tprpBpQ7g4BkAOeYEA/UWBu0IHm+Aq1GhEM/deVIs=; b=g5iASqbpYBTuUMqVwofirSbLP4BEHqAT//n3Z5+UkbOoP6lo9PjgZcC1c//yr+Am7h4j73 eYFgR8yUkU2SPIdk9uCWu4zg1OmOrJMG4qzcDG9SW0gic3KmCVkUuiyFbSy6x7SykK6ase BsGT2+/Q3O3HBzg3FAGd8CI46PMUgla4f8MMbYCHpEer0WxbEUjDONSuVbbgVauxvZ3S4P ESZ1oW8IE3LA4laLFuwCZA9vHAwqfkBvipanlxosWnRObSqEl9JNPnHlbqmJrkyohwko8H vdNaTq7Xd39RKlzwY3ikwReIkKf5Ue606xgXKcUkJeZYghWEyewW4K3xXDCDxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683847599; a=rsa-sha256; cv=none; b=sKCBduc9Kq5IZuddsCg4ivu5KMb8UHEHsAHDQsmotPvfkXm0cEcuXZrh7xIc4aM+ols4S7 R1Su7GbUPt8eDJXR38hk56ocM9wTM++N/4O3G6o7c/YRVtjOER77FrCA8otixjzohyZgRC VQrHH4EPW6BjMRcLicezBsAyHJBGOz27J83CE4SYxAWT4i54DkAXCOsqifLDBQoudH677a XqpNI3jhwE2v0cKaF9+kTUDQAw3OuowyqflutvFRZ4CDmRwGxXPZmOlLbIUeq9OxG+h1z3 6rhD2ilxLxnJgx/fbMx5Lu7gI7oJ90XlayCgXio9r+HyG7NK1HmfB4+t0q6A6Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QHShb00n6z1C5h; Thu, 11 May 2023 23:26:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34BNQcGE048664; Thu, 11 May 2023 23:26:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34BNQcVx048663; Thu, 11 May 2023 23:26:38 GMT (envelope-from git) Date: Thu, 11 May 2023 23:26:38 GMT Message-Id: <202305112326.34BNQcVx048663@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 3b5c528f8932 - main - textproc/py-reindent: New port: Reindent python scripts List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3b5c528f893230154572321b0aba60e19db9035f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b5c528f893230154572321b0aba60e19db9035f commit 3b5c528f893230154572321b0aba60e19db9035f Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2023-04-28 11:09:46 +0000 Commit: Robert Clausecker 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 | 16 ++++++++++++++++ textproc/py-reindent/distinfo | 3 +++ textproc/py-reindent/pkg-descr | 3 +++ 4 files changed, 23 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 7f5852bfed10..ddfe5822bc07 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1500,6 +1500,7 @@ SUBDIR += py-readchar SUBDIR += py-recommonmark SUBDIR += py-regex + SUBDIR += py-reindent SUBDIR += py-reno SUBDIR += py-restructuredtext-lint SUBDIR += py-reverend diff --git a/textproc/py-reindent/Makefile b/textproc/py-reindent/Makefile new file mode 100644 index 000000000000..6d27619a49a5 --- /dev/null +++ b/textproc/py-reindent/Makefile @@ -0,0 +1,16 @@ +PORTNAME= reindent +DISTVERSION= 3.5.1 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= DtxdF@disroot.org +COMMENT= Reindent python scripts +WWW= https://pypi.org/project/reindent/ + +LICENSE= PD + +USES= python +USE_PYTHON= autoplist distutils + +.include diff --git a/textproc/py-reindent/distinfo b/textproc/py-reindent/distinfo new file mode 100644 index 000000000000..78a0b9108924 --- /dev/null +++ b/textproc/py-reindent/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677367180 +SHA256 (reindent-3.5.1.tar.gz) = 59aeb8fbc16e45686f65df23b91896a17eb14ace7a7546860f50d2bb5ec4c9c0 +SIZE (reindent-3.5.1.tar.gz) = 5847 diff --git a/textproc/py-reindent/pkg-descr b/textproc/py-reindent/pkg-descr new file mode 100644 index 000000000000..14b984c3aeb8 --- /dev/null +++ b/textproc/py-reindent/pkg-descr @@ -0,0 +1,3 @@ +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.