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

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Tue Aug 17 02:45:34 UTC 2021


    Date: Tuesday, August 17, 2021 @ 02:45:34
  Author: yan12125
Revision: 1001116

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 32 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-17 02:45:19 UTC (rev 1001115)
+++ PKGBUILD	2021-08-17 02:45:34 UTC (rev 1001116)
@@ -1,34 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-# Contributor: xRemaLx <anton.komolov at gmail.com>
-
-pkgname=python-klein
-pkgver=20.6.0
-pkgrel=3
-arch=(any)
-pkgdesc='A web micro-framework built on werkzeug and twisted.web'
-url='https://github.com/twisted/klein'
-license=(MIT)
-depends=(python python-attrs python-hyperlink python-incremental python-six
-         python-tubes python-twisted python-werkzeug python-zope-interface)
-makedepends=(python-setuptools)
-checkdepends=(python-hypothesis python-mock python-treq python-pytest)
-source=("https://github.com/twisted/klein/archive/$pkgver/klein-$pkgver.tar.gz")
-sha512sums=('1cba04a365fd9c7185e2f2472f617f875ee9cec41ac97940dda4a145811cefcbbe34f11e1f306656dc43d88b49e66bfcb5efb72d25283bbc8a0729b2fc5e2fca')
-
-build() {
-  cd klein-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd klein-$pkgver
-  # klein tests are broken with treq 20.4.1
-  # https://github.com/twisted/klein/issues/339
-  pytest -v src/klein/test -k 'not test_customParameterValidation and not test_handlingGET'
-}
-
-package() {
-  cd klein-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-klein/repos/community-any/PKGBUILD (from rev 1001115, python-klein/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-17 02:45:34 UTC (rev 1001116)
@@ -0,0 +1,32 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: xRemaLx <anton.komolov at gmail.com>
+
+pkgname=python-klein
+pkgver=21.8.0
+pkgrel=1
+arch=(any)
+pkgdesc='A web micro-framework built on werkzeug and twisted.web'
+url='https://github.com/twisted/klein'
+license=(MIT)
+depends=(python python-attrs python-hyperlink python-incremental
+         python-tubes python-twisted python-werkzeug python-zope-interface)
+makedepends=(python-setuptools)
+checkdepends=(python-hypothesis python-treq python-pytest)
+source=("https://github.com/twisted/klein/archive/$pkgver/klein-$pkgver.tar.gz")
+sha512sums=('f0e10e3b92f19dc6b42f071d836b4179af033955fb6a1feb05918c85901741577f8dddc335ead1a4c1181690709abd73bca755c6a7a402d79d7a4bfb196bca58')
+
+build() {
+  cd klein-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd klein-$pkgver
+  pytest src/klein/test
+}
+
+package() {
+  cd klein-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list