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

Felix Yan felixonmars at archlinux.org
Wed Jan 9 00:26:49 UTC 2019


    Date: Wednesday, January 9, 2019 @ 00:26:47
  Author: felixonmars
Revision: 421092

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-09 00:26:13 UTC (rev 421091)
+++ PKGBUILD	2019-01-09 00:26:47 UTC (rev 421092)
@@ -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.0.5
-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=('f35d5ea5bb8205faeab797b0fb1c0d0a3ec48ad1dac75c25d53b9f1f87127890421138a2400b5691c8c896a36fb9ae59ef2e2405464d8b4f9f4b1014f4b172a8')
-
-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 421091, python-paste/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-09 00:26:47 UTC (rev 421092)
@@ -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.0.6
+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=('47871b285fbb4cb69b4bff8361c2445459c194373d8054947c8365a1883ae5e7e0a6212ef8cbfb1c0f54a5372cf393ea240b909dafa0703cc84a828d8f5849ab')
+
+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