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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 19:58:51 UTC 2021


    Date: Tuesday, November 30, 2021 @ 19:58:50
  Author: felixonmars
Revision: 1057911

archrelease: copy trunk to community-staging-any

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

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

Copied: python-werkzeug/repos/community-staging-any/PKGBUILD (from rev 1057910, python-werkzeug/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 19:58:50 UTC (rev 1057911)
@@ -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=2.0.2
+pkgrel=2
+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' 'python-pytest-xprocess')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/werkzeug/archive/${pkgver}.tar.gz")
+sha512sums=('789f210546c089e8a437a379e516147fd854806357938bd559a61855182143bdeca967c86a41d004e6adb119d31e4493e3c36e74aff989ee9cd08e48d1428dd9')
+
+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