BSD Ports

textproc/py-mathics-pygments 1.0.4_1 FreeBSD

Lexer and highlighter for Mathematica/Wolfram Language source code

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
textproc, math, python
Package size
76.0 KiB, 417.2 KiB installed

Description

This is a lexer and highlighter for Mathematica/Wolfram Language source code using the pygments engine.

It currently supports:

  • All builtin functions in the System context including unicode symbols except those that use characters from the private unicode space (e.g. \[FormalA]).
  • User defined symbols, including those in a context.
  • All operators including unicode operators like U+1D70B (pi).
  • Comments, including multi line and nested.
  • Strings, including multi line and escaped quotes.
  • Patterns, slots (including named slots #name introduced in version 10) and slot sequences.
  • Message names (e.g. the ivar in General::ivar)
  • Numbers including base notation (e.g. 8 ^^ 23 == 19) and scientific notation (e.g. 1 *^ 3 == 1000).
  • Local variables in Block, With and Module

See also: https://github.com/Mathics3/mathics-pygments/

In the other systems

SystemPortVersion
FreeBSDtextproc/py-mathics-pygments1.0.4_1
DragonFlytextproc/py-mathics-pygments1.0.4

Install

Binary package:

pkg install py312-mathics_pygments

From the ports tree:

cd /usr/ports/textproc/py-mathics-pygments/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-mathics_pygments>0:textproc/py-mathics-pygments

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.4_11.0.4_11.0.21.0.41.0.4_1
FreeBSD:14:quarterly1.0.4_11.0.4_1n/a1.0.41.0.4_1
FreeBSD:15:latest1.0.4_11.0.4_1n/a1.0.41.0.4
FreeBSD:15:quarterly1.0.4_11.0.4_1n/an/an/a
FreeBSD:16:latest1.0.4_11.0.4_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 16
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

pkg-plist 16
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__init__.py
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/__init__.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/__init__.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/builtins.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/builtins.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/lexer.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/lexer.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/style.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/style.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/version.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/__pycache__/version.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/builtins.py
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/data/mma-tables.json
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/lexer.py
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/style.py
  • %%PYTHON_SITELIBDIR%%/mathics_pygments/version.py
distinfo 1
FileSizeSHA256
mathics_pygments-1.0.4.tar.gz57747694a2fdaf61eb60068f3dc83385a5eedb2ce9c0444b73603e8d20387586c4fc5
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.