Date: Thursday, April 13, 2023 @ 10:28:14
Author: arojas
Revision: 1445814
archrelease: copy trunk to community-staging-any
Added:
python-cachelib/repos/community-staging-any/PKGBUILD
(from rev 1445813, python-cachelib/trunk/PKGBUILD)
Deleted:
python-cachelib/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-13 10:28:05 UTC (rev 1445813)
+++ PKGBUILD 2023-04-13 10:28:14 UTC (rev 1445814)
@@ -1,34 +0,0 @@
-# Maintainer:
-# Contributor: Filipe Nascimento <flipee at tuta dot io>
-# Contributor: Julien Nicoulaud <julien DOT nicoulaud AT gmail DOT com>
-
-pkgname=python-cachelib
-_name=${pkgname#python-}
-pkgver=0.9.0
-pkgrel=2
-pkgdesc='A collection of cache libraries in the same API interface. Extracted
from werkzeug'
-arch=(any)
-url='https://github.com/pallets/cachelib'
-license=(BSD)
-depends=(python)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-pytest-xprocess)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha256sums=('38222cc7c1b79a23606de5c2607f4925779e37cdcea1c2ad21b8bae94b5425a5')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
- PYTHONPATH="$PWD"/src \
- pytest -v
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="${pkgdir}" dist/*.whl
- install -Dm644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: python-cachelib/repos/community-staging-any/PKGBUILD (from rev 1445813,
python-cachelib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-13 10:28:14 UTC (rev 1445814)
@@ -0,0 +1,34 @@
+# Maintainer:
+# Contributor: Filipe Nascimento <flipee at tuta dot io>
+# Contributor: Julien Nicoulaud <julien DOT nicoulaud AT gmail DOT com>
+
+pkgname=python-cachelib
+_name=${pkgname#python-}
+pkgver=0.10.2
+pkgrel=2
+pkgdesc='A collection of cache libraries in the same API interface. Extracted
from werkzeug'
+arch=(any)
+url='https://github.com/pallets/cachelib'
+license=(BSD)
+depends=(python)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest-xprocess python-boto3)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('593faeee62a7c037d50fc835617a01b887503f972fb52b188ae7e50e9cb69740')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ PYTHONPATH="$PWD"/src \
+ pytest -v -k 'not test_dynamodb_cache' # Fails on build.a.o
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+ install -Dm644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}