David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-beaker


Commits:
95861bcb by David Runge at 2024-03-04T18:36:09+01:00
Add upstreamed patches to remove use of python-mock

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
5616d4ec by David Runge at 2024-03-04T18:38:04+01:00
Switch to correct SDPX license identifier for project

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
f88150ab by David Runge at 2024-03-04T19:25:48+01:00
upgpkg: 1.12.0-4

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,31 @@
+pkgbase = python-beaker
+       pkgdesc = Caching and sessions WSGI middleware for use with web 
applications and stand-alone Python scripts and applications
+       pkgver = 1.12.0
+       pkgrel = 4
+       url = https://beaker.readthedocs.io/en/latest/
+       arch = any
+       license = BSD-3-Clause
+       checkdepends = python-pytest
+       checkdepends = python-sqlalchemy
+       checkdepends = python-pycryptodome
+       checkdepends = python-coverage
+       checkdepends = python-webtest
+       checkdepends = python-redis
+       checkdepends = python-pymongo
+       checkdepends = python-pylibmc
+       checkdepends = redis
+       checkdepends = python-cryptography
+       checkdepends = python-memcached
+       checkdepends = memcached
+       checkdepends = pifpaf
+       checkdepends = python-mongomock
+       makedepends = python-setuptools
+       depends = python
+       source = 
python-beaker-1.12.0.tar.gz::https://github.com/bbangert/beaker/archive/1.12.0.tar.gz
+       source = 
python-beaker-1.12.0-remove_mock.patch::https://github.com/bbangert/beaker/commit/056d68f954b778e79cb5dc64db9a485fe1f64915.patch
+       source = 
python-beaker-1.12.0-remove_mock2.patch::https://github.com/bbangert/beaker/commit/c089668e6ebb92c6d813ce731ea3b676e0024b7a.patch
+       sha512sums = 
d7ef5070f036ca7ea100c348df58aa98edad0ee8e361c0a600485b6e1de301f3381ecc782dcbc4b1b2735a4b54e8aff7fd516a7c9d655d2c10517e358ffe031c
+       sha512sums = 
8d61b8201b14f04b3b62b751341ad683344b2d6a09cef45168be76e9d9d2b249240448a0e49df13e1dbba3005477dfa46a85349f77524db91db3eaabb664633f
+       sha512sums = 
e59f5e5c5e0ede5ba243e6ec764152c07655529a365d90c14dff3d3134422b899ba0a902b35c1e1dffdb12a935ae66f6ef112f62e1d053d5fdd6b9c83973ef79
+
+pkgname = python-beaker


=====================================
PKGBUILD
=====================================
@@ -2,23 +2,34 @@
 # Contributor: Ionut Biru <ib...@archlinux.org>
 # Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT 
com >
 
+_name=beaker
 pkgname=python-beaker
 pkgver=1.12.0
-pkgrel=3
+pkgrel=4
 arch=('any')
-license=('custom')
+license=('BSD-3-Clause')
 pkgdesc="Caching and sessions WSGI middleware for use with web applications 
and stand-alone Python scripts and applications"
 url="https://beaker.readthedocs.io/en/latest/";
 depends=('python')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-mock' 'python-sqlalchemy'
+checkdepends=('python-pytest' '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=('d7ef5070f036ca7ea100c348df58aa98edad0ee8e361c0a600485b6e1de301f3381ecc782dcbc4b1b2735a4b54e8aff7fd516a7c9d655d2c10517e358ffe031c')
+source=(
+  
"$pkgname-$pkgver.tar.gz::https://github.com/bbangert/beaker/archive/$pkgver.tar.gz";
+  
$pkgname-1.12.0-remove_mock.patch::https://github.com/bbangert/beaker/commit/056d68f954b778e79cb5dc64db9a485fe1f64915.patch
+  
$pkgname-1.12.0-remove_mock2.patch::https://github.com/bbangert/beaker/commit/c089668e6ebb92c6d813ce731ea3b676e0024b7a.patch
+)
+sha512sums=('d7ef5070f036ca7ea100c348df58aa98edad0ee8e361c0a600485b6e1de301f3381ecc782dcbc4b1b2735a4b54e8aff7fd516a7c9d655d2c10517e358ffe031c'
+            
'8d61b8201b14f04b3b62b751341ad683344b2d6a09cef45168be76e9d9d2b249240448a0e49df13e1dbba3005477dfa46a85349f77524db91db3eaabb664633f'
+            
'e59f5e5c5e0ede5ba243e6ec764152c07655529a365d90c14dff3d3134422b899ba0a902b35c1e1dffdb12a935ae66f6ef112f62e1d053d5fdd6b9c83973ef79')
 
 prepare() {
+  # remove the use of python-mock
+  patch -Np1 -d $_name-$pkgver -i ../$pkgname-1.12.0-remove_mock.patch
+  patch -Np1 -d $_name-$pkgver -i ../$pkgname-1.12.0-remove_mock2.patch
+
   # 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')|"
 \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-beaker/-/compare/8f77093a60155ff289a4b008aa4becc06f99d28a...f88150ab62c6e631b703d7454b6d59a83b505f3c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-beaker/-/compare/8f77093a60155ff289a4b008aa4becc06f99d28a...f88150ab62c6e631b703d7454b6d59a83b505f3c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to