pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-astutils: initial commit, as a dep for py-dd
Module Name: pkgsrc-wip
Committed By: mayuresh <mayuresh%acm.org@localhost>
Pushed By: mayuresh
Date: Sun Dec 31 15:26:16 2023 +0530
Changeset: 78de8a2109f1d667d966c7cc29e48fd3d27c0a26
Added Files:
py-astutils/DESCR
py-astutils/Makefile
py-astutils/PLIST
py-astutils/distinfo
Log Message:
py-astutils: initial commit, as a dep for py-dd
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=78de8a2109f1d667d966c7cc29e48fd3d27c0a26
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-astutils/DESCR | 8 ++++++++
py-astutils/Makefile | 21 +++++++++++++++++++++
py-astutils/PLIST | 18 ++++++++++++++++++
py-astutils/distinfo | 5 +++++
4 files changed, 52 insertions(+)
diffs:
diff --git a/py-astutils/DESCR b/py-astutils/DESCR
new file mode 100644
index 0000000000..f5a2cafecf
--- /dev/null
+++ b/py-astutils/DESCR
@@ -0,0 +1,8 @@
+Bare essentials for building abstract syntax trees (AST) and Python
+`lex`-`yacc` ([PLY](https://github.com/dabeaz/ply)) parsers.
+
+The package includes:
+
+- two classes for tree nodes: `Terminal`, `Operator`
+- a `Lexer` and `Parser` class, and a helper function to erase and
+ rewrite the table files.
diff --git a/py-astutils/Makefile b/py-astutils/Makefile
new file mode 100644
index 0000000000..eb3dbfe3b4
--- /dev/null
+++ b/py-astutils/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME= astutils-0.0.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/astutils/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/johnyf/astutils
+COMMENT= Utilities for abstract syntax trees and parsing with PLY
+LICENSE= modified-bsd
+
+DEPENDS+= ply>=3.4<=3.10:../../devel/ply
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.6.11:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-astutils/PLIST b/py-astutils/PLIST
new file mode 100644
index 0000000000..593ae1a0ba
--- /dev/null
+++ b/py-astutils/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/astutils/__init__.py
+${PYSITELIB}/astutils/__init__.pyc
+${PYSITELIB}/astutils/__init__.pyo
+${PYSITELIB}/astutils/_version.py
+${PYSITELIB}/astutils/_version.pyc
+${PYSITELIB}/astutils/_version.pyo
+${PYSITELIB}/astutils/ast.py
+${PYSITELIB}/astutils/ast.pyc
+${PYSITELIB}/astutils/ast.pyo
+${PYSITELIB}/astutils/ply.py
+${PYSITELIB}/astutils/ply.pyc
+${PYSITELIB}/astutils/ply.pyo
diff --git a/py-astutils/distinfo b/py-astutils/distinfo
new file mode 100644
index 0000000000..c68f64e471
--- /dev/null
+++ b/py-astutils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (astutils-0.0.5.tar.gz) = d8acc6c49dd5093c76b2df26226faa404cbc48e150bb73cb60d320a56ad83009
+SHA512 (astutils-0.0.5.tar.gz) = 54bddf902430c1161928d7da898f762c7db8682e6b537fbcb26829e75db58760e5368d07d29b6f01d72eb091ed69585134960193ea27ce479c12281efca1d5f1
+Size (astutils-0.0.5.tar.gz) = 9118 bytes
Home |
Main Index |
Thread Index |
Old Index