From e62e9ecee2e57c64391e9b90c33bd7fee8ccd72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= Date: Fri, 23 Sep 2022 14:04:25 -0400 Subject: [PATCH] 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(+) create mode 100644 textproc/py-ebcdic/Makefile create mode 100644 textproc/py-ebcdic/distinfo create mode 100644 textproc/py-ebcdic/pkg-descr 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 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.