summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmytro Bilokha <dmytro@posteo.net>2021-12-20 22:19:35 +0800
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-12-20 22:20:34 +0800
commite6b4ca669b708aeb8a607bb784fbdb73833dffbf (patch)
tree27b8538a329ff4eed47dff65a86021cbbbf78029
parentdevel/zookeeper: Update log4j to 2.17 (diff)
Add devel/py-intelhex, Python library and scripts for Intel HEX format
PR: 260204
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-intelhex/Makefile17
-rw-r--r--devel/py-intelhex/distinfo3
-rw-r--r--devel/py-intelhex/pkg-descr7
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ef845aabfcd6..4ab35e2055e3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4627,6 +4627,7 @@
SUBDIR += py-iniparse
SUBDIR += py-installer
SUBDIR += py-intbitset
+ SUBDIR += py-intelhex
SUBDIR += py-intervals
SUBDIR += py-intervaltree
SUBDIR += py-invoke
diff --git a/devel/py-intelhex/Makefile b/devel/py-intelhex/Makefile
new file mode 100644
index 000000000000..d032495aab0d
--- /dev/null
+++ b/devel/py-intelhex/Makefile
@@ -0,0 +1,17 @@
+PORTNAME= intelhex
+PORTVERSION= 2.3.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dmytro@posteo.net
+COMMENT= Python library and scripts to work with files in Intel HEX format
+
+LICENSE= BSD3CLAUSE
+
+USES= python:3.5+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-intelhex/distinfo b/devel/py-intelhex/distinfo
new file mode 100644
index 000000000000..c75424687fbc
--- /dev/null
+++ b/devel/py-intelhex/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1631563474
+SHA256 (intelhex-2.3.0.tar.gz) = 892b7361a719f4945237da8ccf754e9513db32f5628852785aea108dcd250093
+SIZE (intelhex-2.3.0.tar.gz) = 44513
diff --git a/devel/py-intelhex/pkg-descr b/devel/py-intelhex/pkg-descr
new file mode 100644
index 000000000000..360305d108b8
--- /dev/null
+++ b/devel/py-intelhex/pkg-descr
@@ -0,0 +1,7 @@
+The intelhex Python library is developed to read, write, create from
+scratch and manipulate data from Intel HEX file format. The distribution
+package also includes several convenience Python scripts, including
+"classic" hex2bin and bin2hex converters and more, those based on the
+library itself.
+
+WWW: https://github.com/python-intelhex/intelhex