py-parse_type: added version 0.4.2
parse_type extends the parse module (opposite of string.format()) with the following features: * build type converters for common use cases (enum/mapping, choice) * build a type converter with a cardinality constraint (0..1, 0..*, 1..*) from the type converter with cardinality=1. * compose a type converter from other type converters * an extended parser that supports the CardinalityField naming schema and creates missing type variants (0..1, 0..*, 1..*) from the primary type converter
This commit is contained in:
parent
50b25d8187
commit
b117680d38
5 changed files with 65 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1002 2018/08/25 12:03:34 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.1003 2018/08/28 09:56:44 adam Exp $
|
||||
#
|
||||
|
||||
COMMENT= Text processing utilities (does not include desktop publishing)
|
||||
|
@ -800,6 +800,8 @@ SUBDIR+= py-numpydoc
|
|||
SUBDIR+= py-odfpy
|
||||
SUBDIR+= py-openpyxl
|
||||
SUBDIR+= py-pandocfilters
|
||||
SUBDIR+= py-parse
|
||||
SUBDIR+= py-parse_type
|
||||
SUBDIR+= py-pdf-parser
|
||||
SUBDIR+= py-pdfrw
|
||||
SUBDIR+= py-phonenumbers
|
||||
|
|
9
textproc/py-parse_type/DESCR
Normal file
9
textproc/py-parse_type/DESCR
Normal file
|
@ -0,0 +1,9 @@
|
|||
parse_type extends the parse module (opposite of string.format()) with the
|
||||
following features:
|
||||
* build type converters for common use cases (enum/mapping, choice)
|
||||
* build a type converter with a cardinality constraint (0..1, 0..*, 1..*) from
|
||||
the type converter with cardinality=1.
|
||||
* compose a type converter from other type converters
|
||||
* an extended parser that supports the CardinalityField naming schema and
|
||||
creates missing type variants (0..1, 0..*, 1..*) from the primary type
|
||||
converter
|
19
textproc/py-parse_type/Makefile
Normal file
19
textproc/py-parse_type/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
# $NetBSD: Makefile,v 1.1 2018/08/28 09:56:44 adam Exp $
|
||||
|
||||
DISTNAME= parse_type-0.4.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=p/parse_type/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/jenisys/parse_type
|
||||
COMMENT= Simplifies to build parse types based on the parse module
|
||||
LICENSE= modified-bsd
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-parse>=1.8:../../textproc/py-parse
|
||||
DEPENDS+= ${PYPKGPREFIX}-six>=1.11:../../lang/py-six
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
28
textproc/py-parse_type/PLIST
Normal file
28
textproc/py-parse_type/PLIST
Normal file
|
@ -0,0 +1,28 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2018/08/28 09:56:44 adam 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}/${EGG_INFODIR}/zip-safe
|
||||
${PYSITELIB}/parse_type/__init__.py
|
||||
${PYSITELIB}/parse_type/__init__.pyc
|
||||
${PYSITELIB}/parse_type/__init__.pyo
|
||||
${PYSITELIB}/parse_type/builder.py
|
||||
${PYSITELIB}/parse_type/builder.pyc
|
||||
${PYSITELIB}/parse_type/builder.pyo
|
||||
${PYSITELIB}/parse_type/cardinality.py
|
||||
${PYSITELIB}/parse_type/cardinality.pyc
|
||||
${PYSITELIB}/parse_type/cardinality.pyo
|
||||
${PYSITELIB}/parse_type/cardinality_field.py
|
||||
${PYSITELIB}/parse_type/cardinality_field.pyc
|
||||
${PYSITELIB}/parse_type/cardinality_field.pyo
|
||||
${PYSITELIB}/parse_type/cfparse.py
|
||||
${PYSITELIB}/parse_type/cfparse.pyc
|
||||
${PYSITELIB}/parse_type/cfparse.pyo
|
||||
${PYSITELIB}/parse_type/parse.py
|
||||
${PYSITELIB}/parse_type/parse.pyc
|
||||
${PYSITELIB}/parse_type/parse.pyo
|
||||
${PYSITELIB}/parse_type/parse_util.py
|
||||
${PYSITELIB}/parse_type/parse_util.pyc
|
||||
${PYSITELIB}/parse_type/parse_util.pyo
|
6
textproc/py-parse_type/distinfo
Normal file
6
textproc/py-parse_type/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1 2018/08/28 09:56:44 adam Exp $
|
||||
|
||||
SHA1 (parse_type-0.4.2.tar.gz) = 8b8525c63ef4a39afc1da27c6c37c4639860616f
|
||||
RMD160 (parse_type-0.4.2.tar.gz) = 7ea4613143cc12c5f3e8313ec52d667351365acf
|
||||
SHA512 (parse_type-0.4.2.tar.gz) = 43044c09c73aa367fd5b565f045323fb7d2d44c89da8e8278223f17167431784023d7df830c5e0f6e2f5d7601f7d080bf57e86a4cc5340bce0e7e645a3d84208
|
||||
Size (parse_type-0.4.2.tar.gz) = 264473 bytes
|
Loading…
Reference in a new issue