Git Repositories

Pygments added
authorCyrille Pontvieux <jrd@enialis.net>
Thu, 6 Feb 2014 02:05:43 +0000 (03:05 +0100)
committerCyrille Pontvieux <jrd@enialis.net>
Thu, 6 Feb 2014 02:05:43 +0000 (03:05 +0100)
14 files changed:
Pygments/14.1/1.6/SLKBUILD [new file with mode: 0644]
Pygments/14.1/1.6/con [new file with mode: 0644]
Pygments/14.1/1.6/dep [new file with mode: 0644]
Pygments/14.1/1.6/makedep [new file with mode: 0644]
Pygments/14.1/1.6/sug [new file with mode: 0644]
Pygments/14.1/fixversion [new file with mode: 0644]
Pygments/14.1/version [new file with mode: 0644]
Pygments/arch [new file with mode: 0644]
Pygments/buildschema [new file with mode: 0644]
Pygments/dlurl [new file with mode: 0644]
Pygments/md5sum [new file with mode: 0644]
Pygments/pattern [new file with mode: 0644]
Pygments/schema [new file with mode: 0644]
Pygments/url [new file with mode: 0644]

diff --git a/Pygments/14.1/1.6/SLKBUILD b/Pygments/14.1/1.6/SLKBUILD
new file mode 100644 (file)
index 0000000..afdb092
--- /dev/null
@@ -0,0 +1,36 @@
+# vim: syn=sh ft=sh et sw=2 sts=2 ts=2 tw=0:
+#Packager: Cyrille Pontvieux <jrd~at~enialis~dot~net>
+
+pkgname=Pygments
+pkgver=1.6
+pkgrel=1cp
+
+source=(http://pypi.python.org/packages/source/P/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sourcetemplate=http://people.salixos.org/jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/
+docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "license" "changes")
+url=http://pygments.org
+
+slackdesc=\
+(
+#|-----handy-ruler------------------------------------------------------|
+"$pkgname (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."
+" * Support for new languages and formats are added easily."
+" * output formats: HTML, LaTeX, RTF, SVG and ANSI sequences."
+" * It is usable as a command-line tool and as a library."
+)
+
+build() {
+  cd $SRC/$pkgname-$pkgver || return 1
+  python setup.py install --prefix=/usr --root=$PKG || return 1
+  mkdir -p $PKG/usr/doc/$pkgname-$pkgver || return 1
+  cp docs/build/*.html $PKG/usr/doc/$pkgname-$pkgver/ || return 1
+  mkdir -p $PKG/usr/man/man1 || return 1
+  # Adapting to Slackware's directory layout
+  sed "s,share/doc/python-pygments,doc/$pkgname-$pkgver," docs/pygmentize.1 > $PKG/usr/man/man1/pygmentize.1 || return 1
+}
diff --git a/Pygments/14.1/1.6/con b/Pygments/14.1/1.6/con
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Pygments/14.1/1.6/dep b/Pygments/14.1/1.6/dep
new file mode 100644 (file)
index 0000000..a5d77d0
--- /dev/null
@@ -0,0 +1 @@
+pil,python,python-chardet
diff --git a/Pygments/14.1/1.6/makedep b/Pygments/14.1/1.6/makedep
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Pygments/14.1/1.6/sug b/Pygments/14.1/1.6/sug
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Pygments/14.1/fixversion b/Pygments/14.1/fixversion
new file mode 100644 (file)
index 0000000..c508d53
--- /dev/null
@@ -0,0 +1 @@
+false
diff --git a/Pygments/14.1/version b/Pygments/14.1/version
new file mode 100644 (file)
index 0000000..810ee4e
--- /dev/null
@@ -0,0 +1 @@
+1.6
diff --git a/Pygments/arch b/Pygments/arch
new file mode 100644 (file)
index 0000000..0702cb5
--- /dev/null
@@ -0,0 +1 @@
+all
diff --git a/Pygments/buildschema b/Pygments/buildschema
new file mode 100644 (file)
index 0000000..fdc793e
--- /dev/null
@@ -0,0 +1 @@
+python
diff --git a/Pygments/dlurl b/Pygments/dlurl
new file mode 100644 (file)
index 0000000..0d21c4b
--- /dev/null
@@ -0,0 +1 @@
+http://pypi.python.org/packages/source/P/Pygments/
diff --git a/Pygments/md5sum b/Pygments/md5sum
new file mode 100644 (file)
index 0000000..0d85d85
--- /dev/null
@@ -0,0 +1 @@
+1fa8e6ad1d3c204550e5726b61b6c84a
diff --git a/Pygments/pattern b/Pygments/pattern
new file mode 100644 (file)
index 0000000..4cd216b
--- /dev/null
@@ -0,0 +1 @@
+sed -rn '/<a href="[^\/]+">/s,.*<a [^>]+>[^<]+-([0-9][^<]*)\.tar\.[bgx]z2?<.*,\\1,p'|sort -rV
diff --git a/Pygments/schema b/Pygments/schema
new file mode 100644 (file)
index 0000000..26b3554
--- /dev/null
@@ -0,0 +1 @@
+nginxindex
diff --git a/Pygments/url b/Pygments/url
new file mode 100644 (file)
index 0000000..71c53cc
--- /dev/null
@@ -0,0 +1 @@
+http://pygments.org