[arch-commits] Commit in python-paste/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 04:17:10 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:17:10
Author: felixonmars
Revision: 748619
archrelease: copy trunk to community-staging-any
Added:
python-paste/repos/community-staging-any/
python-paste/repos/community-staging-any/PKGBUILD
(from rev 748618, python-paste/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-paste/repos/community-staging-any/PKGBUILD (from rev 748618, python-paste/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:17:10 UTC (rev 748619)
@@ -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.5.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=('a9f596d6fcd95f915990c16830caeb9c9a03412447597258c67a003fd485e2efd27798f2eb2de9978ac529292af4b55136de554bfb501e90f6185f55a6b0531b')
+
+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