[arch-commits] Commit in python-pastedeploy/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:01:04 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:01:04
  Author: foutrelis
Revision: 748361

archrelease: copy trunk to community-staging-any

Added:
  python-pastedeploy/repos/community-staging-any/
  python-pastedeploy/repos/community-staging-any/PKGBUILD
    (from rev 748359, python-pastedeploy/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-pastedeploy/repos/community-staging-any/PKGBUILD (from rev 748359, python-pastedeploy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:01:04 UTC (rev 748361)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pastedeploy
+pkgver=2.1.1
+pkgrel=2
+pkgdesc="Load, configure, and compose WSGI applications and servers"
+arch=('any')
+license=('MIT')
+url="http://pythonpaste.org/deploy/"
+depends=('python-setuptools')
+makedepends=('python-setuptools' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Pylons/pastedeploy/archive/$pkgver.tar.gz")
+sha512sums=('0109e30cb5ae9bdd7f06a79f6236c90f96c3bcfe507258572b1329796a1821486d9762d954673ccbac76ee63c6a69e64fe5e2cae5402fecf4a5affe88cf46930')
+
+build() {
+  cd "$srcdir"/pastedeploy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/pastedeploy-$pkgver
+  python setup.py pytest
+}
+
+package() {
+
+  cd pastedeploy-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}



More information about the arch-commits mailing list