Date: Thursday, December 1, 2022 @ 05:12:53
  Author: polyzen
Revision: 1355560

archrelease: copy trunk to community-any

Added:
  python-aiostream/repos/community-any/
  python-aiostream/repos/community-any/PKGBUILD
    (from rev 1355559, python-aiostream/trunk/PKGBUILD)

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

Copied: python-aiostream/repos/community-any/PKGBUILD (from rev 1355559, 
python-aiostream/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2022-12-01 05:12:53 UTC (rev 1355560)
@@ -0,0 +1,34 @@
+# Maintainer: Daniel M. Capella <poly...@archlinux.org>
+# Contributor: Hugo Osvaldo Barrera <h...@barrera.io>
+
+_name=aiostream
+pkgname=python-aiostream
+pkgver=0.4.5
+pkgrel=1
+pkgdesc="Generator-based operators for asynchronous iteration"
+arch=('any')
+url=https://github.com/vxgmichel/aiostream
+license=('GPL3')
+depends=('python')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
+             'python-wheel')
+checkdepends=('python-pytest' 'python-pytest-asyncio')
+source=("git+$url.git")
+b2sums=('SKIP')
+
+build() {
+  cd $_name
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest tests --strict-markers -c /dev/null
+}
+
+package() {
+  cd $_name
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}

Reply via email to