Date: Monday, May 15, 2023 @ 20:41:30
  Author: arojas
Revision: 1461876

New jupyterlab dependency

Added:
  python-async-lru/
  python-async-lru/trunk/
  python-async-lru/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: python-async-lru/trunk/PKGBUILD
===================================================================
--- python-async-lru/trunk/PKGBUILD                             (rev 0)
+++ python-async-lru/trunk/PKGBUILD     2023-05-15 20:41:30 UTC (rev 1461876)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+_pyname=async-lru
+pkgname=python-$_pyname
+pkgver=2.0.2
+pkgrel=1
+pkgdesc='Simple LRU cache for asyncio'
+arch=(any)
+url='https://github.com/aio-libs/async-lru'
+license=(MIT)
+depends=(python-typing_extensions)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest-cov python-pytest-asyncio python-pytest-timeout)
+source=(https://pypi.python.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz)
+sha256sums=('3b87ec4f2460c52cc7916a0138cc606b584c75d1ef7d661853c95d1d3acb869a')
+
+build() {
+  cd $_pyname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pyname-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest -v
+}
+
+package() {
+  cd $_pyname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to