[arch-commits] Commit in python-klein/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 15:16:34 UTC 2020
Date: Thursday, November 12, 2020 @ 15:16:33
Author: felixonmars
Revision: 752035
archrelease: copy trunk to community-staging-any
Added:
python-klein/repos/community-staging-any/PKGBUILD
(from rev 752034, python-klein/trunk/PKGBUILD)
Deleted:
python-klein/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 15:16:22 UTC (rev 752034)
+++ PKGBUILD 2020-11-12 15:16:33 UTC (rev 752035)
@@ -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=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-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-staging-any/PKGBUILD (from rev 752034, python-klein/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 15:16:33 UTC (rev 752035)
@@ -0,0 +1,34 @@
+# 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
+}
More information about the arch-commits
mailing list