Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 18:08:13 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0c24df6fc770 - main - devel/py-pyproject-flake8: Add py-pyproject-flake8 6.0.0.post1
Message-ID:  <202304181808.33II8DI3078451@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0c24df6fc770268737c8b64b4069637bc7c2af07

commit 0c24df6fc770268737c8b64b4069637bc7c2af07
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 17:54:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 18:00:41 +0000

    devel/py-pyproject-flake8: Add py-pyproject-flake8 6.0.0.post1
    
    pyproject-flake8 (pflake8) is a monkey patching wrapper to connect flake8 with
    pyproject.toml configuration.
---
 devel/Makefile                      |  1 +
 devel/py-pyproject-flake8/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/py-pyproject-flake8/distinfo  |  3 +++
 devel/py-pyproject-flake8/pkg-descr |  2 ++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 62613a588556..7195de524fec 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5215,6 +5215,7 @@
     SUBDIR += py-pyperclip
     SUBDIR += py-pyperf
     SUBDIR += py-pyplusplus
+    SUBDIR += py-pyproject-flake8
     SUBDIR += py-pyproject-fmt
     SUBDIR += py-pyproject-metadata
     SUBDIR += py-pyproject_hooks
diff --git a/devel/py-pyproject-flake8/Makefile b/devel/py-pyproject-flake8/Makefile
new file mode 100644
index 000000000000..cc6e47007131
--- /dev/null
+++ b/devel/py-pyproject-flake8/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	pyproject-flake8
+PORTVERSION=	6.0.0.post1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Monkey patching wrapper to connect flake8 with pyproject.toml configuration
+WWW=		https://github.com/csachs/pyproject-flake8
+
+LICENSE=	UNLICENSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flake8>=6.0.0<6.0.0_99:devel/py-flake8@${PY_FLAVOR}
+
+USES=		python:3.8+
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-pyproject-flake8/distinfo b/devel/py-pyproject-flake8/distinfo
new file mode 100644
index 000000000000..d17e050a3a7e
--- /dev/null
+++ b/devel/py-pyproject-flake8/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681052890
+SHA256 (pyproject-flake8-6.0.0.post1.tar.gz) = d43421caca0ef8a672874405fe63c722b0333e3c22c41648c6df60f21bab2b6b
+SIZE (pyproject-flake8-6.0.0.post1.tar.gz) = 4473
diff --git a/devel/py-pyproject-flake8/pkg-descr b/devel/py-pyproject-flake8/pkg-descr
new file mode 100644
index 000000000000..1b0cc48356de
--- /dev/null
+++ b/devel/py-pyproject-flake8/pkg-descr
@@ -0,0 +1,2 @@
+pyproject-flake8 (pflake8) is a monkey patching wrapper to connect flake8 with
+pyproject.toml configuration.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304181808.33II8DI3078451>