pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/py-spark-parser



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Oct 14 09:48:48 UTC 2024

Modified Files:
        pkgsrc/lang/py-spark-parser: Makefile PLIST distinfo

Log Message:
py-spark-parser: updated to 1.9.0

1.9.0

Revamp for a more modern Python style in the 3.12 era:

start adding type annotations to code.
use pyproject.toml
remove illegal escape sequences
BuildTree now builds trees iteratively rather than recursively. With this we can handle larger trees which are needed in the decompilers.

Revise README.rst for the above and go over spelling and grammar

Internally, more git branches have been created to support older Python.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/py-spark-parser/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/py-spark-parser/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py-spark-parser/distinfo

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

Modified files:

Index: pkgsrc/lang/py-spark-parser/Makefile
diff -u pkgsrc/lang/py-spark-parser/Makefile:1.5 pkgsrc/lang/py-spark-parser/Makefile:1.6
--- pkgsrc/lang/py-spark-parser/Makefile:1.5    Tue Apr 30 09:28:03 2024
+++ pkgsrc/lang/py-spark-parser/Makefile        Mon Oct 14 09:48:48 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2024/04/30 09:28:03 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2024/10/14 09:48:48 adam Exp $
 
-DISTNAME=      spark_parser-1.8.9
+DISTNAME=      spark_parser-1.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
-PKGREVISION=   2
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/spark_parser/}
 
@@ -11,18 +10,27 @@ HOMEPAGE=   https://github.com/rocky/pytho
 COMMENT=       Earley-Algorithm Context-free grammar Parser Toolkit
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.2:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-click>=0:../../devel/py-click
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose>=1.0:../../devel/py-nose
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
+REPLACE_PYTHON+=       spark_parser/bin/parser_coverage.py
+REPLACE_PYTHON+=       spark_parser/example/expr/expr.py
+REPLACE_PYTHON+=       spark_parser/example/python2/format-python.py
+REPLACE_PYTHON+=       spark_parser/example/python2/reflow.py
+REPLACE_PYTHON+=       spark_parser/example/python2/test/test_format.py
+REPLACE_PYTHON+=       spark_parser/example/python2/test/test_format_inline.py
+REPLACE_PYTHON+=       spark_parser/example/python2/test/test_parse.py
+REPLACE_PYTHON+=       spark_parser/example/python2/test/test_parse_inline.py
+REPLACE_PYTHON+=       spark_parser/example/python2/test/test_scan.py
+REPLACE_PYTHON+=       spark_parser/example/python2/test/test_scan_inline.py
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} spark-parser-coverage spark-parser-coverage-${PYVERSSUFFIX} || ${TRUE}
 
+.include "../../lang/python/application.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/lang/py-spark-parser/PLIST
diff -u pkgsrc/lang/py-spark-parser/PLIST:1.2 pkgsrc/lang/py-spark-parser/PLIST:1.3
--- pkgsrc/lang/py-spark-parser/PLIST:1.2       Tue Apr 30 09:28:03 2024
+++ pkgsrc/lang/py-spark-parser/PLIST   Mon Oct 14 09:48:48 2024
@@ -1,17 +1,167 @@
-@comment $NetBSD: PLIST,v 1.2 2024/04/30 09:28:03 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/10/14 09:48:48 adam Exp $
 bin/spark-parser-coverage-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
-${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
 ${PYSITELIB}/spark_parser/__init__.py
 ${PYSITELIB}/spark_parser/__init__.pyc
 ${PYSITELIB}/spark_parser/__init__.pyo
 ${PYSITELIB}/spark_parser/ast.py
 ${PYSITELIB}/spark_parser/ast.pyc
 ${PYSITELIB}/spark_parser/ast.pyo
+${PYSITELIB}/spark_parser/bin/__init__.py
+${PYSITELIB}/spark_parser/bin/__init__.pyc
+${PYSITELIB}/spark_parser/bin/__init__.pyo
+${PYSITELIB}/spark_parser/bin/parser_coverage.py
+${PYSITELIB}/spark_parser/bin/parser_coverage.pyc
+${PYSITELIB}/spark_parser/bin/parser_coverage.pyo
+${PYSITELIB}/spark_parser/example/__init__.py
+${PYSITELIB}/spark_parser/example/__init__.pyc
+${PYSITELIB}/spark_parser/example/__init__.pyo
+${PYSITELIB}/spark_parser/example/expr/expr.py
+${PYSITELIB}/spark_parser/example/expr/expr.pyc
+${PYSITELIB}/spark_parser/example/expr/expr.pyo
+${PYSITELIB}/spark_parser/example/expr2/__init__.py
+${PYSITELIB}/spark_parser/example/expr2/__init__.pyc
+${PYSITELIB}/spark_parser/example/expr2/__init__.pyo
+${PYSITELIB}/spark_parser/example/expr2/eval.py
+${PYSITELIB}/spark_parser/example/expr2/eval.pyc
+${PYSITELIB}/spark_parser/example/expr2/eval.pyo
+${PYSITELIB}/spark_parser/example/expr2/expr_parser.py
+${PYSITELIB}/spark_parser/example/expr2/expr_parser.pyc
+${PYSITELIB}/spark_parser/example/expr2/expr_parser.pyo
+${PYSITELIB}/spark_parser/example/expr2/scanner.py
+${PYSITELIB}/spark_parser/example/expr2/scanner.pyc
+${PYSITELIB}/spark_parser/example/expr2/scanner.pyo
+${PYSITELIB}/spark_parser/example/expr2/test_grammar.py
+${PYSITELIB}/spark_parser/example/expr2/test_grammar.pyc
+${PYSITELIB}/spark_parser/example/expr2/test_grammar.pyo
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/__init__.py
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/__init__.pyc
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/__init__.pyo
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/parser.py
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/parser.pyc
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/parser.pyo
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/scanner.py
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/scanner.pyc
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/scanner.pyo
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/semantics.py
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/semantics.pyc
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/semantics.pyo
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/tok.py
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/tok.pyc
+${PYSITELIB}/spark_parser/example/gdb-loc/gdbloc/tok.pyo
+${PYSITELIB}/spark_parser/example/gdb-loc/pytest/test_parser.py
+${PYSITELIB}/spark_parser/example/gdb-loc/pytest/test_parser.pyc
+${PYSITELIB}/spark_parser/example/gdb-loc/pytest/test_parser.pyo
+${PYSITELIB}/spark_parser/example/gdb-loc/pytest/test_scanner.py
+${PYSITELIB}/spark_parser/example/gdb-loc/pytest/test_scanner.pyc
+${PYSITELIB}/spark_parser/example/gdb-loc/pytest/test_scanner.pyo
+${PYSITELIB}/spark_parser/example/gdb-loc/pytest/test_semantics.py
+${PYSITELIB}/spark_parser/example/gdb-loc/pytest/test_semantics.pyc
+${PYSITELIB}/spark_parser/example/gdb-loc/pytest/test_semantics.pyo
+${PYSITELIB}/spark_parser/example/gdb-loc/setup.py
+${PYSITELIB}/spark_parser/example/gdb-loc/setup.pyc
+${PYSITELIB}/spark_parser/example/gdb-loc/setup.pyo
+${PYSITELIB}/spark_parser/example/python2/__init__.py
+${PYSITELIB}/spark_parser/example/python2/__init__.pyc
+${PYSITELIB}/spark_parser/example/python2/__init__.pyo
+${PYSITELIB}/spark_parser/example/python2/format-python.py
+${PYSITELIB}/spark_parser/example/python2/format-python.pyc
+${PYSITELIB}/spark_parser/example/python2/format-python.pyo
+${PYSITELIB}/spark_parser/example/python2/py2_format.py
+${PYSITELIB}/spark_parser/example/python2/py2_format.pyc
+${PYSITELIB}/spark_parser/example/python2/py2_format.pyo
+${PYSITELIB}/spark_parser/example/python2/py2_parser.py
+${PYSITELIB}/spark_parser/example/python2/py2_parser.pyc
+${PYSITELIB}/spark_parser/example/python2/py2_parser.pyo
+${PYSITELIB}/spark_parser/example/python2/py2_scan.py
+${PYSITELIB}/spark_parser/example/python2/py2_scan.pyc
+${PYSITELIB}/spark_parser/example/python2/py2_scan.pyo
+${PYSITELIB}/spark_parser/example/python2/py2_token.py
+${PYSITELIB}/spark_parser/example/python2/py2_token.pyc
+${PYSITELIB}/spark_parser/example/python2/py2_token.pyo
+${PYSITELIB}/spark_parser/example/python2/reflow.py
+${PYSITELIB}/spark_parser/example/python2/reflow.pyc
+${PYSITELIB}/spark_parser/example/python2/reflow.pyo
+${PYSITELIB}/spark_parser/example/python2/test/format/assert.py
+${PYSITELIB}/spark_parser/example/python2/test/format/assert.pyc
+${PYSITELIB}/spark_parser/example/python2/test/format/assert.pyo
+${PYSITELIB}/spark_parser/example/python2/test/format/def.py
+${PYSITELIB}/spark_parser/example/python2/test/format/def.pyc
+${PYSITELIB}/spark_parser/example/python2/test/format/def.pyo
+${PYSITELIB}/spark_parser/example/python2/test/format/exec.py
+${PYSITELIB}/spark_parser/example/python2/test/format/expr.py
+${PYSITELIB}/spark_parser/example/python2/test/format/expr.pyc
+${PYSITELIB}/spark_parser/example/python2/test/format/expr.pyo
+${PYSITELIB}/spark_parser/example/python2/test/format/global.py
+${PYSITELIB}/spark_parser/example/python2/test/format/global.pyc
+${PYSITELIB}/spark_parser/example/python2/test/format/global.pyo
+${PYSITELIB}/spark_parser/example/python2/test/format/if.py
+${PYSITELIB}/spark_parser/example/python2/test/format/if.pyc
+${PYSITELIB}/spark_parser/example/python2/test/format/if.pyo
+${PYSITELIB}/spark_parser/example/python2/test/format/imports.py
+${PYSITELIB}/spark_parser/example/python2/test/format/imports.pyc
+${PYSITELIB}/spark_parser/example/python2/test/format/imports.pyo
+${PYSITELIB}/spark_parser/example/python2/test/format/while.py
+${PYSITELIB}/spark_parser/example/python2/test/format/while.pyc
+${PYSITELIB}/spark_parser/example/python2/test/format/while.pyo
+${PYSITELIB}/spark_parser/example/python2/test/format/with.py
+${PYSITELIB}/spark_parser/example/python2/test/format/with.pyc
+${PYSITELIB}/spark_parser/example/python2/test/format/with.pyo
+${PYSITELIB}/spark_parser/example/python2/test/helper.py
+${PYSITELIB}/spark_parser/example/python2/test/helper.pyc
+${PYSITELIB}/spark_parser/example/python2/test/helper.pyo
+${PYSITELIB}/spark_parser/example/python2/test/parse/assert.py
+${PYSITELIB}/spark_parser/example/python2/test/parse/assert.pyc
+${PYSITELIB}/spark_parser/example/python2/test/parse/assert.pyo
+${PYSITELIB}/spark_parser/example/python2/test/parse/def.py
+${PYSITELIB}/spark_parser/example/python2/test/parse/def.pyc
+${PYSITELIB}/spark_parser/example/python2/test/parse/def.pyo
+${PYSITELIB}/spark_parser/example/python2/test/parse/exec.py
+${PYSITELIB}/spark_parser/example/python2/test/parse/global.py
+${PYSITELIB}/spark_parser/example/python2/test/parse/global.pyc
+${PYSITELIB}/spark_parser/example/python2/test/parse/global.pyo
+${PYSITELIB}/spark_parser/example/python2/test/parse/if.py
+${PYSITELIB}/spark_parser/example/python2/test/parse/if.pyc
+${PYSITELIB}/spark_parser/example/python2/test/parse/if.pyo
+${PYSITELIB}/spark_parser/example/python2/test/parse/imports.py
+${PYSITELIB}/spark_parser/example/python2/test/parse/imports.pyc
+${PYSITELIB}/spark_parser/example/python2/test/parse/imports.pyo
+${PYSITELIB}/spark_parser/example/python2/test/parse/while.py
+${PYSITELIB}/spark_parser/example/python2/test/parse/while.pyc
+${PYSITELIB}/spark_parser/example/python2/test/parse/while.pyo
+${PYSITELIB}/spark_parser/example/python2/test/scan/expr1.py
+${PYSITELIB}/spark_parser/example/python2/test/scan/expr1.pyc
+${PYSITELIB}/spark_parser/example/python2/test/scan/expr1.pyo
+${PYSITELIB}/spark_parser/example/python2/test/scan/indent1.py
+${PYSITELIB}/spark_parser/example/python2/test/scan/indent1.pyc
+${PYSITELIB}/spark_parser/example/python2/test/scan/indent1.pyo
+${PYSITELIB}/spark_parser/example/python2/test/scan/syms.py
+${PYSITELIB}/spark_parser/example/python2/test/test_class.py
+${PYSITELIB}/spark_parser/example/python2/test/test_class.pyc
+${PYSITELIB}/spark_parser/example/python2/test/test_class.pyo
+${PYSITELIB}/spark_parser/example/python2/test/test_format.py
+${PYSITELIB}/spark_parser/example/python2/test/test_format.pyc
+${PYSITELIB}/spark_parser/example/python2/test/test_format.pyo
+${PYSITELIB}/spark_parser/example/python2/test/test_format_inline.py
+${PYSITELIB}/spark_parser/example/python2/test/test_format_inline.pyc
+${PYSITELIB}/spark_parser/example/python2/test/test_format_inline.pyo
+${PYSITELIB}/spark_parser/example/python2/test/test_parse.py
+${PYSITELIB}/spark_parser/example/python2/test/test_parse.pyc
+${PYSITELIB}/spark_parser/example/python2/test/test_parse.pyo
+${PYSITELIB}/spark_parser/example/python2/test/test_parse_inline.py
+${PYSITELIB}/spark_parser/example/python2/test/test_parse_inline.pyc
+${PYSITELIB}/spark_parser/example/python2/test/test_parse_inline.pyo
+${PYSITELIB}/spark_parser/example/python2/test/test_scan.py
+${PYSITELIB}/spark_parser/example/python2/test/test_scan.pyc
+${PYSITELIB}/spark_parser/example/python2/test/test_scan.pyo
+${PYSITELIB}/spark_parser/example/python2/test/test_scan_inline.py
+${PYSITELIB}/spark_parser/example/python2/test/test_scan_inline.pyc
+${PYSITELIB}/spark_parser/example/python2/test/test_scan_inline.pyo
 ${PYSITELIB}/spark_parser/scanner.py
 ${PYSITELIB}/spark_parser/scanner.pyc
 ${PYSITELIB}/spark_parser/scanner.pyo

Index: pkgsrc/lang/py-spark-parser/distinfo
diff -u pkgsrc/lang/py-spark-parser/distinfo:1.4 pkgsrc/lang/py-spark-parser/distinfo:1.5
--- pkgsrc/lang/py-spark-parser/distinfo:1.4    Tue Oct 26 10:51:51 2021
+++ pkgsrc/lang/py-spark-parser/distinfo        Mon Oct 14 09:48:48 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:51:51 nia Exp $
+$NetBSD: distinfo,v 1.5 2024/10/14 09:48:48 adam Exp $
 
-BLAKE2s (spark_parser-1.8.9.tar.gz) = 7a274ce33f57a84d69a24c67a0cf806cb2c12bd80fd1b6db838a548335f24ac2
-SHA512 (spark_parser-1.8.9.tar.gz) = 2ac5a21729d7d7f9f4bbe1e90884b51a91fb287804ba2b4ab46135c4daa743f5d15c457994f1d6a56c1bb6b3fd64e97d326fb851ae87900be3511a653026b75f
-Size (spark_parser-1.8.9.tar.gz) = 118345 bytes
+BLAKE2s (spark_parser-1.9.0.tar.gz) = 1cf33d4b324b805c8666e93aacd67c2c4f53b021474456bf8d41d672cba76f24
+SHA512 (spark_parser-1.9.0.tar.gz) = ee1c374dc91b2237a5dd16c682d72ec1883559aceaccbbcfce4f19aa5a5af533f7d70a0c188a300745d2ec3085a23577eaf50cab9d580e32c47af23977518dee
+Size (spark_parser-1.9.0.tar.gz) = 80108 bytes



Home | Main Index | Thread Index | Old Index