BSD Ports

shells/py-bashlex 0.18nb1 NetBSD

Python parser for bash

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v3
Categories
shells, python
Package size
134.6 KiB, 882.8 KiB installed

Description

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

In the other systems

SystemPortVersion
NetBSDshells/py-bashlex0.18nb1
DragonFlydevel/py-bashlex0.18

Install

Binary package:

pkgin install py311-bashlex

From pkgsrc:

cd /usr/pkgsrc/shells/py-bashlex && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.18nb1
NetBSD 10.1 aarch640.18nb1
SmartOS / illumos x86_640.18nb1
macOS 15 arm640.18nb1

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-bashlex-0.18nb1, py313-bashlex-0.18nb1, py314-bashlex-0.18nb1