summaryrefslogtreecommitdiff
path: root/textproc/py-pygments
diff options
context:
space:
mode:
authorobache <obache>2011-02-28 08:54:04 +0000
committerobache <obache>2011-02-28 08:54:04 +0000
commitd28ae2ef5ef70535e5773f6053e8a844b32e9f95 (patch)
tree0518c15cf54e852aaa84f1a11a20d7a25b81ebfe /textproc/py-pygments
parent32debe8258caf9a9a6f4a70360cce3399a8b0c08 (diff)
downloadpkgsrc-d28ae2ef5ef70535e5773f6053e8a844b32e9f95.tar.gz
Update Pygments to 1.4.
While here, add PKG_RUN_TEST support. Version 1.4 ----------- (codename Unschärfe, released Jan 03, 2010) - Lexers added: * Factor (#520) * PostScript (#486) * Verilog (#491) * BlitzMax Basic (#478) * Ioke (#465) * Java properties, split out of the INI lexer (#445) * Scss (#509) * Duel/JBST * XQuery (#617) * Mason (#615) * GoodData (#609) * SSP (#473) * Autohotkey (#417) * Google Protocol Buffers * Hybris (#506) - Do not fail in analyse_text methods (#618). - Performance improvements in the HTML formatter (#523). - With the ``noclasses`` option in the HTML formatter, some styles present in the stylesheet were not added as inline styles. - Four fixes to the Lua lexer (#480, #481, #482, #497). - More context-sensitive Gherkin lexer with support for more i18n translations. - Support new OO keywords in Matlab lexer (#521). - Small fix in the CoffeeScript lexer (#519). - A bugfix for backslashes in ocaml strings (#499). - Fix unicode/raw docstrings in the Python lexer (#489). - Allow PIL to work without PIL.pth (#502). - Allow seconds as a unit in CSS (#496). - Support ``application/javascript`` as a JavaScript mime type (#504). - Support `Offload <http://offload.codeplay.com>`_ C++ Extensions as keywords in the C++ lexer (#484). - Escape more characters in LaTeX output (#505). - Update Haml/Sass lexers to version 3 (#509). - Small PHP lexer string escaping fix (#515). - Support comments before preprocessor directives, and unsigned/ long long literals in C/C++ (#613, #616). - Support line continuations in the INI lexer (#494). - Fix lexing of Dylan string and char literals (#628). - Fix class/procedure name highlighting in VB.NET lexer (#624).
Diffstat (limited to 'textproc/py-pygments')
-rw-r--r--textproc/py-pygments/Makefile11
-rw-r--r--textproc/py-pygments/PLIST5
-rw-r--r--textproc/py-pygments/distinfo8
3 files changed, 17 insertions, 7 deletions
diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile
index 6ea0d88687c..d8494db57a8 100644
--- a/textproc/py-pygments/Makefile
+++ b/textproc/py-pygments/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2010/03/10 14:06:55 obache Exp $
+# $NetBSD: Makefile,v 1.8 2011/02/28 08:54:04 obache Exp $
#
-DISTNAME= Pygments-1.3.1
+DISTNAME= Pygments-1.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= textproc python
MASTER_SITES= http://pypi.python.org/packages/source/P/Pygments/
@@ -13,5 +13,12 @@ LICENSE= 2-clause-bsd
PKG_DESTDIR_SUPPORT= user-destdir
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
+BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TEST_TARGET= test
+.endif
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-pygments/PLIST b/textproc/py-pygments/PLIST
index 979319243e6..1be79c979bf 100644
--- a/textproc/py-pygments/PLIST
+++ b/textproc/py-pygments/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2010/03/10 14:06:55 obache Exp $
+@comment $NetBSD: PLIST,v 1.7 2011/02/28 08:54:04 obache Exp $
bin/pygmentize
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -96,6 +96,9 @@ ${PYSITELIB}/pygments/lexers/dotnet.pyo
${PYSITELIB}/pygments/lexers/functional.py
${PYSITELIB}/pygments/lexers/functional.pyc
${PYSITELIB}/pygments/lexers/functional.pyo
+${PYSITELIB}/pygments/lexers/hdl.py
+${PYSITELIB}/pygments/lexers/hdl.pyc
+${PYSITELIB}/pygments/lexers/hdl.pyo
${PYSITELIB}/pygments/lexers/math.py
${PYSITELIB}/pygments/lexers/math.pyc
${PYSITELIB}/pygments/lexers/math.pyo
diff --git a/textproc/py-pygments/distinfo b/textproc/py-pygments/distinfo
index ec6ecdaa9d8..1841f1cc26c 100644
--- a/textproc/py-pygments/distinfo
+++ b/textproc/py-pygments/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2010/03/10 14:06:55 obache Exp $
+$NetBSD: distinfo,v 1.6 2011/02/28 08:54:04 obache Exp $
-SHA1 (Pygments-1.3.1.tar.gz) = 947f90c5f71e83ec68161b33204b860a4cfd0742
-RMD160 (Pygments-1.3.1.tar.gz) = f5c6ea125a5faa4eef9ead232cae698cdf080d5a
-Size (Pygments-1.3.1.tar.gz) = 1052676 bytes
+SHA1 (Pygments-1.4.tar.gz) = d34f96421a86004aa5d26ecf975edefd09f948b1
+RMD160 (Pygments-1.4.tar.gz) = 52775927f5e1b61c4203ae21fa9347c376f59287
+Size (Pygments-1.4.tar.gz) = 3533757 bytes