From 5b65c990e3980682c2b3fe2b0559b347ab273210 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sun, 23 Mar 2008 02:42:21 +0000 Subject: [PATCH] Import Pygments version 0.9. 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 * ... and it highlights even Brainfuck! --- pygments/DESCR | 12 ++++ pygments/Makefile | 18 +++++ pygments/PLIST | 179 ++++++++++++++++++++++++++++++++++++++++++++++ pygments/distinfo | 5 ++ 4 files changed, 214 insertions(+) create mode 100644 pygments/DESCR create mode 100644 pygments/Makefile create mode 100644 pygments/PLIST create mode 100644 pygments/distinfo diff --git a/pygments/DESCR b/pygments/DESCR new file mode 100644 index 0000000000..61b5358a69 --- /dev/null +++ b/pygments/DESCR @@ -0,0 +1,12 @@ +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 +* ... and it highlights even Brainfuck! diff --git a/pygments/Makefile b/pygments/Makefile new file mode 100644 index 0000000000..ba4aab8915 --- /dev/null +++ b/pygments/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/03/23 02:42:21 obache Exp $ +# + +DISTNAME= Pygments-0.9 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} +EGG_NAME= ${DISTNAME} +CATEGORIES= textproc python +MASTER_SITES= http://pypi.python.org/packages/source/P/Pygments/ \ + ${MASTER_SITE_SOURCEFORGE:=pygments/} + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://pygments.org/ +COMMENT= Python syntax highlighter + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/pygments/PLIST b/pygments/PLIST new file mode 100644 index 0000000000..6fc66b7d5f --- /dev/null +++ b/pygments/PLIST @@ -0,0 +1,179 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/23 02:42:21 obache Exp $ +bin/pygmentize +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/pygments/__init__.py +${PYSITELIB}/pygments/__init__.pyc +${PYSITELIB}/pygments/__init__.pyo +${PYSITELIB}/pygments/cmdline.py +${PYSITELIB}/pygments/cmdline.pyc +${PYSITELIB}/pygments/cmdline.pyo +${PYSITELIB}/pygments/console.py +${PYSITELIB}/pygments/console.pyc +${PYSITELIB}/pygments/console.pyo +${PYSITELIB}/pygments/filter.py +${PYSITELIB}/pygments/filter.pyc +${PYSITELIB}/pygments/filter.pyo +${PYSITELIB}/pygments/filters/__init__.py +${PYSITELIB}/pygments/filters/__init__.pyc +${PYSITELIB}/pygments/filters/__init__.pyo +${PYSITELIB}/pygments/formatter.py +${PYSITELIB}/pygments/formatter.pyc +${PYSITELIB}/pygments/formatter.pyo +${PYSITELIB}/pygments/formatters/__init__.py +${PYSITELIB}/pygments/formatters/__init__.pyc +${PYSITELIB}/pygments/formatters/__init__.pyo +${PYSITELIB}/pygments/formatters/_mapping.py +${PYSITELIB}/pygments/formatters/_mapping.pyc +${PYSITELIB}/pygments/formatters/_mapping.pyo +${PYSITELIB}/pygments/formatters/bbcode.py +${PYSITELIB}/pygments/formatters/bbcode.pyc +${PYSITELIB}/pygments/formatters/bbcode.pyo +${PYSITELIB}/pygments/formatters/html.py +${PYSITELIB}/pygments/formatters/html.pyc +${PYSITELIB}/pygments/formatters/html.pyo +${PYSITELIB}/pygments/formatters/latex.py +${PYSITELIB}/pygments/formatters/latex.pyc +${PYSITELIB}/pygments/formatters/latex.pyo +${PYSITELIB}/pygments/formatters/other.py +${PYSITELIB}/pygments/formatters/other.pyc +${PYSITELIB}/pygments/formatters/other.pyo +${PYSITELIB}/pygments/formatters/rtf.py +${PYSITELIB}/pygments/formatters/rtf.pyc +${PYSITELIB}/pygments/formatters/rtf.pyo +${PYSITELIB}/pygments/formatters/svg.py +${PYSITELIB}/pygments/formatters/svg.pyc +${PYSITELIB}/pygments/formatters/svg.pyo +${PYSITELIB}/pygments/formatters/terminal.py +${PYSITELIB}/pygments/formatters/terminal.pyc +${PYSITELIB}/pygments/formatters/terminal.pyo +${PYSITELIB}/pygments/formatters/terminal256.py +${PYSITELIB}/pygments/formatters/terminal256.pyc +${PYSITELIB}/pygments/formatters/terminal256.pyo +${PYSITELIB}/pygments/lexer.py +${PYSITELIB}/pygments/lexer.pyc +${PYSITELIB}/pygments/lexer.pyo +${PYSITELIB}/pygments/lexers/__init__.py +${PYSITELIB}/pygments/lexers/__init__.pyc +${PYSITELIB}/pygments/lexers/__init__.pyo +${PYSITELIB}/pygments/lexers/_clbuiltins.py +${PYSITELIB}/pygments/lexers/_clbuiltins.pyc +${PYSITELIB}/pygments/lexers/_clbuiltins.pyo +${PYSITELIB}/pygments/lexers/_luabuiltins.py +${PYSITELIB}/pygments/lexers/_luabuiltins.pyc +${PYSITELIB}/pygments/lexers/_luabuiltins.pyo +${PYSITELIB}/pygments/lexers/_mapping.py +${PYSITELIB}/pygments/lexers/_mapping.pyc +${PYSITELIB}/pygments/lexers/_mapping.pyo +${PYSITELIB}/pygments/lexers/_phpbuiltins.py +${PYSITELIB}/pygments/lexers/_phpbuiltins.pyc +${PYSITELIB}/pygments/lexers/_phpbuiltins.pyo +${PYSITELIB}/pygments/lexers/_vimbuiltins.py +${PYSITELIB}/pygments/lexers/_vimbuiltins.pyc +${PYSITELIB}/pygments/lexers/_vimbuiltins.pyo +${PYSITELIB}/pygments/lexers/agile.py +${PYSITELIB}/pygments/lexers/agile.pyc +${PYSITELIB}/pygments/lexers/agile.pyo +${PYSITELIB}/pygments/lexers/asm.py +${PYSITELIB}/pygments/lexers/asm.pyc +${PYSITELIB}/pygments/lexers/asm.pyo +${PYSITELIB}/pygments/lexers/compiled.py +${PYSITELIB}/pygments/lexers/compiled.pyc +${PYSITELIB}/pygments/lexers/compiled.pyo +${PYSITELIB}/pygments/lexers/dotnet.py +${PYSITELIB}/pygments/lexers/dotnet.pyc +${PYSITELIB}/pygments/lexers/dotnet.pyo +${PYSITELIB}/pygments/lexers/functional.py +${PYSITELIB}/pygments/lexers/functional.pyc +${PYSITELIB}/pygments/lexers/functional.pyo +${PYSITELIB}/pygments/lexers/math.py +${PYSITELIB}/pygments/lexers/math.pyc +${PYSITELIB}/pygments/lexers/math.pyo +${PYSITELIB}/pygments/lexers/other.py +${PYSITELIB}/pygments/lexers/other.pyc +${PYSITELIB}/pygments/lexers/other.pyo +${PYSITELIB}/pygments/lexers/special.py +${PYSITELIB}/pygments/lexers/special.pyc +${PYSITELIB}/pygments/lexers/special.pyo +${PYSITELIB}/pygments/lexers/templates.py +${PYSITELIB}/pygments/lexers/templates.pyc +${PYSITELIB}/pygments/lexers/templates.pyo +${PYSITELIB}/pygments/lexers/text.py +${PYSITELIB}/pygments/lexers/text.pyc +${PYSITELIB}/pygments/lexers/text.pyo +${PYSITELIB}/pygments/lexers/web.py +${PYSITELIB}/pygments/lexers/web.pyc +${PYSITELIB}/pygments/lexers/web.pyo +${PYSITELIB}/pygments/plugin.py +${PYSITELIB}/pygments/plugin.pyc +${PYSITELIB}/pygments/plugin.pyo +${PYSITELIB}/pygments/scanner.py +${PYSITELIB}/pygments/scanner.pyc +${PYSITELIB}/pygments/scanner.pyo +${PYSITELIB}/pygments/style.py +${PYSITELIB}/pygments/style.pyc +${PYSITELIB}/pygments/style.pyo +${PYSITELIB}/pygments/styles/__init__.py +${PYSITELIB}/pygments/styles/__init__.pyc +${PYSITELIB}/pygments/styles/__init__.pyo +${PYSITELIB}/pygments/styles/autumn.py +${PYSITELIB}/pygments/styles/autumn.pyc +${PYSITELIB}/pygments/styles/autumn.pyo +${PYSITELIB}/pygments/styles/borland.py +${PYSITELIB}/pygments/styles/borland.pyc +${PYSITELIB}/pygments/styles/borland.pyo +${PYSITELIB}/pygments/styles/colorful.py +${PYSITELIB}/pygments/styles/colorful.pyc +${PYSITELIB}/pygments/styles/colorful.pyo +${PYSITELIB}/pygments/styles/default.py +${PYSITELIB}/pygments/styles/default.pyc +${PYSITELIB}/pygments/styles/default.pyo +${PYSITELIB}/pygments/styles/emacs.py +${PYSITELIB}/pygments/styles/emacs.pyc +${PYSITELIB}/pygments/styles/emacs.pyo +${PYSITELIB}/pygments/styles/friendly.py +${PYSITELIB}/pygments/styles/friendly.pyc +${PYSITELIB}/pygments/styles/friendly.pyo +${PYSITELIB}/pygments/styles/fruity.py +${PYSITELIB}/pygments/styles/fruity.pyc +${PYSITELIB}/pygments/styles/fruity.pyo +${PYSITELIB}/pygments/styles/manni.py +${PYSITELIB}/pygments/styles/manni.pyc +${PYSITELIB}/pygments/styles/manni.pyo +${PYSITELIB}/pygments/styles/murphy.py +${PYSITELIB}/pygments/styles/murphy.pyc +${PYSITELIB}/pygments/styles/murphy.pyo +${PYSITELIB}/pygments/styles/native.py +${PYSITELIB}/pygments/styles/native.pyc +${PYSITELIB}/pygments/styles/native.pyo +${PYSITELIB}/pygments/styles/pastie.py +${PYSITELIB}/pygments/styles/pastie.pyc +${PYSITELIB}/pygments/styles/pastie.pyo +${PYSITELIB}/pygments/styles/perldoc.py +${PYSITELIB}/pygments/styles/perldoc.pyc +${PYSITELIB}/pygments/styles/perldoc.pyo +${PYSITELIB}/pygments/styles/trac.py +${PYSITELIB}/pygments/styles/trac.pyc +${PYSITELIB}/pygments/styles/trac.pyo +${PYSITELIB}/pygments/styles/vim.py +${PYSITELIB}/pygments/styles/vim.pyc +${PYSITELIB}/pygments/styles/vim.pyo +${PYSITELIB}/pygments/token.py +${PYSITELIB}/pygments/token.pyc +${PYSITELIB}/pygments/token.pyo +${PYSITELIB}/pygments/unistring.py +${PYSITELIB}/pygments/unistring.pyc +${PYSITELIB}/pygments/unistring.pyo +${PYSITELIB}/pygments/util.py +${PYSITELIB}/pygments/util.pyc +${PYSITELIB}/pygments/util.pyo +@dirrm ${PYSITELIB}/pygments/styles +@dirrm ${PYSITELIB}/pygments/lexers +@dirrm ${PYSITELIB}/pygments/formatters +@dirrm ${PYSITELIB}/pygments/filters +@dirrm ${PYSITELIB}/pygments +@dirrm ${PYSITELIB}/${EGG_INFODIR} diff --git a/pygments/distinfo b/pygments/distinfo new file mode 100644 index 0000000000..44b0445e08 --- /dev/null +++ b/pygments/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/03/23 02:42:21 obache Exp $ + +SHA1 (Pygments-0.9.tar.gz) = 2d5a3186a6b9c6f6e05c147eeb18af37b7937708 +RMD160 (Pygments-0.9.tar.gz) = 17d1e3ca9a2986593c773a1b66cb5eae4032c6cf +Size (Pygments-0.9.tar.gz) = 780966 bytes