git: e62e9ecee2e5 - main - Add textproc/py-ebcdic: Additional EBCDIC codecs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Oct 2022 18:24:39 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e62e9ecee2e57c64391e9b90c33bd7fee8ccd72a
commit e62e9ecee2e57c64391e9b90c33bd7fee8ccd72a
Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2022-09-23 18:04:25 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-10-25 18:23:13 +0000
Add textproc/py-ebcdic: Additional EBCDIC codecs
ebcdic is a Python package adding additional EBCDIC codecs for data
exchange with legacy system. It works with Python 2.7 and Python
3.4+.
EBCDIC is short for Extended Binary Coded Decimal Interchange Code
and is a family of character encodings that is mainly used on
mainframe computers. There is no real point in using it unless you
have to exchange data with legacy systems that still only support
EBCDIC as character encoding.
WWW: https://github.com/roskakori/CodecMapper
PR: 265762
---
textproc/Makefile | 1 +
textproc/py-ebcdic/Makefile | 22 ++++++++++++++++++++++
textproc/py-ebcdic/distinfo | 3 +++
textproc/py-ebcdic/pkg-descr | 9 +++++++++
4 files changed, 35 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 0fb79b908615..9d4557912f45 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1314,6 +1314,7 @@
SUBDIR += py-dominate
SUBDIR += py-dparse
SUBDIR += py-duecredit
+ SUBDIR += py-ebcdic
SUBDIR += py-elasticsearch
SUBDIR += py-elasticsearch-async
SUBDIR += py-elasticsearch-curator
diff --git a/textproc/py-ebcdic/Makefile b/textproc/py-ebcdic/Makefile
new file mode 100644
index 000000000000..81eb07b85e0d
--- /dev/null
+++ b/textproc/py-ebcdic/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= ebcdic
+PORTVERSION= 1.1.1
+CATEGORIES= textproc python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= Additional EBCDIC codecs
+WWW= https://github.com/roskakori/CodecMapper
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python:3.8+
+USE_GITHUB= yes
+GH_ACCOUNT= roskakori
+GH_PROJECT= CodecMapper
+GH_TAGNAME= v1.1.1
+USE_PYTHON= autoplist distutils unittest
+
+WRKSRC_SUBDIR= ${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/textproc/py-ebcdic/distinfo b/textproc/py-ebcdic/distinfo
new file mode 100644
index 000000000000..5ff7b8c14b05
--- /dev/null
+++ b/textproc/py-ebcdic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1659976590
+SHA256 (roskakori-CodecMapper-1.1.1-v1.1.1_GH0.tar.gz) = 7a1a77fdc7e87924e42826087bd9c0c4b48b779156c10cabc94eec237739c818
+SIZE (roskakori-CodecMapper-1.1.1-v1.1.1_GH0.tar.gz) = 18048
diff --git a/textproc/py-ebcdic/pkg-descr b/textproc/py-ebcdic/pkg-descr
new file mode 100644
index 000000000000..e40cf9588dd6
--- /dev/null
+++ b/textproc/py-ebcdic/pkg-descr
@@ -0,0 +1,9 @@
+ebcdic is a Python package adding additional EBCDIC codecs for data
+exchange with legacy system. It works with Python 2.7 and Python
+3.4+.
+
+EBCDIC is short for Extended Binary Coded Decimal Interchange Code
+and is a family of character encodings that is mainly used on
+mainframe computers. There is no real point in using it unless you
+have to exchange data with legacy systems that still only support
+EBCDIC as character encoding.