From d4396c88fe783f63b37edd9ea1340fc6d8b39c73 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Tue, 9 Apr 2024 04:07:36 +0800 Subject: 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(+) create mode 100644 devel/py-hacking/Makefile create mode 100644 devel/py-hacking/distinfo create mode 100644 devel/py-hacking/pkg-descr 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. -- cgit v1.2.3