pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug 28 09:56:44 UTC 2018

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/py-parse_type: DESCR Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.1002 -r1.1003 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-parse_type/DESCR \
    pkgsrc/textproc/py-parse_type/Makefile \
    pkgsrc/textproc/py-parse_type/PLIST \
    pkgsrc/textproc/py-parse_type/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1002 pkgsrc/textproc/Makefile:1.1003
--- pkgsrc/textproc/Makefile:1.1002     Sat Aug 25 12:03:34 2018
+++ pkgsrc/textproc/Makefile    Tue Aug 28 09:56:44 2018
@@ -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

Added files:

Index: pkgsrc/textproc/py-parse_type/DESCR
diff -u /dev/null pkgsrc/textproc/py-parse_type/DESCR:1.1
--- /dev/null   Tue Aug 28 09:56:44 2018
+++ pkgsrc/textproc/py-parse_type/DESCR Tue Aug 28 09:56:44 2018
@@ -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
Index: pkgsrc/textproc/py-parse_type/Makefile
diff -u /dev/null pkgsrc/textproc/py-parse_type/Makefile:1.1
--- /dev/null   Tue Aug 28 09:56:44 2018
+++ pkgsrc/textproc/py-parse_type/Makefile      Tue Aug 28 09:56:44 2018
@@ -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"
Index: pkgsrc/textproc/py-parse_type/PLIST
diff -u /dev/null pkgsrc/textproc/py-parse_type/PLIST:1.1
--- /dev/null   Tue Aug 28 09:56:44 2018
+++ pkgsrc/textproc/py-parse_type/PLIST Tue Aug 28 09:56:44 2018
@@ -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
Index: pkgsrc/textproc/py-parse_type/distinfo
diff -u /dev/null pkgsrc/textproc/py-parse_type/distinfo:1.1
--- /dev/null   Tue Aug 28 09:56:44 2018
+++ pkgsrc/textproc/py-parse_type/distinfo      Tue Aug 28 09:56:44 2018
@@ -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