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

Felix Yan felixonmars at archlinux.org
Mon Aug 26 04:34:06 UTC 2019


    Date: Monday, August 26, 2019 @ 04:34:06
  Author: felixonmars
Revision: 501773

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 04:33:53 UTC (rev 501772)
+++ PKGBUILD	2019-08-26 04:34:06 UTC (rev 501773)
@@ -1,63 +0,0 @@
-# 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=3.1.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-pytest-runner' 'python2-pytest-runner' 'python-flup' 'python2-flup'
-              'python2-openid')
-source=("https://files.pythonhosted.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
-sha512sums=('278922ea60be60bb89552f9ec9fb324e36b38b00c4283e4a2b38e4b77a977340fd83a2a35b69802fadaedfd74c5262592eb517b5e8ff7be05d9f9bd32c1b650e')
-
-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
-  python setup.py pytest
-
-  cd "$srcdir"/Paste-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-paste() {
-  depends=('python-six')
-  optdepends=('python-flup: WSGI utilities')
-
-  cd Paste-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}
-
-package_python2-paste() {
-  depends=('python2-six')
-  optdepends=('python2-flup: WSGI utilities'
-              'python2-openid: Support for OpenID')
-
-  cd Paste-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}

Copied: python-paste/repos/community-any/PKGBUILD (from rev 501772, python-paste/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-26 04:34:06 UTC (rev 501773)
@@ -0,0 +1,63 @@
+# 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=3.1.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-pytest-runner' 'python2-pytest-runner' 'python-flup' 'python2-flup'
+              'python2-openid')
+source=("https://files.pythonhosted.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
+sha512sums=('6b1913e18dee96fd5cfd53c86d3243f5c36e51175854235dcea6d5e89012bf251d6e6979b37bb8259872651da36fa06877579c949c896e0ed8c4b1c092e988b3')
+
+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
+  python setup.py pytest
+
+  cd "$srcdir"/Paste-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-paste() {
+  depends=('python-six')
+  optdepends=('python-flup: WSGI utilities')
+
+  cd Paste-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
+
+package_python2-paste() {
+  depends=('python2-six')
+  optdepends=('python2-flup: WSGI utilities'
+              'python2-openid: Support for OpenID')
+
+  cd Paste-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}



More information about the arch-commits mailing list