git: e6b4ca669b70 - main - Add devel/py-intelhex, Python library and scripts for Intel HEX format

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Mon, 20 Dec 2021 14:21:16 UTC
The branch main has been updated by lwhsu:

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

commit e6b4ca669b708aeb8a607bb784fbdb73833dffbf
Author:     Dmytro Bilokha <dmytro@posteo.net>
AuthorDate: 2021-12-20 14:19:35 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-12-20 14:20:34 +0000

    Add devel/py-intelhex, Python library and scripts for Intel HEX format
    
    PR:             260204
---
 devel/Makefile              |  1 +
 devel/py-intelhex/Makefile  | 17 +++++++++++++++++
 devel/py-intelhex/distinfo  |  3 +++
 devel/py-intelhex/pkg-descr |  7 +++++++
 4 files changed, 28 insertions(+)

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