git: 0da5cf6b1fd5 - main - devel/py-johnnydep: Add py-johnnydep 1.20.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Nov 2023 18:08:21 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0da5cf6b1fd5ffb127045274de203c3bcead11de
commit 0da5cf6b1fd5ffb127045274de203c3bcead11de
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 17:39:50 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 18:07:44 +0000
devel/py-johnnydep: Add py-johnnydep 1.20.3
Johnnydep pretty-prints a dependency tree for a Python distribution
---
devel/Makefile | 1 +
devel/py-johnnydep/Makefile | 36 ++++++++++++++++++++++++++++++++++++
devel/py-johnnydep/distinfo | 3 +++
devel/py-johnnydep/pkg-descr | 1 +
4 files changed, 41 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index cfe4cab123c3..57c88a49ee2a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4842,6 +4842,7 @@
SUBDIR += py-jitterentropy
SUBDIR += py-jmespath
SUBDIR += py-joblib
+ SUBDIR += py-johnnydep
SUBDIR += py-jsbeautifier
SUBDIR += py-jschema-to-python
SUBDIR += py-jsmin
diff --git a/devel/py-johnnydep/Makefile b/devel/py-johnnydep/Makefile
new file mode 100644
index 000000000000..fde91585ce26
--- /dev/null
+++ b/devel/py-johnnydep/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= johnnydep
+PORTVERSION= 1.20.3
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Display dependency tree of Python distribution
+WWW= https://github.com/wimglenn/johnnydep
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anytree>=0:devel/py-anytree@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cachetools>=0:devel/py-cachetools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}oyaml>=0:devel/py-oyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>=17:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}structlog>=0:devel/py-structlog@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tabulate>=0:devel/py-tabulate@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0.32.0:devel/py-wheel@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wimpy>=0:devel/py-wimpy@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-johnnydep/distinfo b/devel/py-johnnydep/distinfo
new file mode 100644
index 000000000000..4ae2331f0219
--- /dev/null
+++ b/devel/py-johnnydep/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1701083332
+SHA256 (johnnydep-1.20.3.tar.gz) = 0f26a9e50e8f4d20eb7abbd2bd85fe352a6f28b5630999ee470c0d0c76c10911
+SIZE (johnnydep-1.20.3.tar.gz) = 26837
diff --git a/devel/py-johnnydep/pkg-descr b/devel/py-johnnydep/pkg-descr
new file mode 100644
index 000000000000..ec09d90d6f59
--- /dev/null
+++ b/devel/py-johnnydep/pkg-descr
@@ -0,0 +1 @@
+Johnnydep pretty-prints a dependency tree for a Python distribution