mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
community/py3-cachelib: upgrade to 0.12.0
This commit is contained in:
parent
73fa0f6ecf
commit
9dcc765b72
@ -1,7 +1,7 @@
|
||||
# Maintainer: Simon Rupf <simon@rupf.net>
|
||||
pkgname=py3-cachelib
|
||||
_pkgname=cachelib
|
||||
pkgver=0.11.0
|
||||
pkgver=0.12.0
|
||||
pkgrel=0
|
||||
pkgdesc="A collection of cache libraries in the same API interface. Extracted from Werkzeug."
|
||||
url="https://cachelib.readthedocs.io/"
|
||||
@ -9,9 +9,10 @@ arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
depends="python3"
|
||||
makedepends="py3-gpep517 py3-installer py3-setuptools py3-wheel"
|
||||
checkdepends="py3-pytest-xprocess py3-pytest py3-boto3"
|
||||
checkdepends="py3-boto3 py3-pytest-xprocess py3-pytest"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
|
||||
disable-mongo-tests.patch
|
||||
no-deprecation.patch
|
||||
"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
@ -33,6 +34,7 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
3c43b5c231f8cb14a908d0264c7c76702555e2110525d1090cc38846c9343ecaf3aaf5d8dfd6aaee7efacf93b686f858da50a5c93f91d1021c3122cebcdfb0cd cachelib-0.11.0.tar.gz
|
||||
771ea8593e19aedda94c946ca0157b7d4c81ca9e56d0f15cbe7d462914bca3a1a0e5d61a23c8f890ec1ffa6320a47d7e8e3acfd33463af61b2578f6b65a7a15a cachelib-0.12.0.tar.gz
|
||||
8b237ed9d06ef43adcf561c12d0c5768a43f963e866551c49e26d8eeaff55c7bf007b03cf468107bc67467fedc3898e4382e8e7c091e5c91f6d426a21044df36 disable-mongo-tests.patch
|
||||
f4c350aa41f148ee34bd56081dbdd90f39f29644ff85e33fc43cd521d07dad7e5d36e06b231315cbed0b9aab2a6cdb67bca7783847f5c002f1d1fcd8ee4580db no-deprecation.patch
|
||||
"
|
||||
|
11
community/py3-cachelib/disable-mongo-tests.patch
Normal file
11
community/py3-cachelib/disable-mongo-tests.patch
Normal file
@ -0,0 +1,11 @@
|
||||
tests require a running mongodb service, which alpine had to drop due to it's license change:
|
||||
https://gitlab.alpinelinux.org/alpine/aports/-/commit/8a901de31fa055ed591d487e12f8bb9ffcc0df21
|
||||
--- a/tests/test_mongodb_cache.py
|
||||
+++ b/tests/test_mongodb_cache.py
|
||||
@@ -26,5 +26,6 @@
|
||||
request.cls.cache_factory = _factory
|
||||
|
||||
|
||||
+@pytest.mark.skip(reason="alpine had to drop mongo due to it's license change")
|
||||
class TestMongoDbCache(CommonTests, ClearTests, HasTests):
|
||||
pass
|
Loading…
Reference in New Issue
Block a user