Date: Monday, February 15, 2016 @ 12:05:47
  Author: foutrelis
Revision: 161632

upgpkg: python-pygments 2.1.1-1

New upstream release.

Modified:
  python-pygments/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-02-15 10:37:59 UTC (rev 161631)
+++ PKGBUILD    2016-02-15 11:05:47 UTC (rev 161632)
@@ -3,7 +3,7 @@
 # Contributor: Timm Preetz <t...@preetz.us>
 
 pkgname=('python-pygments' 'python2-pygments' 'pygmentize')
-pkgver=2.1
+pkgver=2.1.1
 pkgrel=1
 pkgdesc="Python syntax highlighter"
 arch=('any')
@@ -12,7 +12,7 @@
 makedepends=('python-setuptools' 'python2-setuptools')
 options=('!emptydirs')
 
source=(https://pypi.python.org/packages/source/P/Pygments/Pygments-$pkgver.tar.gz)
-sha256sums=('13a0ef5fafd7b16cf995bc28fe7aab0780dab1b2fda0fc89e033709af8b8a47b')
+sha256sums=('2df7d9a85b56e54c7c021dc98fc877bd216ead652c10da170779c004fb59c01b')
 
 package_python-pygments() {
   depends=('python-setuptools')
@@ -51,6 +51,9 @@
   # 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"
 

Reply via email to