[arch-commits] Commit in python-klein/repos/community-any (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at gemini.archlinux.org
Wed Aug 18 14:11:53 UTC 2021
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
===================================================================
--- PKGBUILD 2021-08-18 14:11:38 UTC (rev 1003640)
+++ PKGBUILD 2021-08-18 14:11:52 UTC (rev 1003641)
@@ -1,32 +0,0 @@
-# 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
-}
Copied: python-klein/repos/community-any/PKGBUILD (from rev 1003640, python-klein/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-18 14:11:52 UTC (rev 1003641)
@@ -0,0 +1,33 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: xRemaLx <anton.komolov at gmail.com>
+
+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
+}
More information about the arch-commits
mailing list