Date: Friday, April 28, 2023 @ 13:05:12 Author: jelle Revision: 475273
archrelease: copy trunk to staging-any Added: python-asgiref/repos/staging-any/PKGBUILD (from rev 475272, python-asgiref/trunk/PKGBUILD) Deleted: python-asgiref/repos/staging-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-28 13:05:05 UTC (rev 475272) +++ PKGBUILD 2023-04-28 13:05:12 UTC (rev 475273) @@ -1,31 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> - -pkgname=python-asgiref -pkgver=3.5.2 -pkgrel=2 -pkgdesc="Reference ASGI adapters and channel layers" -arch=(any) -url="http://github.com/django/asgiref" -license=('BSD') -makedepends=('python-setuptools') -checkdepends=(python-pytest python-pytest-asyncio) -depends=('python') -source=("https://pypi.io/packages/source/a/asgiref/asgiref-${pkgver}.tar.gz") -sha256sums=('4a29362a6acebe09bf1d6640db38c1dc3d9217c68e6f9f6204d72667fc19a424') - -build() { - cd "asgiref-${pkgver}" - python setup.py build -} - -check() { - cd "asgiref-${pkgver}" - PYTHONPATH=. pytest . -} - -package() { - cd "asgiref-${pkgver}" - python setup.py install --root=${pkgdir} --optimize=1 - - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-asgiref/repos/staging-any/PKGBUILD (from rev 475272, python-asgiref/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-28 13:05:12 UTC (rev 475273) @@ -0,0 +1,31 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> + +pkgname=python-asgiref +pkgver=3.6.0 +pkgrel=1 +pkgdesc="Reference ASGI adapters and channel layers" +arch=(any) +url="http://github.com/django/asgiref" +license=('BSD') +makedepends=('python-setuptools') +checkdepends=(python-pytest python-pytest-asyncio) +depends=('python') +source=("https://pypi.io/packages/source/a/asgiref/asgiref-${pkgver}.tar.gz") +sha256sums=('9567dfe7bd8d3c8c892227827c41cce860b368104c3431da67a0c5a65a949506') + +build() { + cd "asgiref-${pkgver}" + python setup.py build +} + +check() { + cd "asgiref-${pkgver}" + PYTHONPATH=. pytest . +} + +package() { + cd "asgiref-${pkgver}" + python setup.py install --root=${pkgdir} --optimize=1 + + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}