[arch-commits] Commit in hypercorn/trunk (PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 03:11:46 UTC 2021


    Date: Thursday, December 2, 2021 @ 03:11:46
  Author: foutrelis
Revision: 1061560

upgpkg: hypercorn 0.12.0-1: bump for Python 3.10 support

Modified:
  hypercorn/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 02:44:05 UTC (rev 1061559)
+++ PKGBUILD	2021-12-02 03:11:46 UTC (rev 1061560)
@@ -1,8 +1,8 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=hypercorn
-pkgver=0.11.2
-pkgrel=2
+pkgver=0.12.0
+pkgrel=1
 pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn'
 url=https://gitlab.com/pgjones/hypercorn
 arch=(any)
@@ -18,6 +18,7 @@
 makedepends=(
   git
   python-setuptools
+  python-pyproject2setuppy
 )
 checkdepends=(
   python-distlib
@@ -32,7 +33,7 @@
 optdepends=(
   'python-trio: trio support'
 )
-_tag=6ab2ab9f187526d5da5c2a12220d7abfc7573d0b
+_tag=98f0ccacd4071425a78b20b492fd5c8bc217954d
 source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${_tag})
 sha256sums=(SKIP)
 
@@ -45,7 +46,7 @@
 build() {
   cd hypercorn
 
-  python setup.py build
+  python -m pyproject2setuppy.main build
 }
 
 check() {
@@ -57,7 +58,7 @@
 package() {
   cd hypercorn
 
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  python -m pyproject2setuppy.main install --prefix=/usr --root="$pkgdir" --optimize=1
   install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/
 }
 



More information about the arch-commits mailing list