Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
adam a3f9ff12d8 py-pygments: updated to 2.8.1
Version 2.8.1
-------------
(released March 7, 2021)

- Fix issue with LaTeX formatter and ``minted``

Version 2.8.0
-------------
(released February 14, 2021)

- Added lexers:

  * AMDGPU
  * CDDL
  * Futhark
  * Graphviz/DOT

- Updated lexers:

  * AutoIt: Support single quoted strings
  * C/C++ & related: Fix mishandling '*/'
  * Cocoa: Add builtin types
  * Console
  * Eiffel: Fix performance issues
  * Fortran: Improve combined keyword detection
  * J: Fix operator ``?`` lexing
  * JavaScript/TypeScript: Fix escapes in backtick strings
  * Kotlin: Improve string interpolation, modifier keyword handling, and various small issues
  * LESS: Support single-line comments
  * Matlab:

    - Add support for class properties
    - Update builtin functions
    - Various cleanups

  * Python: Improve handling of raw f-strings
  * Ruby: Better method name handling
  * Stata: Updated keywords

- Added styles:

  * Material
  * Zenburn

- The `pygmentize` script now uses `argparse`, all options should work
  as before

- Add `pygmentize -C` option to guess a lexer from content

- With this release, Pygments moves to a new internal testing system
  See ``Contributing.md`` for details. The main advantage of this new change
  is a much better test coverage of all existing example lexers. It also makes
  it much easier to add new test snippets.
- Make guessing prefer Python 3 lexer
- Do not guess MIME or SQL without reason
- Changed setuptools to use a declarative config through ``setup.cfg``.
  Building Pygments now requires setuptools 39.2+.
- Add markdown to MarkdownLexer aliases
- Change line number handling

  * In ``<table>`` based output, the ``td.linenos`` element will have either a
    ``normal`` or ``special`` class attached. Previously, only ``special`` line
    numbers got a class. This prevents styles from getting applied twice -
    once via ``<pre>``, once via ``<span class="special">``. This also means
    that ``td.linenos pre`` is no longer styled, instead, use
    ``td.linenos .normal`` and ``td.linenos .special``.
  * In the "inline" style, the DOM element order was changed. The line number
    is added first, then the line is wrapped is wrapped by the highlighter.
    This fixes lines not being fully highlighted.
  * The visual output for inline and non-inline line numbers & highlighting,
    as well as class-based and inline styling is now consistent.
  * Line number styles are set to ``background-color: transparent`` and
    ``color: inherit`` by default. This works much better with dark styles
    which don't have colors set for line numbers.

- Remove "raw" alias from RawTokenLexer, so that it cannot be
  selected by alias.
- Fix RawTokenLexer to work in Python 3 and handle exceptions.
- Add prompt colors to the Solarized theme
- Image formatter supports background colors now
- Add support for anchors in conjunction with inline line numbers
- Modernize the codebase using ``pyupgrade``
- Add support for line numbers to the ``terminal256`` formatter
- Improve ``analyze_text`` logic for ``ECL``
- Improve ``analyze_text`` logic for ``CBM Basic V2``
- Improve LaTeX formatter

Version 2.7.4
-------------
(released January 12, 2021)

- Updated lexers:

  - Apache configurations: Improve handling of malformed tags
  - CSS: Add support for variables
  - Crystal
  - Coq
  - Fortran: Add missing keywords
  - Ini
  - JavaScript and variants
  - Markdown
  - Shell

    - Lex trailing whitespace as part of the prompt
    - Add missing ``in`` keyword

  - SQL - Fix keywords
  - Typescript: Fix incorrect punctuation handling

- Fix infinite loop in SML lexer
- Fix backtracking string regexes in JavaScript/TypeScript, Modula2
  and many other lexers
- Limit recursion with nesting Ruby heredocs
- Fix a few inefficient regexes for guessing lexers
- Fix the raw token lexer handling of Unicode
- Revert a private API change in the HTML formatter
  please note that private APIs remain subject to change!
- Fix several exponential/cubic-complexity regexes found by
  Ben Caller/Doyensec
- Fix incorrect MATLAB example

Thanks to Google's OSS-Fuzz project for finding many of these bugs.

Version 2.7.3
-------------
(released December 6, 2020)

- Updated lexers:

  * Ada
  * HTML
  * Java
  * JavaScript
  * JSON
  * Lean
  * LLVM
  * Mason
  * MySQL
  * Rust
  * Turtle

- Deprecated JsonBareObjectLexer, which is now identical to JsonLexer
- The ``ImgFormatter`` now calculates the exact character width, which fixes some issues with overlapping text
- Documentation fixes
- Fixed duplicated Juttle language alias
- Added support for Kotlin scripts
- Removed CSS rule which forced margin to 0


Version 2.7.2
-------------
(released October 24, 2020)

- Updated lexers:

  * Latex
  * LLVM
  * SPARQL

- Fix Python console/traceback lexer problems with custom exceptions without messages
- Allow loading ttc fonts on Mac/image formatter
- Improve ``analyze_text`` across a variety of lexers
- Remove CSS rule which forced the vertical padding to 0 for line numbers
- Fix ``TNTLexer`` crashing on unexpected EOL
- ``regexlint`` can be now run locally as part of ``tox`` tests
- Fix typos
- Add Python 3.9 as a supported version


Version 2.7.1
-------------
(released September 16, 2020)

- Fixed a regression in the JSON lexer


Version 2.7.0
-------------
(released September 12, 2020)

- Added lexers:

  * Arrow
  * BARE
  * Devicetree
  * F*
  * GDScript
  * Pointless
  * PromQL
  * PsySH
  * Singularity
  * TiddlyWiki5
  * TNT
  * YANG

- Updated lexers:

  * APL
  * C++
  * Chapel
  * CMake
  * CSound
  * Cython
  * Dart
  * Fennel
  * Fortran
  * GAS
  * HTTP
  * Inform 6
  * Javascript
  * JSON
  * Lean
  * Matlab
  * Markdown
  * MySQL
  * NASM
  * Nim
  * PostgreSQL
  * PowerShell
  * Protobuf
  * Robot
  * SQL
  * SystemVerilog
  * TeraTerm
  * XML

- Added a new filter for math symbols
- The Kconfig lexer will match Kconfig derivative names now
- Improved HTML formatter output
- ``.markdown`` is now recognized as an extension for Markdown files
- Fixed line number colors for Solarized
- Improvements to exception handling
- Improvements to tests
- Various code cleanups


Version 2.6.1
-------------
(released March 8, 2020)

- This release fixes a packaging issue. No functional changes.


Version 2.6
-----------
(released March 8, 2020)

- Running Pygments on Python 2.x is no longer supported.
  (The Python 2 lexer still exists.)

- Added lexers:

  * Linux kernel logs
  * LLVM MIR
  * MiniScript
  * Mosel
  * Parsing Expression Grammar
  * ReasonML
  * Ride
  * Sieve
  * USD
  * WebIDL

- Updated lexers:

  * Apache2
  * Chapel
  * CSound
  * D
  * Haskell
  * Idris
  * Perl6/Raku lexer
  * Python3
  * Rust: Updated lexer to cover more builtins (mostly macros) and miscellaneous
    new syntax
  * SQL: Add temporal support keywords

- The 256-color/true-color terminal formatters now support the italic attribute
  in styles
- Support HTTP 2/3 header
- Support missing reason in HTTP header
- Boogie/Silver: support line continuations and triggers, move contract keywords
  to separate category
- GAS: support C-style comments
- Fix names in S lexer
- Fix numeric literals in Ada
- Recognize ``.mjs`` files as Javascript
- Recognize ``.eex`` files as Elixir
- Fix ``re.MULTILINE`` usage
- Recognize ``pipenv`` and ``poetry`` dependency & lock files
- Improve font search on Windows
- Remove unused script block
2021-04-06 15:27:29 +00:00
archivers zstd: Update to 1.4.9 2021-04-05 10:12:38 +00:00
audio use versioned py-pygemnts 2021-04-06 14:23:24 +00:00
benchmarks dnsperf: Update to version 2.5.1 2021-03-23 18:17:26 +00:00
biology biology/molsketch: update to 0.7.2 2021-04-04 19:10:20 +00:00
bootstrap bootstrap: Add MidnightBSD support to bootstrap shell script 2021-03-15 16:22:06 +00:00
cad Add LibreDWG, a free C library for reading/writing DWG files 2021-04-02 21:32:59 +00:00
chat Revbump all Go packages after go115 update 2021-03-19 17:36:46 +00:00
comms comms/asterisk16: Update to 16.17.0 2021-03-26 00:04:08 +00:00
converters help2man: updated to 1.48.3 2021-04-05 08:55:14 +00:00
cross atasm: update to 1.09. 2021-03-21 10:21:07 +00:00
databases use versioned py-pygemnts 2021-04-06 14:23:24 +00:00
devel use versioned py-pygemnts 2021-04-06 14:36:48 +00:00
distfiles
doc doc: Added sysutils/xplr version 0.3.2 2021-04-06 15:01:07 +00:00
editors dasher: Fix glib2-2.6.0 breakage 2021-04-05 08:07:17 +00:00
emulators *: bump PKGREVISION for fluidsynth ABI bump 2021-04-05 10:55:28 +00:00
filesystems ori: Update to 0.8.2 - help it build again. 2021-04-05 07:51:36 +00:00
finance py-braintree: updated to 4.7.0 2021-04-05 19:49:48 +00:00
fonts harfbuzz-icu: fix library name for Darwin 2021-04-01 06:16:50 +00:00
games *: bump PKGREVISION for fluidsynth ABI bump 2021-04-05 10:55:28 +00:00
geography geography/qgis: Update to 3.16.5 2021-03-29 23:16:14 +00:00
graphics *: bump PKGREVISION for fluidsynth ABI bump 2021-04-05 10:55:28 +00:00
ham hackrf: update to 2021.03.01 2021-04-05 12:49:22 +00:00
inputmethod uim: Depend on ruby explicitly to fix build 2021-04-03 05:13:07 +00:00
lang added pygments to versioned_dependencies.mk 2021-04-06 14:14:08 +00:00
licenses add eternal-lands-license 2021-04-04 09:36:29 +00:00
mail Update to 3.13. From the changelog: 2021-04-03 18:43:32 +00:00
math use versioned py-pygemnts 2021-04-06 14:36:48 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs Remove more reference to ruby25. 2021-04-01 14:23:20 +00:00
misc use versioned py-pygemnts 2021-04-06 15:03:32 +00:00
mk mk: Remove lingering gcc5 reference 2021-04-06 12:07:57 +00:00
multimedia mkvtoolnix: updated to 56.0.0 2021-04-05 19:45:07 +00:00
net py-softlayer: updated to 5.9.3 2021-04-06 14:47:59 +00:00
news pan: Fix build with glib-2.68.0 2021-04-02 14:58:22 +00:00
packages
parallel match arm64 systems. fixes build on netbsd/arm64. 2021-04-02 07:59:35 +00:00
pkgtools pkgtools/pkglint: bump version to 21.1.0 2021-03-25 21:55:05 +00:00
print use versioned py-pygemnts 2021-04-06 15:03:32 +00:00
regress regress/infra-unittests: use single quotes for string literals 2021-01-04 21:11:43 +00:00
security py-google-auth-oauthlib: updated to 0.4.4 2021-04-05 19:53:03 +00:00
shells fish: Update to 3.2.1 2021-03-19 10:19:35 +00:00
sysutils Add xplr 2021-04-06 15:00:41 +00:00
templates templates: remove now mostly redundant <hr> 2021-04-05 10:34:10 +00:00
textproc py-pygments: updated to 2.8.1 2021-04-06 15:27:29 +00:00
time Add quest-tui 2021-03-31 20:28:04 +00:00
wm compiz: Remove broken PKG_OPTION "gnome" 2021-03-30 14:45:36 +00:00
www use versioned py-pygemnts 2021-04-06 15:22:38 +00:00
x11 doc: add x11/py-qtgraph-qt5 2021-04-06 08:34:00 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md *: fix a bunch of typos in README and various documentation files. 2020-12-12 10:42:47 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git