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

2021-08-18 Thread Chih-Hsuan Yen via arch-commits
Date: Wednesday, August 18, 2021 @ 14:11:52
  Author: yan12125
Revision: 1003641

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   65 ++---
 1 file changed, 33 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-08-18 14:11:38 UTC (rev 1003640)
+++ PKGBUILD2021-08-18 14:11:52 UTC (rev 1003641)
@@ -1,32 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-# Contributor: xRemaLx 
-
-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
-}

Copied: python-klein/repos/community-any/PKGBUILD (from rev 1003640, 
python-klein/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-18 14:11:52 UTC (rev 1003641)
@@ -0,0 +1,33 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: xRemaLx 
+
+pkgname=python-klein
+pkgver=21.8.0
+pkgrel=2
+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
+  # use PYTHONHASHSEED=0 work around https://bugs.python.org/issue34033 (?)
+  PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 
--skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



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

2021-08-16 Thread Chih-Hsuan Yen via arch-commits
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
===
--- PKGBUILD2021-08-17 02:45:19 UTC (rev 1001115)
+++ PKGBUILD2021-08-17 02:45:34 UTC (rev 1001116)
@@ -1,34 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-# Contributor: xRemaLx 
-
-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)
+++ PKGBUILD2021-08-17 02:45:34 UTC (rev 1001116)
@@ -0,0 +1,32 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: xRemaLx 
+
+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
+}