From f82fa818f007ea8626cc66ba131b1641b186b435 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 21 Nov 2013 17:22:24 -0700 Subject: [PATCH] Add python pygments recipe --- dev-python/pygments/pygments-1.6.recipe | 54 +++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 dev-python/pygments/pygments-1.6.recipe diff --git a/dev-python/pygments/pygments-1.6.recipe b/dev-python/pygments/pygments-1.6.recipe new file mode 100644 index 000000000..13cdcfea6 --- /dev/null +++ b/dev-python/pygments/pygments-1.6.recipe @@ -0,0 +1,54 @@ +SUMMARY="a generic syntax highlighter for general use" +DESCRIPTION=" +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 that increase highlighting + quality +* support for new languages and formats are added easily; most + languages use a simple regex-based lexing mechanism +* a number of output formats is available, among them HTML, RTF, LaTeX + and ANSI sequences +* it is usable as a command-line tool and as a library +* ... and it highlights even Brainf*ck! +" +HOMEPAGE="http://pygments.org/" +SRC_URI="https://pypi.python.org/packages/source/P/Pygments/Pygments-1.6.tar.gz" +CHECKSUM_MD5="a18feedf6ffd0b0cc8c8b0fbdb2027b1" +COPYRIGHT="2006-2013 by the Pygments team, see AUTHORS" +LICENSE="BSD (2-clause)" +REVISION="1" +ARCHITECTURES="x86 ?x86_gcc2" +SECONDARY_ARCHITECTURES="x86 ?x86_gcc2" + +SOURCE_DIR="Pygments-1.6" + +PROVIDES=" + pygments$secondaryArchSuffix = $portVersion + cmd:pygmentize$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + cmd:python$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" + cmd:python$secondaryArchSuffix + " + +BUILD() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py build +} + +INSTALL() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py install \ + --prefix=$prefix +}