summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2017-04-14 12:31:06 +0000
committerleot <leot@pkgsrc.org>2017-04-14 12:31:06 +0000
commitf58cdb68e39d992f4e1b4048737762ad622c9248 (patch)
treea1ab569555a485e7f399cd53eabeccf81a441a2e /devel
parent9014d2e4b078f3ec2f99df9aca0e4e7682fa9a42 (diff)
downloadpkgsrc-f58cdb68e39d992f4e1b4048737762ad622c9248.tar.gz
Import py-kaitaistruct-0.7 as devel/py-kaitaistruct
Kaitai Struct is a declarative language used for describe various binary data structures, laid out in files or in memory: i.e. binary file formats, network stream packet formats, etc. The main idea is that a particular format is described in Kaitai Struct language (.ksy file) and then can be compiled with ksc into source files in one of the supported programming languages. These modules will include a generated code for a parser that can read described data structure from a file / stream and give access to it in a nice, easy-to-comprehend API.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-kaitaistruct/DESCR10
-rw-r--r--devel/py-kaitaistruct/Makefile16
-rw-r--r--devel/py-kaitaistruct/PLIST8
-rw-r--r--devel/py-kaitaistruct/distinfo6
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/py-kaitaistruct/DESCR b/devel/py-kaitaistruct/DESCR
new file mode 100644
index 00000000000..c470341958c
--- /dev/null
+++ b/devel/py-kaitaistruct/DESCR
@@ -0,0 +1,10 @@
+Kaitai Struct is a declarative language used for describe various
+binary data structures, laid out in files or in memory: i.e. binary
+file formats, network stream packet formats, etc.
+
+The main idea is that a particular format is described in Kaitai
+Struct language (.ksy file) and then can be compiled with ksc into
+source files in one of the supported programming languages. These
+modules will include a generated code for a parser that can read
+described data structure from a file / stream and give access to
+it in a nice, easy-to-comprehend API.
diff --git a/devel/py-kaitaistruct/Makefile b/devel/py-kaitaistruct/Makefile
new file mode 100644
index 00000000000..1ae42622133
--- /dev/null
+++ b/devel/py-kaitaistruct/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 12:31:06 leot Exp $
+
+DISTNAME= kaitaistruct-0.7
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PYPI:=k/kaitaistruct/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://kaitai.io/
+COMMENT= Kaitai Struct declarative parser generator for binary data
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-kaitaistruct/PLIST b/devel/py-kaitaistruct/PLIST
new file mode 100644
index 00000000000..4f6c15865c8
--- /dev/null
+++ b/devel/py-kaitaistruct/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/14 12:31:06 leot Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/kaitaistruct.py
+${PYSITELIB}/kaitaistruct.pyc
+${PYSITELIB}/kaitaistruct.pyo
diff --git a/devel/py-kaitaistruct/distinfo b/devel/py-kaitaistruct/distinfo
new file mode 100644
index 00000000000..2cc5831fc02
--- /dev/null
+++ b/devel/py-kaitaistruct/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/14 12:31:06 leot Exp $
+
+SHA1 (kaitaistruct-0.7.tar.gz) = db62dd67e265828f854876a098a95ff1f46fe2b8
+RMD160 (kaitaistruct-0.7.tar.gz) = 7cd1497e942f83dd85f6d234f52605c82b45456b
+SHA512 (kaitaistruct-0.7.tar.gz) = 1ee2e5d1e1de6a85dcaea684bee639f6b08bc0f06b8357fe388c339287388136638d11d301319a344364dc9cf98d3247fb6fc2d8332d9aaee6ee828e5650b447
+Size (kaitaistruct-0.7.tar.gz) = 5117 bytes