pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-pygments Update Pygments to 1.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/117b0adeaf1c
branches:  trunk
changeset: 392849:117b0adeaf1c
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue May 12 13:45:01 2009 +0000

description:
Update Pygments to 1.0.
While here, set LICENSE.

Version 1.0
-----------
(codename Dreiundzwanzig, released Nov 23, 2008)

- Don't use join(splitlines()) when converting newlines to ``\n``,
  because that doesn't keep all newlines at the end when the
  ``stripnl`` lexer option is False.

- Add ``-N`` option to command-line interface to get a lexer name
  for a given filename.

- Add Tango style, written by Andre Roberge for the Crunchy project.

- Add Python3TracebackLexer and ``python3`` option to
  PythonConsoleLexer.

- Fix a few bugs in the Haskell lexer.

- Fix PythonTracebackLexer to be able to recognize SyntaxError and
  KeyboardInterrupt (#360).

- Provide one formatter class per image format, so that surprises like::

    pygmentize -f gif -o foo.gif foo.py

  creating a PNG file are avoided.

- Actually use the `font_size` option of the image formatter.

- Fixed numpy lexer that it doesn't listen for `*.py` any longer.

- Fixed HTML formatter so that text options can be Unicode
  strings (#371).

- Unified Diff lexer supports the "udiff" alias now.

- Fix a few issues in Scala lexer (#367).

- RubyConsoleLexer now supports simple prompt mode (#363).

- JavascriptLexer is smarter about what constitutes a regex (#356).

- Add Applescript lexer, thanks to Andreas Amann (#330).

- Make the codetags more strict about matching words (#368).

- NginxConfLexer is a little more accurate on mimetypes and
  variables (#370).

diffstat:

 textproc/py-pygments/Makefile |  6 ++++--
 textproc/py-pygments/PLIST    |  5 ++++-
 textproc/py-pygments/distinfo |  8 ++++----
 3 files changed, 12 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r 2b08369a3947 -r 117b0adeaf1c textproc/py-pygments/Makefile
--- a/textproc/py-pygments/Makefile     Tue May 12 13:27:55 2009 +0000
+++ b/textproc/py-pygments/Makefile     Tue May 12 13:45:01 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2008/11/18 07:29:11 obache Exp $
+# $NetBSD: Makefile,v 1.4 2009/05/12 13:45:01 obache Exp $
 #
 
-DISTNAME=      Pygments-0.11.1
+DISTNAME=      Pygments-1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  http://pypi.python.org/packages/source/P/Pygments/
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://pygments.org/
 COMMENT=       Python syntax highlighter
 
+LICENSE=       modified-bsd
+
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 .include "../../lang/python/egg.mk"
diff -r 2b08369a3947 -r 117b0adeaf1c textproc/py-pygments/PLIST
--- a/textproc/py-pygments/PLIST        Tue May 12 13:27:55 2009 +0000
+++ b/textproc/py-pygments/PLIST        Tue May 12 13:45:01 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2008/11/18 07:29:11 obache Exp $
+@comment $NetBSD: PLIST,v 1.3 2009/05/12 13:45:01 obache Exp $
 bin/pygmentize
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -162,6 +162,9 @@
 ${PYSITELIB}/pygments/styles/perldoc.py
 ${PYSITELIB}/pygments/styles/perldoc.pyc
 ${PYSITELIB}/pygments/styles/perldoc.pyo
+${PYSITELIB}/pygments/styles/tango.py
+${PYSITELIB}/pygments/styles/tango.pyc
+${PYSITELIB}/pygments/styles/tango.pyo
 ${PYSITELIB}/pygments/styles/trac.py
 ${PYSITELIB}/pygments/styles/trac.pyc
 ${PYSITELIB}/pygments/styles/trac.pyo
diff -r 2b08369a3947 -r 117b0adeaf1c textproc/py-pygments/distinfo
--- a/textproc/py-pygments/distinfo     Tue May 12 13:27:55 2009 +0000
+++ b/textproc/py-pygments/distinfo     Tue May 12 13:45:01 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2008/11/18 07:29:11 obache Exp $
+$NetBSD: distinfo,v 1.3 2009/05/12 13:45:01 obache Exp $
 
-SHA1 (Pygments-0.11.1.tar.gz) = 1209029a1b06c779c523e71a33d096ec7f1237d1
-RMD160 (Pygments-0.11.1.tar.gz) = a0ff959c56a4754ec17141f59c0679e7f2a073da
-Size (Pygments-0.11.1.tar.gz) = 865977 bytes
+SHA1 (Pygments-1.0.tar.gz) = b71e33147fc402e361227b30e1f589eecafd42a7
+RMD160 (Pygments-1.0.tar.gz) = aa9d4816bb1bd1b67a5e6ac0f94d9ae3410df71b
+Size (Pygments-1.0.tar.gz) = 930751 bytes



Home | Main Index | Thread Index | Old Index