[arch-commits] Commit in python-paste/repos/community-testing-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Fri Apr 24 02:45:49 UTC 2015


    Date: Friday, April 24, 2015 @ 04:45:49
  Author: fyan
Revision: 132081

archrelease: copy trunk to community-testing-any

Added:
  python-paste/repos/community-testing-any/PKGBUILD
    (from rev 132080, python-paste/trunk/PKGBUILD)
Deleted:
  python-paste/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-24 02:45:29 UTC (rev 132080)
+++ PKGBUILD	2015-04-24 02:45:49 UTC (rev 132081)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: David Campbell <davekong at archlinux.us>
-# Contributor: Cilyan Olowen <gaknar at gmail.com>
-
-pkgbase=python-paste
-pkgname=(python-paste python2-paste)
-pkgver=2.0
-pkgrel=1
-pkgdesc="Tools for using a Web Server Gateway Interface stack"
-arch=('any')
-url="http://pythonpaste.org/index.html"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
-checkdepends=('python-nose' 'python2-nose')
-optdepends=('python2-flup: WSGI utilities'
-            'python-openid: Support for OpenID')
-source=("http://pypi.python.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
-md5sums=('8c7d5909c24a78b785720af73b5211a5')
-
-prepare() {
-  cp -a Paste-${pkgver}{,-py2}
-
-  cd Paste-${pkgver}-py2
-  sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-         -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-      $(find . -name '*.py')
-}
-
-build() {
-  cd "$srcdir/Paste-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/Paste-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/Paste-${pkgver}"
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests3 || warning "Tests failed under Python 3"
-
-  cd "$srcdir/Paste-${pkgver}-py2"
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2
-}
-
-package_python-paste() {
-  depends=('python-six')
-
-  cd Paste-${pkgver}
-  python setup.py install --root="${pkgdir}" --optimize=1
-
-  install -Dm644 docs/license.txt "${pkgdir}/usr/share/licenses/$pkgname/license.txt"
-  chmod 644 "${pkgdir}"/usr/lib/python*/site-packages/paste/evalexception/media/MochiKit.packed.js
-}
-
-package_python2-paste() {
-  depends=('python2-six')
-
-  cd Paste-${pkgver}-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-
-  install -Dm644 docs/license.txt "${pkgdir}/usr/share/licenses/$pkgname/license.txt"
-  chmod 644 "${pkgdir}"/usr/lib/python*/site-packages/paste/evalexception/media/MochiKit.packed.js
-}

Copied: python-paste/repos/community-testing-any/PKGBUILD (from rev 132080, python-paste/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-04-24 02:45:49 UTC (rev 132081)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: David Campbell <davekong at archlinux.us>
+# Contributor: Cilyan Olowen <gaknar at gmail.com>
+
+pkgbase=python-paste
+pkgname=(python-paste python2-paste)
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="Tools for using a Web Server Gateway Interface stack"
+arch=('any')
+url="http://pythonpaste.org/index.html"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
+checkdepends=('python-nose' 'python2-nose')
+optdepends=('python2-flup: WSGI utilities'
+            'python-openid: Support for OpenID')
+source=("http://pypi.python.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
+md5sums=('5aa1890d20e6f93b46e855aa1e17ba27')
+
+prepare() {
+  cp -a Paste-${pkgver}{,-py2}
+
+  cd Paste-${pkgver}-py2
+  sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+         -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+      $(find . -name '*.py')
+}
+
+build() {
+  cd "$srcdir/Paste-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/Paste-$pkgver-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/Paste-${pkgver}"
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests3 || warning "Tests failed under Python 3"
+
+  cd "$srcdir/Paste-${pkgver}-py2"
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2
+}
+
+package_python-paste() {
+  depends=('python-six')
+
+  cd Paste-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1
+
+  install -Dm644 docs/license.txt "${pkgdir}/usr/share/licenses/$pkgname/license.txt"
+  chmod 644 "${pkgdir}"/usr/lib/python*/site-packages/paste/evalexception/media/MochiKit.packed.js
+}
+
+package_python2-paste() {
+  depends=('python2-six')
+
+  cd Paste-${pkgver}-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+
+  install -Dm644 docs/license.txt "${pkgdir}/usr/share/licenses/$pkgname/license.txt"
+  chmod 644 "${pkgdir}"/usr/lib/python*/site-packages/paste/evalexception/media/MochiKit.packed.js
+}



More information about the arch-commits mailing list