Date: Friday, August 26, 2022 @ 15:59:50 Author: alucryd Revision: 1282991
archrelease: copy trunk to community-any Added: uvicorn/repos/community-any/PKGBUILD (from rev 1282989, uvicorn/trunk/PKGBUILD) Deleted: uvicorn/repos/community-any/PKGBUILD ----------+ PKGBUILD | 83 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 45 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-26 15:59:47 UTC (rev 1282990) +++ PKGBUILD 2022-08-26 15:59:50 UTC (rev 1282991) @@ -1,38 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=uvicorn -pkgver=0.18.2 -pkgrel=1 -pkgdesc='The lightning-fast ASGI server' -arch=('any') -url='https://github.com/encode/uvicorn' -license=('BSD') -depends=('python' 'python-asgiref' 'python-click' 'python-h11' 'python-websockets' 'python-httptools' 'python-uvloop') -optdepends=('python-watchgod: watchgod reload') -makedepends=('git' 'python-setuptools') -_tag=e674b96c4f9e20c2f6501b0c9e292d386931f9d0 -source=("git+$url#tag=${_tag}") -sha512sums=('SKIP') - -pkgver() { - cd $pkgname - - git describe --tags -} - -build() { - cd $pkgname - - python setup.py build -} - -package() { - cd $pkgname - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - - install -Dm 644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: uvicorn/repos/community-any/PKGBUILD (from rev 1282989, uvicorn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-26 15:59:50 UTC (rev 1282991) @@ -0,0 +1,45 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=uvicorn +pkgver=0.18.3 +pkgrel=1 +pkgdesc='The lightning-fast ASGI server' +arch=(any) +url=https://github.com/encode/uvicorn +license=(BSD) +depends=( + python + python-asgiref + python-click + python-h11 + python-httptools + python-uvloop + python-websockets +) +makedepends=( + git + python-build + python-hatchling + python-installer +) +_tag=ccd1aae48e49dd8c9365600fd79e886efe88be1d +source=(git+https://github.com/encode/uvicorn#tag=${_tag}) +b2sums=(SKIP) + +pkgver() { + cd uvicorn + git describe --tags +} + +build() { + cd uvicorn + python -m build --wheel --no-isolation +} + +package() { + python -m installer --destdir="${pkgdir}" uvicorn/dist/*.whl + install -Dm 644 uvicorn/LICENSE.md -t "${pkgdir}"/usr/share/licenses/uvicorn/ +} + +# vim:set ts=2 sw=2 et: