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

Maxime Gauduin alucryd at archlinux.org
Thu May 23 13:25:31 UTC 2019


    Date: Thursday, May 23, 2019 @ 13:25:30
  Author: alucryd
Revision: 469330

add python-trio

Added:
  python-trio/
  python-trio/trunk/
  python-trio/trunk/PKGBUILD

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

Added: python-trio/trunk/PKGBUILD
===================================================================
--- python-trio/trunk/PKGBUILD	                        (rev 0)
+++ python-trio/trunk/PKGBUILD	2019-05-23 13:25:30 UTC (rev 469330)
@@ -0,0 +1,40 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-trio
+pkgver=0.11.0
+pkgrel=1
+pkgdesc='A friendly Python library for async concurrency and I/O'
+arch=(any)
+url=https://github.com/python-trio/trio
+license=(MIT)
+depends=(
+  python
+  python-async_generator
+  python-attrs
+  python-idna
+  python-outcome
+  python-sniffio
+  python-sortedcontainers
+)
+makedepends=(
+  git
+  python-setuptools
+)
+provides=(python-multio-provider)
+source=(git+https://github.com/python-trio/trio.git#tag=v${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd trio
+
+  python setup.py build
+}
+
+package() {
+  cd trio
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-trio/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list