From nobody Wed Sep 25 04:25:26 2024 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 4XD3Yf2lzrz5WYqH; Wed, 25 Sep 2024 04:25:26 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XD3Yf20hqz4ldl; Wed, 25 Sep 2024 04:25:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727238326; 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=F7VW+08K0RFpwW71OhqbfQsiItLa91Df1jBQ2ePN2fs=; b=h8wFJUzzYDCB8AWtWxnD2f0G736qhHd8l8vJFE0vjf0VvTAuxZ71HpkMg5UKLlCe4/2Nmj l2hhxxKOok+q97T0DBx7jTWz2kYDYAydXMq/VG6WWQgHd5pR6/axhmcwjYgWkzLKtudRy+ /cimo4og6bb19SMCmtkE3FcxfN/J4W6RweMPkW6N1FAO8oJY05XUDz0dqHUzmYH1pGI290 9PZ2+0am2PM7ghqkSkGjAjtMSgb7+C/zHMdzxD485aXH3aeaZXDQDTHWz7FkQFOHIE2zQo 1n7EAiQ7ya2pLjXmq7FRlhKmNpUW5a9dknzKdU0T42Xu22/OnxIxmxbXb80mwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727238326; a=rsa-sha256; cv=none; b=CZKYeuQHY/g2cReFb7Xs3Hhz0ASW2XMAcTNdaSDqQIQ8szlMMRw9Cai6nI75XVKx/K99B5 6sm6hDJwSLgV+dDgP+M6mdpvamhi2iZN2Py+889kOO7MrJ1ni1Dg4U4dAvw8d+4USKOUCZ E0c/gZcbdI3lErvAwUjh/2CjD7iV7sTagRmZOcUxYSZkawwVDjIbZWk+GkGCrD/TrBtojn FI8NxkwfnPgb4QjGQugJaFGwDCSDVbsF7fAGCfQJiMtHAWepzw5vjzk7S7sabo4STEU76x fIJXz8e9zI/W1nuLFjOyG4/OdZ2E9ZKBvy6NuCsSuDduHKqEerSE0R6wRPQ8Tw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727238326; 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=F7VW+08K0RFpwW71OhqbfQsiItLa91Df1jBQ2ePN2fs=; b=NREnmyD3yW4b5KfzX4zGVihHq6Nc1YaTlnphXMTesnQFf6VYYX4QVwcbdInmph+2R2fG12 BruFNYpDVm5ZxapNQIWRocKAsmjq2JQnNfrQlaFmxMl3EzKvu1dj2FZtkQzP9rpJ5vkwx6 hRap3jYbJM2XIkFYqnc7O3tDiQ8gDKPwsnwa4CH0zVN2u1Sv2j3bgJpbmTJl6Zn0M37eBE QnNQpb+Rf3WGoHgkk91695xux+YGSSjrp6Txt8gnYQTFXzcCSUhLuhyP3hVA0rLSmDP7qO /K/56JVaxw8XFXkU/C4tCTgeBsQq26maQdvQHRFM+0O0Imxtlx27GYZyjOJRPg== 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 4XD3Yf1HWHzxnt; Wed, 25 Sep 2024 04:25:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48P4PQUq033532; Wed, 25 Sep 2024 04:25:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48P4PQOq033529; Wed, 25 Sep 2024 04:25:26 GMT (envelope-from git) Date: Wed, 25 Sep 2024 04:25:26 GMT Message-Id: <202409250425.48P4PQOq033529@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 28fd87075c66 - main - devel/cython-lint: Add cython-lint 0.16.2 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 28fd87075c66594b7f635fb36337d70d5cdbb233 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=28fd87075c66594b7f635fb36337d70d5cdbb233 commit 28fd87075c66594b7f635fb36337d70d5cdbb233 Author: Po-Chuan Hsieh AuthorDate: 2024-09-25 04:11:44 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-25 04:22:24 +0000 devel/cython-lint: Add cython-lint 0.16.2 cython-lint provides everything flake8 used to do (by accident), plus much more. cython-lint is a tool and pre-commit hook to lint Cython files. --- devel/Makefile | 1 + devel/cython-lint/Makefile | 25 +++++++++++++++++++++++++ devel/cython-lint/distinfo | 3 +++ devel/cython-lint/pkg-descr | 3 +++ 4 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4cd47144d90f..72fb4d4dac02 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -546,6 +546,7 @@ SUBDIR += cxxopts SUBDIR += cxxtest SUBDIR += cxxtools + SUBDIR += cython-lint SUBDIR += d-feet SUBDIR += d-scanner SUBDIR += d-spy diff --git a/devel/cython-lint/Makefile b/devel/cython-lint/Makefile new file mode 100644 index 000000000000..05de9d12245c --- /dev/null +++ b/devel/cython-lint/Makefile @@ -0,0 +1,25 @@ +PORTNAME= cython-lint +PORTVERSION= 0.16.2 +CATEGORIES= devel python +MASTER_SITES= PYPI \ + https://github.com/MarcoGorelli/cython-lint/releases/download/v${PORTVERSION}/ +DISTNAME= cython_lint-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Lint Cython files +WWW= https://github.com/MarcoGorelli/cython-lint + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycodestyle>=0:devel/py-pycodestyle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tokenize-rt>=3.2.0:devel/py-tokenize-rt@${PY_FLAVOR} \ + ${PY_TOMLI} + +USES= python +USE_PYTHON= autoplist cython_run noflavors pep517 + +NO_ARCH= yes + +.include diff --git a/devel/cython-lint/distinfo b/devel/cython-lint/distinfo new file mode 100644 index 000000000000..2c859f308408 --- /dev/null +++ b/devel/cython-lint/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1726740913 +SHA256 (cython_lint-0.16.2.tar.gz) = 61a0dd24009af14e86df67bf38dd4e4aeeb511ceaaf6af0dbd4dcccffd76149e +SIZE (cython_lint-0.16.2.tar.gz) = 26360 diff --git a/devel/cython-lint/pkg-descr b/devel/cython-lint/pkg-descr new file mode 100644 index 000000000000..efac253d82a9 --- /dev/null +++ b/devel/cython-lint/pkg-descr @@ -0,0 +1,3 @@ +cython-lint provides everything flake8 used to do (by accident), plus much more. + +cython-lint is a tool and pre-commit hook to lint Cython files.