[arch-commits] Commit in python-ply/repos/extra-any (LICENSE PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Aug 29 14:17:36 UTC 2015


    Date: Saturday, August 29, 2015 @ 16:17:36
  Author: fyan
Revision: 245061

archrelease: copy trunk to extra-any

Added:
  python-ply/repos/extra-any/LICENSE
    (from rev 245060, python-ply/trunk/LICENSE)
  python-ply/repos/extra-any/PKGBUILD
    (from rev 245060, python-ply/trunk/PKGBUILD)
Deleted:
  python-ply/repos/extra-any/PKGBUILD

----------+
 LICENSE  |   28 ++++++++++++++++++
 PKGBUILD |   90 +++++++++++++++++++++++++++++++++++--------------------------
 2 files changed, 81 insertions(+), 37 deletions(-)

Copied: python-ply/repos/extra-any/LICENSE (from rev 245060, python-ply/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2015-08-29 14:17:36 UTC (rev 245061)
@@ -0,0 +1,28 @@
+Copyright (C) 2001-2015,
+David M. Beazley (Dabeaz LLC)
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright notice,
+  this list of conditions and the following disclaimer.  
+* Redistributions in binary form must reproduce the above copyright notice, 
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.  
+* Neither the name of the David Beazley or Dabeaz LLC may be used to
+  endorse or promote products derived from this software without
+  specific prior written permission. 
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-29 14:17:17 UTC (rev 245060)
+++ PKGBUILD	2015-08-29 14:17:36 UTC (rev 245061)
@@ -1,37 +0,0 @@
-# $Id$
-# 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>
-
-pkgbase=python-ply
-pkgname=(python-ply python2-ply)
-pkgver=3.6
-pkgrel=1
-pkgdesc='Implementation of lex and yacc parsing tools'
-arch=('any')
-url='http://www.dabeaz.com/ply/'
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("${url}ply-$pkgver.tar.gz")
-sha256sums=('61367b9eb2f4b819f69ea116750305270f1df8859992c9e356d6a851f25a4b47')
-
-prepare() {
-  cp -a ${pkgbase#python-}-$pkgver{,-py2}
-}
-
-package_python-ply() {
-  depends=('python')
-
-  cd "${pkgbase#python-}-$pkgver"
-  python setup.py install --root="$pkgdir"
-}
-
-package_python2-ply() {
-  depends=('python2')
-
-  cd "${pkgbase#python-}-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-ply/repos/extra-any/PKGBUILD (from rev 245060, python-ply/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-08-29 14:17:36 UTC (rev 245061)
@@ -0,0 +1,53 @@
+# $Id$
+# 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>
+
+pkgbase=python-ply
+pkgname=(python-ply python2-ply)
+pkgver=3.7
+pkgrel=1
+pkgdesc='Implementation of lex and yacc parsing tools'
+arch=('any')
+url='http://www.dabeaz.com/ply/'
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("${url}ply-$pkgver.tar.gz"
+        LICENSE)
+sha256sums=('f85fb7b44c1c9a04873e6d76fa2c2eef43f2cfd81468aa714a9c63af7ae0af80'
+            '87c20dd0a774f4d4ff837b4f1555f7eb1ed1b8dc1e3223cd105e5c1e282d62bf')
+
+prepare() {
+  cp -a ${pkgbase#python-}-$pkgver{,-py2}
+}
+
+check() {
+  cd "${pkgbase#python-}-$pkgver/test"
+  python testlex.py
+  python testyacc.py
+
+  cd "$srcdir/${pkgbase#python-}-$pkgver-py2/test"
+  python2 testlex.py
+  python2 testyacc.py
+}
+
+package_python-ply() {
+  depends=('python')
+
+  cd "${pkgbase#python-}-$pkgver"
+  python setup.py install --root="$pkgdir"
+
+  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-ply() {
+  depends=('python2')
+
+  cd "${pkgbase#python-}-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir"
+
+  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list