Date: Sunday, December 18, 2022 @ 14:34:27
Author: felixonmars
Revision: 464556
upgpkg: python-beaker 1.12.0-1
Modified:
python-beaker/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-18 14:30:32 UTC (rev 464555)
+++ PKGBUILD 2022-12-18 14:34:27 UTC (rev 464556)
@@ -3,8 +3,8 @@
# Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT
com >
pkgname=python-beaker
-pkgver=1.11.0
-pkgrel=8
+pkgver=1.12.0
+pkgrel=1
arch=('any')
license=('custom')
pkgdesc="Caching and sessions WSGI middleware for use with web applications
and stand-alone Python scripts and applications"
@@ -11,12 +11,12 @@
url="http://beaker.groovie.org/"
depends=('python')
makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-mock' 'python-sqlalchemy'
+checkdepends=('python-pytest' 'python-mock' 'python-sqlalchemy'
'python-pycryptodome' 'python-coverage' 'python-webtest'
'python-redis'
'python-pymongo' 'python-pylibmc' 'redis' 'python-cryptography'
'python-memcached' 'memcached' 'pifpaf' 'python-mongomock')
source=("$pkgname-$pkgver.tar.gz::https://github.com/bbangert/beaker/archive/$pkgver.tar.gz")
-sha512sums=('0eab9ff40314786e0fb2d31a6b932f355680c193ac5c41de442ee5a3f4d5cf62ae1c30f2948f8e2c89c012bad5e4332a5a72be62c9b1cba0b9f2723afe7e9ae3')
+sha512sums=('d7ef5070f036ca7ea100c348df58aa98edad0ee8e361c0a600485b6e1de301f3381ecc782dcbc4b1b2735a4b54e8aff7fd516a7c9d655d2c10517e358ffe031c')
prepare() {
# Use a fake MongoDB for tests
@@ -28,19 +28,19 @@
}
build() {
- cd "$srcdir"/beaker-$pkgver
+ cd beaker-$pkgver
python3 setup.py build
}
check() {
+ cd beaker-$pkgver
# it_IT.UTF-8 is missing in test env
-
- cd "$srcdir"/beaker-$pkgver
- pifpaf run memcached --port 11211 -- pifpaf run redis python setup.py
nosetests || warning "Tests failed"
+ pifpaf run memcached --port 11211 -- pifpaf run redis -- \
+ pytest --deselect
tests/test_cookie_expires.py::test_cookie_expires_different_locale
}
package() {
cd beaker-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python-beaker/LICENSE
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/python-beaker/
}