[arch-commits] Commit in python-beaker/repos/staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 21:45:15 UTC 2021


    Date: Wednesday, December 1, 2021 @ 21:45:15
  Author: foutrelis
Revision: 430209

archrelease: copy trunk to staging-any

Added:
  python-beaker/repos/staging-any/PKGBUILD
    (from rev 430208, python-beaker/trunk/PKGBUILD)
Deleted:
  python-beaker/repos/staging-any/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 21:45:11 UTC (rev 430208)
+++ PKGBUILD	2021-12-01 21:45:15 UTC (rev 430209)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT com >
-
-pkgname=python-beaker
-pkgver=1.11.0
-pkgrel=7
-arch=('any')
-license=('custom')
-pkgdesc="Caching and sessions WSGI middleware for use with web applications and stand-alone Python scripts and applications"
-url="http://beaker.groovie.org/"
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-nose' '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')
-
-prepare() {
-  # Use a fake MongoDB for tests
-  sed -e '/class TestMongoDB/i import mongomock' \
-      -e "s|'mongodb://localhost:27017/beaker_testdb'|mongomock.MongoClient('mongodb://localhost:27017/beaker_testdb')|" \
-      -i beaker-$pkgver/tests/test_managers/test_ext_mongodb.py
-
-  sed -i "s#/usr/bin/python#/usr/bin/python3#" beaker-$pkgver/beaker/crypto/pbkdf2.py
-}
-
-build() {
-  cd "$srcdir"/beaker-$pkgver
-  python3 setup.py build
-}
-
-check() {
-  # 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"
-}
-
-package() {
-  cd beaker-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python-beaker/LICENSE
-}

Copied: python-beaker/repos/staging-any/PKGBUILD (from rev 430208, python-beaker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 21:45:15 UTC (rev 430209)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT com >
+
+pkgname=python-beaker
+pkgver=1.11.0
+pkgrel=8
+arch=('any')
+license=('custom')
+pkgdesc="Caching and sessions WSGI middleware for use with web applications and stand-alone Python scripts and applications"
+url="http://beaker.groovie.org/"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' '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')
+
+prepare() {
+  # Use a fake MongoDB for tests
+  sed -e '/class TestMongoDB/i import mongomock' \
+      -e "s|'mongodb://localhost:27017/beaker_testdb'|mongomock.MongoClient('mongodb://localhost:27017/beaker_testdb')|" \
+      -i beaker-$pkgver/tests/test_managers/test_ext_mongodb.py
+
+  sed -i "s#/usr/bin/python#/usr/bin/python3#" beaker-$pkgver/beaker/crypto/pbkdf2.py
+}
+
+build() {
+  cd "$srcdir"/beaker-$pkgver
+  python3 setup.py build
+}
+
+check() {
+  # 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"
+}
+
+package() {
+  cd beaker-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python-beaker/LICENSE
+}



More information about the arch-commits mailing list