pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc py-parse_type: added version 0.4.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ef9a455afe5
branches: trunk
changeset: 384560:9ef9a455afe5
user: adam <adam%pkgsrc.org@localhost>
date: Tue Aug 28 09:56:44 2018 +0000
description:
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
diffstat:
textproc/Makefile | 4 +++-
textproc/py-parse_type/DESCR | 9 +++++++++
textproc/py-parse_type/Makefile | 19 +++++++++++++++++++
textproc/py-parse_type/PLIST | 28 ++++++++++++++++++++++++++++
textproc/py-parse_type/distinfo | 6 ++++++
5 files changed, 65 insertions(+), 1 deletions(-)
diffs (96 lines):
diff -r 3d78def6b573 -r 9ef9a455afe5 textproc/Makefile
--- a/textproc/Makefile Tue Aug 28 09:54:26 2018 +0000
+++ b/textproc/Makefile Tue Aug 28 09:56:44 2018 +0000
@@ -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-odfpy
SUBDIR+= py-openpyxl
SUBDIR+= py-pandocfilters
+SUBDIR+= py-parse
+SUBDIR+= py-parse_type
SUBDIR+= py-pdf-parser
SUBDIR+= py-pdfrw
SUBDIR+= py-phonenumbers
diff -r 3d78def6b573 -r 9ef9a455afe5 textproc/py-parse_type/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-parse_type/DESCR Tue Aug 28 09:56:44 2018 +0000
@@ -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
diff -r 3d78def6b573 -r 9ef9a455afe5 textproc/py-parse_type/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-parse_type/Makefile Tue Aug 28 09:56:44 2018 +0000
@@ -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@localhost
+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"
diff -r 3d78def6b573 -r 9ef9a455afe5 textproc/py-parse_type/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-parse_type/PLIST Tue Aug 28 09:56:44 2018 +0000
@@ -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
diff -r 3d78def6b573 -r 9ef9a455afe5 textproc/py-parse_type/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-parse_type/distinfo Tue Aug 28 09:56:44 2018 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index