Pygments is a syntax highlighting package written in Python.
It is a generic syntax highlighter for general use in all kinds of software
such as forum systems, wikis or other applications that need to prettify
source code. Highlights are:
* a wide range of common languages and markup formats is supported
* special attention is paid to details, increasing quality by a fair amount
* support for new languages and formats are added easily
* a number of output formats, presently HTML, LaTeX, RTF and ANSI sequences
* it is usable as a command-line tool and as a library
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-pygments listed in the above command, you can pick from the names under the Packages section.
textproc/py-pygments: Update to 2.19.2
- Disable autoloading of Pytest plugins, in particular devel/py-ruff
(linter) if available in the system
Release changes: https://github.com/pygments/pygments/releases/tag/2.19.2
Reported by: "Matthäus G. Chajdas" <notifications@github.com>
textproc/py-pygments: Clean up BUILD_DEPENDS
from pyproject.toml:
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
from CHANGES:
- Use Hatchling as a build backend instead of setuptools.
This change is transparent to most users. Distribution packagers
who build without build isolation need to add hatchling as a build
dependency and remove setuptools. People downloading source distributions
and wheels from PyPI directly should note that they now have ``pygments``
in their file names instead of ``Pygments``. (#2573)
Reference: https://github.com/pygments/pygments/blob/master/pyproject.toml#L1-L3https://github.com/pygments/pygments/blob/master/CHANGES#L84-L89
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
textproc/py-pygments: Update to 2.15.1
- Add pytest to USE_PYTHON and remove do-test target (now included
in python.mk)
Release notes:://github.com/pygments/pygments/releases/tag/2.15.1
textproc/py-pygments: Update to 2.15.0
- Convert to PEP-517
- Add devel/py-importlib-metadata to run dependencies
when Python version < 3.8
- Rename Project name in pyproject.toml to fix the following error
when generating the packing list, even if the best solution would
be to rename PORTNAME:
===> Staging for py39-pygments-2.15.0
===> py39-pygments-2.15.0 depends on file: /usr/local/bin/python3.9 - found
===> Generating temporary packing list
Traceback (most recent call last):
File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
textproc/py-pygments: upgrade to 2.9.0
Release notes at <https://github.com/pygments/pygments/releases/tag/2.9.0>.
- Remove conflict with the defunct paraview.
- Add a test target (3710 passed, 3 skipped).
Exp-run by antoine.
PR: 256995
Approved by: maintainer’s time-out
devel/ipython5: Fix build after the recent update of textproc/py-pygments by
adding textproc/py-pygments-25 because ipython5 requires this version
Reported by: linimon
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
textproc/py-pygments: Update to 2.2.0
Regarding to r437555 as dependency of devel/py-gdbgui
Reviewed by: mat (mentor), nivit (maintainer)
Approved by: mat (mentor), nivit (maintainer)
Differential Revision: https://reviews.freebsd.org/D10200
- Fix pkg-plist when Python version is >= 3.2 [1]
- Remove indefinite article from COMMENT
- Fix format of WWW field in pkg-descr
Reported by: eadler (via private email) [1]
- Install the manpage regardless of NOPORTDOCS
- Remove MANCOMPRESSED
- Use ${INSTALL_MAN} instead of ${INSTALL_DATA}
to install the manpage
PR: ports/155039
Submitted by: lwhsu
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
Pygments is a syntax highlighting package written in Python.
It is a generic syntax highlighter for general use in all kinds of software
such as forum systems, wikis or other applications that need to prettify
source code. Highlights are:
* a wide range of common languages and markup formats is supported
* special attention is paid to details, increasing quality by a fair amount
* support for new languages and formats are added easily
* a number of output formats, presently HTML, LaTeX, RTF and ANSI sequences
* it is usable as a command-line tool and as a library
WWW: http://pygments.org/