Skip to content

Commit

Permalink
devel/py-hacking: Add py-hacking 6.1.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sunpoet committed Apr 8, 2024
1 parent 9e4bbaa commit d4396c8
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -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
Expand Down
25 changes: 25 additions & 0 deletions 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 <bsd.port.mk>
3 changes: 3 additions & 0 deletions 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
6 changes: 6 additions & 0 deletions 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.

0 comments on commit d4396c8

Please sign in to comment.