[arch-commits] Commit in python-pygments/repos/community-any (4 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Feb 15 11:05:57 UTC 2016


    Date: Monday, February 15, 2016 @ 12:05:57
  Author: foutrelis
Revision: 161633

archrelease: copy trunk to community-any

Added:
  python-pygments/repos/community-any/PKGBUILD
    (from rev 161632, python-pygments/trunk/PKGBUILD)
  python-pygments/repos/community-any/python2-pygments.install
    (from rev 161632, python-pygments/trunk/python2-pygments.install)
Deleted:
  python-pygments/repos/community-any/PKGBUILD
  python-pygments/repos/community-any/python2-pygments.install

--------------------------+
 PKGBUILD                 |  123 +++++++++++++++++++++++----------------------
 python2-pygments.install |   14 ++---
 2 files changed, 70 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-15 11:05:47 UTC (rev 161632)
+++ PKGBUILD	2016-02-15 11:05:57 UTC (rev 161633)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Timm Preetz <timm at preetz.us>
-
-pkgname=('python-pygments' 'python2-pygments' 'pygmentize')
-pkgver=2.1
-pkgrel=1
-pkgdesc="Python syntax highlighter"
-arch=('any')
-url="http://pygments.org/"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-options=('!emptydirs')
-source=(https://pypi.python.org/packages/source/P/Pygments/Pygments-$pkgver.tar.gz)
-sha256sums=('13a0ef5fafd7b16cf995bc28fe7aab0780dab1b2fda0fc89e033709af8b8a47b')
-
-package_python-pygments() {
-  depends=('python-setuptools')
-
-  cd "$srcdir/Pygments-$pkgver"
-
-  python3 setup.py install --root="$pkgdir" -O1
-
-  # pygmentize is shipped in its own package
-  rm "$pkgdir/usr/bin/pygmentize"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-pygments() {
-  depends=('python2-setuptools')
-  install=python2-pygments.install
-
-  cd "$srcdir/Pygments-$pkgver"
-
-  python2 setup.py install --root="$pkgdir" -O1
-
-  # pygmentize is shipped in its own package
-  rm "$pkgdir/usr/bin/pygmentize"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_pygmentize() {
-  depends=('python-pygments')
-
-  cd "$srcdir/Pygments-$pkgver"
-
-  python3 setup.py install --root="$pkgdir" -O1
-
-  # Remove all files except for usr/bin/pygmentize
-  find "$pkgdir" -type f -not -name pygmentize -delete
-
-  install -Dm644 external/pygments.bashcomp \
-    "$pkgdir/usr/share/bash-completion/completions/pygmentize"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pygments/repos/community-any/PKGBUILD (from rev 161632, python-pygments/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-02-15 11:05:57 UTC (rev 161633)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Timm Preetz <timm at preetz.us>
+
+pkgname=('python-pygments' 'python2-pygments' 'pygmentize')
+pkgver=2.1.1
+pkgrel=1
+pkgdesc="Python syntax highlighter"
+arch=('any')
+url="http://pygments.org/"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+options=('!emptydirs')
+source=(https://pypi.python.org/packages/source/P/Pygments/Pygments-$pkgver.tar.gz)
+sha256sums=('2df7d9a85b56e54c7c021dc98fc877bd216ead652c10da170779c004fb59c01b')
+
+package_python-pygments() {
+  depends=('python-setuptools')
+
+  cd "$srcdir/Pygments-$pkgver"
+
+  python3 setup.py install --root="$pkgdir" -O1
+
+  # pygmentize is shipped in its own package
+  rm "$pkgdir/usr/bin/pygmentize"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-pygments() {
+  depends=('python2-setuptools')
+  install=python2-pygments.install
+
+  cd "$srcdir/Pygments-$pkgver"
+
+  python2 setup.py install --root="$pkgdir" -O1
+
+  # pygmentize is shipped in its own package
+  rm "$pkgdir/usr/bin/pygmentize"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_pygmentize() {
+  depends=('python-pygments')
+
+  cd "$srcdir/Pygments-$pkgver"
+
+  python3 setup.py install --root="$pkgdir" -O1
+
+  # Remove all files except for usr/bin/pygmentize
+  find "$pkgdir" -type f -not -name pygmentize -delete
+
+  # Drop version dependency from console script
+  sed -i "s/Pygments==$pkgver/Pygments/g" "$pkgdir/usr/bin/pygmentize"
+
+  install -Dm644 external/pygments.bashcomp \
+    "$pkgdir/usr/share/bash-completion/completions/pygmentize"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: python2-pygments.install
===================================================================
--- python2-pygments.install	2016-02-15 11:05:47 UTC (rev 161632)
+++ python2-pygments.install	2016-02-15 11:05:57 UTC (rev 161633)
@@ -1,7 +0,0 @@
-post_upgrade() {
-  if (($(vercmp $2 2.0.2-2) < 0)); then
-    echo ':: /usr/bin/pygmentize has been moved to the pygmentize package'
-  fi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pygments/repos/community-any/python2-pygments.install (from rev 161632, python-pygments/trunk/python2-pygments.install)
===================================================================
--- python2-pygments.install	                        (rev 0)
+++ python2-pygments.install	2016-02-15 11:05:57 UTC (rev 161633)
@@ -0,0 +1,7 @@
+post_upgrade() {
+  if (($(vercmp $2 2.0.2-2) < 0)); then
+    echo ':: /usr/bin/pygmentize has been moved to the pygmentize package'
+  fi
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list