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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:59:22 UTC 2020


    Date: Monday, November 9, 2020 @ 15:59:21
  Author: felixonmars
Revision: 747282

archrelease: copy trunk to community-staging-any

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

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

Copied: python-werkzeug/repos/community-staging-any/PKGBUILD (from rev 747281, python-werkzeug/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:59:21 UTC (rev 747282)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Dan Serban
+# Contributor: Richard Murri
+
+pkgname=python-werkzeug
+pkgver=1.0.1
+pkgrel=3
+pkgdesc='Swiss Army knife of Python web development'
+url='http://werkzeug.pocoo.org/'
+arch=('any')
+license=('custom:BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-timeout' 'python-requests')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/werkzeug/archive/${pkgver}.tar.gz")
+sha512sums=('ba82120fb3e96e3a1334c6452d5ba1950fc016d2d147d643bbc2168ccec496f1dea799982ae8c578167155082c0bdbda5d56a23f64b4b6865f97e90e22df022e')
+
+build() {
+  cd "werkzeug-$pkgver"
+
+  python setup.py build
+}
+
+check() {
+  cd "werkzeug-$pkgver"
+  PYTHONPATH="$PWD/build/lib" pytest
+}
+
+package() {
+  cd "werkzeug-$pkgver"
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list