[arch-commits] Commit in python-trio/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 11:48:51 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:48:51
Author: foutrelis
Revision: 1059254
archrelease: copy trunk to community-staging-any
Added:
python-trio/repos/community-staging-any/
python-trio/repos/community-staging-any/PKGBUILD
(from rev 1059253, python-trio/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: python-trio/repos/community-staging-any/PKGBUILD (from rev 1059253, python-trio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 11:48:51 UTC (rev 1059254)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-trio
+pkgver=0.19.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=0cb25fae4248263dd14bc84586207bfc7ec776dc
+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