[arch-commits] Commit in python-ply/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Thu Apr 23 03:19:05 UTC 2015


    Date: Thursday, April 23, 2015 @ 05:19:05
  Author: fyan
Revision: 237942

upgpkg: python-ply 3.5-1

Modified:
  python-ply/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-23 02:57:47 UTC (rev 237941)
+++ PKGBUILD	2015-04-23 03:19:05 UTC (rev 237942)
@@ -1,5 +1,5 @@
 # $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: Alexander Rødseth <rodseth at gmail.com>
 # Contributor: Marcin "avalan" Falkiewicz <avalatron at gmail.com>
 # Contributor: C Anthony Risinger <anthony at xtfx.me>
@@ -6,8 +6,8 @@
 
 pkgbase=python-ply
 pkgname=(python-ply python2-ply)
-pkgver=3.4
-pkgrel=4
+pkgver=3.5
+pkgrel=1
 pkgdesc='Implementation of lex and yacc parsing tools'
 arch=('any')
 url='http://www.dabeaz.com/ply/'
@@ -14,10 +14,10 @@
 license=('BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
 source=("${url}ply-$pkgver.tar.gz")
-sha256sums=('af435f11b7bdd69da5ffbc3fecb8d70a7073ec952e101764c88720cdefb2546b')
+sha256sums=('9c649e4791dec47e87ccd157866a4666243834403eb38af5b188e602b3d79291')
 
 prepare() {
-  cp -r ${pkgbase#python-}-$pkgver{,-py2}
+  cp -a ${pkgbase#python-}-$pkgver{,-py2}
 }
 
 package_python-ply() {
@@ -24,11 +24,7 @@
   depends=('python')
 
   cd "${pkgbase#python-}-$pkgver"
-
   python setup.py install --root="$pkgdir"
-  
-  install -d "$pkgdir/usr/share/licenses/$pkgname"
-  head -n30 README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
 package_python2-ply() {
@@ -35,11 +31,7 @@
   depends=('python2')
 
   cd "${pkgbase#python-}-$pkgver-py2"
-
   python2 setup.py install --root="$pkgdir"
-  
-  install -d "$pkgdir/usr/share/licenses/$pkgname"
-  head -n30 README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list