mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 00:00:07 +02:00
Add python pygments recipe
This commit is contained in:
54
dev-python/pygments/pygments-1.6.recipe
Normal file
54
dev-python/pygments/pygments-1.6.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user