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

Felix Yan felixonmars at archlinux.org
Sun Nov 4 02:43:06 UTC 2018


    Date: Sunday, November 4, 2018 @ 02:43:05
  Author: felixonmars
Revision: 401446

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-04 02:42:46 UTC (rev 401445)
+++ PKGBUILD	2018-11-04 02:43:05 UTC (rev 401446)
@@ -1,67 +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.2
-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')
-optdepends=('python2-flup: WSGI utilities'
-            'python-openid: Support for OpenID')
-source=("https://files.pythonhosted.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
-sha512sums=('cd825a4c9bbadf6d6f69eb2de18dd5b4ec8dd433981bed2432f784a58b4991155184afd20e9f15719ed22ae54760c0f75ac919c99fa3ed46ade34136207547ed')
-
-prepare() {
-  # https://github.com/cdent/paste/pull/13
-  sed -i 's/nose/pytest/' Paste-${pkgver}/setup.py
-
-  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() {
-  # Excluding 'test_paste_website' because pythonpaste.org
-  # redirects to web.archive.org, and thus breaks the test
-
-  cd "$srcdir"/Paste-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/Paste-$pkgver-py2
-  python2 setup.py pytest
-}
-
-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
-}
-
-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
-}

Copied: python-paste/repos/community-any/PKGBUILD (from rev 401445, python-paste/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-04 02:43:05 UTC (rev 401446)
@@ -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.3
+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=('8877552c6f402c64c5c4fe4c0131509d74b0ce10dec088be87471a6c9936e03ed609ecf18f1ef22c067e8f2d7a2a761a53989870df4830bcd54ef856890469c0')
+
+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