git: df5a60babfc1 - main - misc/py-pkbar: New port: Keras Progress Bar for PyTorch

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 12 Feb 2024 23:07:40 UTC
The branch main has been updated by yuri:

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

commit df5a60babfc1bd9312eee80490e38ffee95f81fc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-02-12 14:27:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-02-12 23:07:34 +0000

    misc/py-pkbar: New port: Keras Progress Bar for PyTorch
---
 misc/Makefile           |  1 +
 misc/py-pkbar/Makefile  | 22 ++++++++++++++++++++++
 misc/py-pkbar/distinfo  |  3 +++
 misc/py-pkbar/pkg-descr |  1 +
 4 files changed, 27 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 8f664ef1613b..c9a42d646543 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -460,6 +460,7 @@
     SUBDIR += py-palettable
     SUBDIR += py-papermill
     SUBDIR += py-pexpect
+    SUBDIR += py-pkbar
     SUBDIR += py-placekey
     SUBDIR += py-polars
     SUBDIR += py-powerline-status
diff --git a/misc/py-pkbar/Makefile b/misc/py-pkbar/Makefile
new file mode 100644
index 000000000000..5c729bf8a25e
--- /dev/null
+++ b/misc/py-pkbar/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	pkbar
+DISTVERSION=	0.5
+CATEGORIES=	misc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Keras Progress Bar for PyTorch
+WWW=		https://github.com/yueyericardo/pkbar
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYNUMPY}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-pkbar/distinfo b/misc/py-pkbar/distinfo
new file mode 100644
index 000000000000..4a03639d6480
--- /dev/null
+++ b/misc/py-pkbar/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1707769520
+SHA256 (pkbar-0.5.tar.gz) = 3a6c389688cfa70c84433171ece71098c7f7181de3ba8375019de5713501ef15
+SIZE (pkbar-0.5.tar.gz) = 10501
diff --git a/misc/py-pkbar/pkg-descr b/misc/py-pkbar/pkg-descr
new file mode 100644
index 000000000000..4361cf39da92
--- /dev/null
+++ b/misc/py-pkbar/pkg-descr
@@ -0,0 +1 @@
+Keras style progressbar for pytorch (PK Bar).