pkgsrc-Changes archive

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

CVS commit: pkgsrc/shells/py-bashlex



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Aug  9 11:15:14 UTC 2024

Added Files:
        pkgsrc/shells/py-bashlex: DESCR Makefile PLIST distinfo

Log Message:
shells/py-bashlex: import py-bashlex-0.18

bashlex is a Python port of the parser used internally by GNU bash.

For the most part it's transliterated from C, the major differences are:

1. it does not execute anything
2. it is reentrant
3. it generates a complete AST


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

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

Added files:

Index: pkgsrc/shells/py-bashlex/DESCR
diff -u /dev/null pkgsrc/shells/py-bashlex/DESCR:1.1
--- /dev/null   Fri Aug  9 11:15:14 2024
+++ pkgsrc/shells/py-bashlex/DESCR      Fri Aug  9 11:15:14 2024
@@ -0,0 +1,7 @@
+bashlex is a Python port of the parser used internally by GNU bash.
+
+For the most part it's transliterated from C, the major differences are:
+
+1. it does not execute anything
+2. it is reentrant
+3. it generates a complete AST
Index: pkgsrc/shells/py-bashlex/Makefile
diff -u /dev/null pkgsrc/shells/py-bashlex/Makefile:1.1
--- /dev/null   Fri Aug  9 11:15:14 2024
+++ pkgsrc/shells/py-bashlex/Makefile   Fri Aug  9 11:15:14 2024
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2024/08/09 11:15:14 wiz Exp $
+
+DISTNAME=      bashlex-0.18
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    shells python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bashlex/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/idank/bashlex.git
+COMMENT=       Python parser for bash
+LICENSE=       gnu-gpl-v3
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/shells/py-bashlex/PLIST
diff -u /dev/null pkgsrc/shells/py-bashlex/PLIST:1.1
--- /dev/null   Fri Aug  9 11:15:14 2024
+++ pkgsrc/shells/py-bashlex/PLIST      Fri Aug  9 11:15:14 2024
@@ -0,0 +1,45 @@
+@comment $NetBSD: PLIST,v 1.1 2024/08/09 11:15:14 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/bashlex/__init__.py
+${PYSITELIB}/bashlex/__init__.pyc
+${PYSITELIB}/bashlex/__init__.pyo
+${PYSITELIB}/bashlex/ast.py
+${PYSITELIB}/bashlex/ast.pyc
+${PYSITELIB}/bashlex/ast.pyo
+${PYSITELIB}/bashlex/errors.py
+${PYSITELIB}/bashlex/errors.pyc
+${PYSITELIB}/bashlex/errors.pyo
+${PYSITELIB}/bashlex/flags.py
+${PYSITELIB}/bashlex/flags.pyc
+${PYSITELIB}/bashlex/flags.pyo
+${PYSITELIB}/bashlex/heredoc.py
+${PYSITELIB}/bashlex/heredoc.pyc
+${PYSITELIB}/bashlex/heredoc.pyo
+${PYSITELIB}/bashlex/parser.py
+${PYSITELIB}/bashlex/parser.pyc
+${PYSITELIB}/bashlex/parser.pyo
+${PYSITELIB}/bashlex/parsetab.py
+${PYSITELIB}/bashlex/parsetab.pyc
+${PYSITELIB}/bashlex/parsetab.pyo
+${PYSITELIB}/bashlex/shutils.py
+${PYSITELIB}/bashlex/shutils.pyc
+${PYSITELIB}/bashlex/shutils.pyo
+${PYSITELIB}/bashlex/state.py
+${PYSITELIB}/bashlex/state.pyc
+${PYSITELIB}/bashlex/state.pyo
+${PYSITELIB}/bashlex/subst.py
+${PYSITELIB}/bashlex/subst.pyc
+${PYSITELIB}/bashlex/subst.pyo
+${PYSITELIB}/bashlex/tokenizer.py
+${PYSITELIB}/bashlex/tokenizer.pyc
+${PYSITELIB}/bashlex/tokenizer.pyo
+${PYSITELIB}/bashlex/utils.py
+${PYSITELIB}/bashlex/utils.pyc
+${PYSITELIB}/bashlex/utils.pyo
+${PYSITELIB}/bashlex/yacc.py
+${PYSITELIB}/bashlex/yacc.pyc
+${PYSITELIB}/bashlex/yacc.pyo
Index: pkgsrc/shells/py-bashlex/distinfo
diff -u /dev/null pkgsrc/shells/py-bashlex/distinfo:1.1
--- /dev/null   Fri Aug  9 11:15:14 2024
+++ pkgsrc/shells/py-bashlex/distinfo   Fri Aug  9 11:15:14 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/08/09 11:15:14 wiz Exp $
+
+BLAKE2s (bashlex-0.18.tar.gz) = 3f66fe1516283ce588d453773b4f425500e46eca4482bd341663abccdeb68846
+SHA512 (bashlex-0.18.tar.gz) = b5fbdf9daab7a522e100e4b27e1d8ecf65ff66230f761c3221d86e325a20a403aa035370d611b88826278b62778b7e5a69cc62c6c4f7e9a80620536b8c5610d1
+Size (bashlex-0.18.tar.gz) = 68742 bytes



Home | Main Index | Thread Index | Old Index