From nobody Mon Apr 08 20:17:56 2024 X-Original-To: dev-commits-ports-main@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 4VD0l84G68z5HgRs; Mon, 8 Apr 2024 20:17:56 +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 4VD0l83SD6z4wcd; Mon, 8 Apr 2024 20:17:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712607476; 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=UWFLT3raxCLf5VAnDz2mEDy0zNh+hZplHiG/TtEoEwo=; b=JJFpoHnUgcoe7D1WN9x3Caj72K2a3+Cn38OomniN/l53BSI4OpQeZAUcknZD3oL1vKKJX8 BxBeXkv+UZjjqX+1yk2nSP0DQVJYa2rg+co0KzUV9rtUy70VWp50amdohw2iXUzPGbTZmF Z+wv0BXdFCp8qcQHdw7jnAc/U2tEnQegAn8MkruZG/qu5XWdIaDWQJt+O3RuyxFquJnYMW d3yCe82cu6XD7T15rJ2k+s5ACLm3jY1gjZw29rPGvoHKsOvQEfagDU6owF3Y4EpG0l7by+ 03NmwgZQPVbW5pzE0uzDbkP6UlZbRnUDlX6UqZVv/PwWgLbS7QhA/OEyqnXaaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712607476; a=rsa-sha256; cv=none; b=EKCUhk6FX+6rMfO81QtcCzq9qzslchmEq7fD77lNb8Y5sIKoFhNhVZ6ktX5DirLY7AiEts OxR9uNhOjCsOsTmqwryZt+TDhBaT0Nd7rMRsoG3G2JQgUH1/4GYj9kCWpkts3IuvkMngWy QTeHlon01iutQHQZ8WP8wTLLMAJ4BL4RN2aIKMzz0KAwO6LVBpZqvPYwbdJnIn0ciF8W9+ 9mZLewGQIibyoHMk4ghHvn4OQw1BquOREWf2T4G0vEtVue//caOdIi5Dywn27ze90w11VT Ewnb0ekes4oyP8G+uMAOkeowcPx3mW8wGW1Gk0KPdaH1PJd9PpXLhKRP8iJ5Gw== 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=1712607476; 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=UWFLT3raxCLf5VAnDz2mEDy0zNh+hZplHiG/TtEoEwo=; b=xBuNvJ6Nl+LnSjWtKynFMTe2Y0AZ0r+Tt+L5FFY+ezQawYkdBf1+lvaezD2jF1YHNaviO3 3ipXz9Pxs6EciKWXOlw1fEWul1OZOvEeQMQJL48znSVEW8vtZkN9PMFAmatq2KUbLkC8Mx 8/qtrHaDZ+g07ioRT0dgDwCWYDIgI5RgHY9rlVMaju8Z1RlkXtxAKHxwJesLLn5kY4kD7K HM+hsVll2FKMUL7l14lEwg5X/84oMSNtmrqyUaaaXmrP7CSaXj9+kJ7hiQ9vAr6rV32gC+ 1B2lYp9/rfkW+8nY4UzPalsSSIypGnM41TGn0aZMm0robiTnwRe10Kv5rutBPg== 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 4VD0l833WPzQ1N; Mon, 8 Apr 2024 20:17:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 438KHuFP015893; Mon, 8 Apr 2024 20:17:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 438KHufM015890; Mon, 8 Apr 2024 20:17:56 GMT (envelope-from git) Date: Mon, 8 Apr 2024 20:17:56 GMT Message-Id: <202404082017.438KHufM015890@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: d4396c88fe78 - main - devel/py-hacking: Add py-hacking 6.1.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: d4396c88fe783f63b37edd9ea1340fc6d8b39c73 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4396c88fe783f63b37edd9ea1340fc6d8b39c73 commit d4396c88fe783f63b37edd9ea1340fc6d8b39c73 Author: Po-Chuan Hsieh AuthorDate: 2024-04-08 20:07:36 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-04-08 20:16:40 +0000 devel/py-hacking: Add py-hacking 6.1.0 hacking is a set of flake8 plugins that test and enforce the OpenStack StyleGuide Hacking pins its dependencies, as a new release of some dependency can break hacking based gating jobs. This is because new versions of dependencies can introduce new rules, or make existing rules stricter. --- devel/Makefile | 1 + devel/py-hacking/Makefile | 25 +++++++++++++++++++++++++ devel/py-hacking/distinfo | 3 +++ devel/py-hacking/pkg-descr | 6 ++++++ 4 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 500362cdfe56..44f55b8e947f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4821,6 +4821,7 @@ SUBDIR += py-gtfslib SUBDIR += py-guppy3 SUBDIR += py-gyp + SUBDIR += py-hacking SUBDIR += py-hammett SUBDIR += py-hash_ring SUBDIR += py-hatch diff --git a/devel/py-hacking/Makefile b/devel/py-hacking/Makefile new file mode 100644 index 000000000000..7ef6fc6b2904 --- /dev/null +++ b/devel/py-hacking/Makefile @@ -0,0 +1,25 @@ +PORTNAME= hacking +PORTVERSION= 6.1.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= OpenStack Hacking Guideline Enforcement +WWW= https://docs.openstack.org/hacking/latest/ \ + https://github.com/openstack/hacking + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=6.1.0<6.2:devel/py-flake8@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-hacking/distinfo b/devel/py-hacking/distinfo new file mode 100644 index 000000000000..159c5fb0a299 --- /dev/null +++ b/devel/py-hacking/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1712580498 +SHA256 (hacking-6.1.0.tar.gz) = de506a3124034e18b4e3a69c95de498c3460bcbc49c1643d3178d15bc6daac14 +SIZE (hacking-6.1.0.tar.gz) = 62587 diff --git a/devel/py-hacking/pkg-descr b/devel/py-hacking/pkg-descr new file mode 100644 index 000000000000..12d223fe431b --- /dev/null +++ b/devel/py-hacking/pkg-descr @@ -0,0 +1,6 @@ +hacking is a set of flake8 plugins that test and enforce the OpenStack +StyleGuide + +Hacking pins its dependencies, as a new release of some dependency can break +hacking based gating jobs. This is because new versions of dependencies can +introduce new rules, or make existing rules stricter.