Mon Nov 16 17:35:59 2015 UTC ()
Import py-construct-2.5.2 as devel/py-construct.
Originally packaged in pkgsrc-wip by Eric Schnoebelen and updated to the
latest stable version and minor (more or less) cosmetic fixes by myself.

Construct is a powerful declarative parser for binary data.

It is based on the concept of defining data structures in a declarative
manner, rather than procedural code: Simple constructs can be combined
hierarchically to form increasingly complex data structures. It's the
first library that makes parsing fun, instead of the usual headache it
is today.

Construct features bit and byte granularity, symmetrical operation
(parsing and building), component-oriented declarative design, easy
debugging and testing, an easy-to-extend subclass system, and lots of
primitive constructs to make your work easier.

        * Fields
        * Structs
        * Unions
        * Repeaters
        * Meta constructs
        * Switches
        * On-demand parsing
        * Pointers
        * And more!


(leot)
diff -r0 -r1.1 pkgsrc/devel/py-construct/DESCR
diff -r0 -r1.1 pkgsrc/devel/py-construct/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-construct/PLIST
diff -r0 -r1.1 pkgsrc/devel/py-construct/distinfo

File Added: pkgsrc/devel/py-construct/DESCR
Construct is a powerful declarative parser for binary data.

It is based on the concept of defining data structures in a declarative
manner, rather than procedural code: Simple constructs can be combined
hierarchically to form increasingly complex data structures. It's the
first library that makes parsing fun, instead of the usual headache it
is today.

Construct features bit and byte granularity, symmetrical operation
(parsing and building), component-oriented declarative design, easy
debugging and testing, an easy-to-extend subclass system, and lots of
primitive constructs to make your work easier.

        * Fields
        * Structs
        * Unions
        * Repeaters
        * Meta constructs
        * Switches
        * On-demand parsing
        * Pointers
        * And more!

File Added: pkgsrc/devel/py-construct/Makefile
# $NetBSD: Makefile,v 1.1 2015/11/16 17:35:59 leot Exp $
#

DISTNAME=	construct-2.5.2
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI}

MAINTAINER=	eric@cirr.com
HOMEPAGE=	http://pypi.python.org/pypi/construct
COMMENT=	Powerful declarative parser for binary data
LICENSE=	mit

DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six

USE_LANGUAGES=	c

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/py-construct/PLIST
@comment $NetBSD: PLIST,v 1.1 2015/11/16 17:35:59 leot Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/construct/__init__.py
${PYSITELIB}/construct/__init__.pyc
${PYSITELIB}/construct/__init__.pyo
${PYSITELIB}/construct/adapters.py
${PYSITELIB}/construct/adapters.pyc
${PYSITELIB}/construct/adapters.pyo
${PYSITELIB}/construct/core.py
${PYSITELIB}/construct/core.pyc
${PYSITELIB}/construct/core.pyo
${PYSITELIB}/construct/debug.py
${PYSITELIB}/construct/debug.pyc
${PYSITELIB}/construct/debug.pyo
${PYSITELIB}/construct/formats/__init__.py
${PYSITELIB}/construct/formats/__init__.pyc
${PYSITELIB}/construct/formats/__init__.pyo
${PYSITELIB}/construct/formats/data/__init__.py
${PYSITELIB}/construct/formats/data/__init__.pyc
${PYSITELIB}/construct/formats/data/__init__.pyo
${PYSITELIB}/construct/formats/data/cap.py
${PYSITELIB}/construct/formats/data/cap.pyc
${PYSITELIB}/construct/formats/data/cap.pyo
${PYSITELIB}/construct/formats/data/snoop.py
${PYSITELIB}/construct/formats/data/snoop.pyc
${PYSITELIB}/construct/formats/data/snoop.pyo
${PYSITELIB}/construct/formats/executable/__init__.py
${PYSITELIB}/construct/formats/executable/__init__.pyc
${PYSITELIB}/construct/formats/executable/__init__.pyo
${PYSITELIB}/construct/formats/executable/elf32.py
${PYSITELIB}/construct/formats/executable/elf32.pyc
${PYSITELIB}/construct/formats/executable/elf32.pyo
${PYSITELIB}/construct/formats/executable/pe32.py
${PYSITELIB}/construct/formats/executable/pe32.pyc
${PYSITELIB}/construct/formats/executable/pe32.pyo
${PYSITELIB}/construct/formats/filesystem/__init__.py
${PYSITELIB}/construct/formats/filesystem/__init__.pyc
${PYSITELIB}/construct/formats/filesystem/__init__.pyo
${PYSITELIB}/construct/formats/filesystem/ext2.py
${PYSITELIB}/construct/formats/filesystem/ext2.pyc
${PYSITELIB}/construct/formats/filesystem/ext2.pyo
${PYSITELIB}/construct/formats/filesystem/fat16.py
${PYSITELIB}/construct/formats/filesystem/fat16.pyc
${PYSITELIB}/construct/formats/filesystem/fat16.pyo
${PYSITELIB}/construct/formats/filesystem/mbr.py
${PYSITELIB}/construct/formats/filesystem/mbr.pyc
${PYSITELIB}/construct/formats/filesystem/mbr.pyo
${PYSITELIB}/construct/formats/graphics/__init__.py
${PYSITELIB}/construct/formats/graphics/__init__.pyc
${PYSITELIB}/construct/formats/graphics/__init__.pyo
${PYSITELIB}/construct/formats/graphics/bmp.py
${PYSITELIB}/construct/formats/graphics/bmp.pyc
${PYSITELIB}/construct/formats/graphics/bmp.pyo
${PYSITELIB}/construct/formats/graphics/emf.py
${PYSITELIB}/construct/formats/graphics/emf.pyc
${PYSITELIB}/construct/formats/graphics/emf.pyo
${PYSITELIB}/construct/formats/graphics/gif.py
${PYSITELIB}/construct/formats/graphics/gif.pyc
${PYSITELIB}/construct/formats/graphics/gif.pyo
${PYSITELIB}/construct/formats/graphics/png.py
${PYSITELIB}/construct/formats/graphics/png.pyc
${PYSITELIB}/construct/formats/graphics/png.pyo
${PYSITELIB}/construct/formats/graphics/wmf.py
${PYSITELIB}/construct/formats/graphics/wmf.pyc
${PYSITELIB}/construct/formats/graphics/wmf.pyo
${PYSITELIB}/construct/lib/__init__.py
${PYSITELIB}/construct/lib/__init__.pyc
${PYSITELIB}/construct/lib/__init__.pyo
${PYSITELIB}/construct/lib/binary.py
${PYSITELIB}/construct/lib/binary.pyc
${PYSITELIB}/construct/lib/binary.pyo
${PYSITELIB}/construct/lib/bitstream.py
${PYSITELIB}/construct/lib/bitstream.pyc
${PYSITELIB}/construct/lib/bitstream.pyo
${PYSITELIB}/construct/lib/container.py
${PYSITELIB}/construct/lib/container.pyc
${PYSITELIB}/construct/lib/container.pyo
${PYSITELIB}/construct/lib/expr.py
${PYSITELIB}/construct/lib/expr.pyc
${PYSITELIB}/construct/lib/expr.pyo
${PYSITELIB}/construct/lib/hex.py
${PYSITELIB}/construct/lib/hex.pyc
${PYSITELIB}/construct/lib/hex.pyo
${PYSITELIB}/construct/lib/py3compat.py
${PYSITELIB}/construct/lib/py3compat.pyc
${PYSITELIB}/construct/lib/py3compat.pyo
${PYSITELIB}/construct/macros.py
${PYSITELIB}/construct/macros.pyc
${PYSITELIB}/construct/macros.pyo
${PYSITELIB}/construct/protocols/__init__.py
${PYSITELIB}/construct/protocols/__init__.pyc
${PYSITELIB}/construct/protocols/__init__.pyo
${PYSITELIB}/construct/protocols/application/__init__.py
${PYSITELIB}/construct/protocols/application/__init__.pyc
${PYSITELIB}/construct/protocols/application/__init__.pyo
${PYSITELIB}/construct/protocols/application/dns.py
${PYSITELIB}/construct/protocols/application/dns.pyc
${PYSITELIB}/construct/protocols/application/dns.pyo
${PYSITELIB}/construct/protocols/ipstack.py
${PYSITELIB}/construct/protocols/ipstack.pyc
${PYSITELIB}/construct/protocols/ipstack.pyo
${PYSITELIB}/construct/protocols/layer2/__init__.py
${PYSITELIB}/construct/protocols/layer2/__init__.pyc
${PYSITELIB}/construct/protocols/layer2/__init__.pyo
${PYSITELIB}/construct/protocols/layer2/arp.py
${PYSITELIB}/construct/protocols/layer2/arp.pyc
${PYSITELIB}/construct/protocols/layer2/arp.pyo
${PYSITELIB}/construct/protocols/layer2/ethernet.py
${PYSITELIB}/construct/protocols/layer2/ethernet.pyc
${PYSITELIB}/construct/protocols/layer2/ethernet.pyo
${PYSITELIB}/construct/protocols/layer2/mtp2.py
${PYSITELIB}/construct/protocols/layer2/mtp2.pyc
${PYSITELIB}/construct/protocols/layer2/mtp2.pyo
${PYSITELIB}/construct/protocols/layer3/__init__.py
${PYSITELIB}/construct/protocols/layer3/__init__.pyc
${PYSITELIB}/construct/protocols/layer3/__init__.pyo
${PYSITELIB}/construct/protocols/layer3/dhcpv4.py
${PYSITELIB}/construct/protocols/layer3/dhcpv4.pyc
${PYSITELIB}/construct/protocols/layer3/dhcpv4.pyo
${PYSITELIB}/construct/protocols/layer3/dhcpv6.py
${PYSITELIB}/construct/protocols/layer3/dhcpv6.pyc
${PYSITELIB}/construct/protocols/layer3/dhcpv6.pyo
${PYSITELIB}/construct/protocols/layer3/icmpv4.py
${PYSITELIB}/construct/protocols/layer3/icmpv4.pyc
${PYSITELIB}/construct/protocols/layer3/icmpv4.pyo
${PYSITELIB}/construct/protocols/layer3/igmpv2.py
${PYSITELIB}/construct/protocols/layer3/igmpv2.pyc
${PYSITELIB}/construct/protocols/layer3/igmpv2.pyo
${PYSITELIB}/construct/protocols/layer3/ipv4.py
${PYSITELIB}/construct/protocols/layer3/ipv4.pyc
${PYSITELIB}/construct/protocols/layer3/ipv4.pyo
${PYSITELIB}/construct/protocols/layer3/ipv6.py
${PYSITELIB}/construct/protocols/layer3/ipv6.pyc
${PYSITELIB}/construct/protocols/layer3/ipv6.pyo
${PYSITELIB}/construct/protocols/layer3/mtp3.py
${PYSITELIB}/construct/protocols/layer3/mtp3.pyc
${PYSITELIB}/construct/protocols/layer3/mtp3.pyo
${PYSITELIB}/construct/protocols/layer4/__init__.py
${PYSITELIB}/construct/protocols/layer4/__init__.pyc
${PYSITELIB}/construct/protocols/layer4/__init__.pyo
${PYSITELIB}/construct/protocols/layer4/isup.py
${PYSITELIB}/construct/protocols/layer4/isup.pyc
${PYSITELIB}/construct/protocols/layer4/isup.pyo
${PYSITELIB}/construct/protocols/layer4/tcp.py
${PYSITELIB}/construct/protocols/layer4/tcp.pyc
${PYSITELIB}/construct/protocols/layer4/tcp.pyo
${PYSITELIB}/construct/protocols/layer4/udp.py
${PYSITELIB}/construct/protocols/layer4/udp.pyc
${PYSITELIB}/construct/protocols/layer4/udp.pyo
${PYSITELIB}/construct/version.py
${PYSITELIB}/construct/version.pyc
${PYSITELIB}/construct/version.pyo

File Added: pkgsrc/devel/py-construct/distinfo
$NetBSD: distinfo,v 1.1 2015/11/16 17:35:59 leot Exp $

SHA1 (construct-2.5.2.tar.gz) = d23f17d3c6afe2e91aa3b54f1a28b4057b9a2094
RMD160 (construct-2.5.2.tar.gz) = 0c75f72cb06a4abd039499cf216a2e66fd921192
SHA512 (construct-2.5.2.tar.gz) = dbfa28f58821811fa28ef170818d74212e76389a017c4073acd24025ace292285828506cb44387ff07c1c05ae70766a3a0679baea25deb3b0dcc31c85b24340b
Size (construct-2.5.2.tar.gz) = 58373 bytes