Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2026 11:57:25 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 321eef1f6bb4 - main - devel/py-ipython-pygments-lexers: Add py-ipython-pygments-lexers 1.1.1
Message-ID:  <6968d625.38a40.7457995a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=321eef1f6bb48d7ad134cbfea99b47d46365c72c

commit 321eef1f6bb48d7ad134cbfea99b47d46365c72c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-01-15 11:34:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-01-15 11:53:03 +0000

    devel/py-ipython-pygments-lexers: Add py-ipython-pygments-lexers 1.1.1
    
    A Pygments plugin for IPython code & console sessions
    
    IPython is an interactive Python shell. Among other features, it adds some
    special convenience syntax, including %magics, !shell commands and help?. This
    package contains lexers for these, to use with the Pygments syntax highlighting
    package.
    - The ipython lexer should be used where only input code is highlighted
    - The ipythonconsole lexer works for an IPython session, including code,
      prompts, output and tracebacks.
    
    These lexers were previously part of IPython itself (in IPython.lib.lexers), but
    have now been moved to a separate package.
---
 devel/Makefile                             |  1 +
 devel/py-ipython-pygments-lexers/Makefile  | 23 +++++++++++++++++++++++
 devel/py-ipython-pygments-lexers/distinfo  |  3 +++
 devel/py-ipython-pygments-lexers/pkg-descr | 12 ++++++++++++
 4 files changed, 39 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1ae3ef102cc9..2cccc7c1b375 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5099,6 +5099,7 @@
     SUBDIR += py-ipykernel
     SUBDIR += py-ipympl
     SUBDIR += py-ipyparallel
+    SUBDIR += py-ipython-pygments-lexers
     SUBDIR += py-ipython_genutils
     SUBDIR += py-ipywidgets
     SUBDIR += py-iso8601
diff --git a/devel/py-ipython-pygments-lexers/Makefile b/devel/py-ipython-pygments-lexers/Makefile
new file mode 100644
index 000000000000..a0925417ef82
--- /dev/null
+++ b/devel/py-ipython-pygments-lexers/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	ipython-pygments-lexers
+PORTVERSION=	1.1.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	ipython_pygments_lexers-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Define a variety of Pygments lexers for highlighting IPython code
+WWW=		https://github.com/ipython/ipython-pygments-lexers
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-ipython-pygments-lexers/distinfo b/devel/py-ipython-pygments-lexers/distinfo
new file mode 100644
index 000000000000..c8b65c5b283d
--- /dev/null
+++ b/devel/py-ipython-pygments-lexers/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1767157561
+SHA256 (ipython_pygments_lexers-1.1.1.tar.gz) = 09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81
+SIZE (ipython_pygments_lexers-1.1.1.tar.gz) = 8393
diff --git a/devel/py-ipython-pygments-lexers/pkg-descr b/devel/py-ipython-pygments-lexers/pkg-descr
new file mode 100644
index 000000000000..aa8199a425bf
--- /dev/null
+++ b/devel/py-ipython-pygments-lexers/pkg-descr
@@ -0,0 +1,12 @@
+A Pygments plugin for IPython code & console sessions
+
+IPython is an interactive Python shell. Among other features, it adds some
+special convenience syntax, including %magics, !shell commands and help?. This
+package contains lexers for these, to use with the Pygments syntax highlighting
+package.
+- The ipython lexer should be used where only input code is highlighted
+- The ipythonconsole lexer works for an IPython session, including code,
+  prompts, output and tracebacks.
+
+These lexers were previously part of IPython itself (in IPython.lib.lexers), but
+have now been moved to a separate package.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6968d625.38a40.7457995a>