aboutsummaryrefslogtreecommitdiff
path: root/misc/py-pkbar
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-02-12 14:27:04 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-02-12 23:07:34 +0000
commitdf5a60babfc1bd9312eee80490e38ffee95f81fc (patch)
tree9b35a833af7993992a99f29c89e502259260f58d /misc/py-pkbar
parente4dafddcdb495751bc4184f10f54b6120b80703c (diff)
downloadports-df5a60babfc1bd9312eee80490e38ffee95f81fc.tar.gz
ports-df5a60babfc1bd9312eee80490e38ffee95f81fc.zip
Diffstat (limited to 'misc/py-pkbar')
-rw-r--r--misc/py-pkbar/Makefile22
-rw-r--r--misc/py-pkbar/distinfo3
-rw-r--r--misc/py-pkbar/pkg-descr1
3 files changed, 26 insertions, 0 deletions
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).