[arch-commits] Commit in hypercorn/repos/community-any (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at gemini.archlinux.org
Mon Jan 10 15:04:47 UTC 2022


    Date: Monday, January 10, 2022 @ 15:04:47
  Author: alucryd
Revision: 1099321

archrelease: copy trunk to community-any

Added:
  hypercorn/repos/community-any/PKGBUILD
    (from rev 1099320, hypercorn/trunk/PKGBUILD)
Deleted:
  hypercorn/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  123 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 58 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-10 15:04:41 UTC (rev 1099320)
+++ PKGBUILD	2022-01-10 15:04:47 UTC (rev 1099321)
@@ -1,65 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=hypercorn
-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)
-license=(MIT)
-depends=(
-  python-h11
-  python-h2
-  python-priority
-  python-toml
-  python-typing_extensions
-  python-wsproto
-)
-makedepends=(
-  git
-  python-setuptools
-  python-pyproject2setuppy
-)
-checkdepends=(
-  python-distlib
-  python-hypothesis
-  python-pytest
-  python-pytest-asyncio
-  python-pytest-sugar
-  python-pytest-trio
-  python-tox
-  python-trio
-)
-optdepends=(
-  'python-trio: trio support'
-)
-_tag=98f0ccacd4071425a78b20b492fd5c8bc217954d
-source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
-  cd hypercorn
-
-  git describe --tags
-}
-
-build() {
-  cd hypercorn
-
-  python -m pyproject2setuppy.main build
-}
-
-check() {
-  cd hypercorn
-
-  tox -e py310
-}
-
-package() {
-  cd hypercorn
-
-  python -m pyproject2setuppy.main install --prefix=/usr --root="$pkgdir" --optimize=1
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/
-}
-
-# vim: ts=2 sw=2 et:

Copied: hypercorn/repos/community-any/PKGBUILD (from rev 1099320, hypercorn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-10 15:04:47 UTC (rev 1099321)
@@ -0,0 +1,58 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=hypercorn
+pkgver=0.13.1
+pkgrel=1
+pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn'
+url=https://gitlab.com/pgjones/hypercorn
+arch=(any)
+license=(MIT)
+depends=(
+  python-h11
+  python-h2
+  python-priority
+  python-toml
+  python-typing_extensions
+  python-wsproto
+)
+makedepends=(
+  git
+  python-pip
+  python-poetry
+)
+checkdepends=(
+  python-distlib
+  python-hypothesis
+  python-pytest
+  python-pytest-asyncio
+  python-pytest-sugar
+  python-pytest-trio
+  python-tox
+  python-trio
+)
+optdepends=('python-trio: trio support')
+_tag=da787f7b36e15ba302d6ee7f1247e10b6c822b4d
+source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd hypercorn
+  git describe --tags
+}
+
+build() {
+  cd hypercorn
+  poetry build --format wheel
+}
+
+check() {
+  cd hypercorn
+  # tox -e py310
+}
+
+package() {
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps hypercorn/dist/*.whl
+  install -Dm 644 hypercorn/LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list