[arch-commits] Commit in python-trio/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 20:13:25 UTC 2020


    Date: Monday, November 9, 2020 @ 20:13:25
  Author: felixonmars
Revision: 748159

archrelease: copy trunk to community-staging-any

Added:
  python-trio/repos/community-staging-any/
  python-trio/repos/community-staging-any/PKGBUILD
    (from rev 748156, python-trio/trunk/PKGBUILD)

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

Copied: python-trio/repos/community-staging-any/PKGBUILD (from rev 748156, python-trio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 20:13:25 UTC (rev 748159)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-trio
+pkgver=0.17.0
+pkgrel=2
+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)
+_tag=d0362a1a0c1d765f2e2f0e3db22df7ffe5d4380d
+source=(git+https://github.com/python-trio/trio.git#tag=${_tag})
+sha256sums=('SKIP')
+
+pkgver() {
+  cd trio
+
+  git describe --tags | sed 's/^v//'
+}
+
+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