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

Jelle van der Waa jelle at archlinux.org
Tue May 12 19:07:29 UTC 2020


    Date: Tuesday, May 12, 2020 @ 19:07:28
  Author: jelle
Revision: 627155

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 19:07:21 UTC (rev 627154)
+++ PKGBUILD	2020-05-12 19:07:28 UTC (rev 627155)
@@ -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.4.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=('fbe0d1f39d8147846b3a30f18e6776c31eb5bcd8f461c0bf7afc35533c65c2ddf74263807be1b73b76c49cd6cc73c210a37ca651ef1f34e727ccf0687478085a')
-
-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 627154, python-paste/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-12 19:07:28 UTC (rev 627155)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: David Campbell <davekong at archlinux.us>
+# Contributor: Cilyan Olowen <gaknar at gmail.com>
+
+pkgname=python-paste
+pkgver=3.4.0
+pkgrel=2
+pkgdesc="Tools for using a Web Server Gateway Interface stack"
+arch=('any')
+url="http://pythonpaste.org/index.html"
+license=('MIT')
+depends=('python-six')
+optdepends=('python-flup: WSGI utilities')
+makedepends=('python-setuptools' 'python-six')
+checkdepends=('python-pytest-runner' 'python-flup')
+source=("https://files.pythonhosted.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
+sha512sums=('fbe0d1f39d8147846b3a30f18e6776c31eb5bcd8f461c0bf7afc35533c65c2ddf74263807be1b73b76c49cd6cc73c210a37ca651ef1f34e727ccf0687478085a')
+
+build() {
+  cd "$srcdir"/Paste-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/Paste-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd Paste-$pkgver
+  python 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