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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 08:14:33 UTC 2019


    Date: Monday, November 4, 2019 @ 08:14:32
  Author: felixonmars
Revision: 523640

archrelease: copy trunk to community-staging-any

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

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

Copied: python-trio-asyncio/repos/community-staging-any/PKGBUILD (from rev 523639, python-trio-asyncio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 08:14:32 UTC (rev 523640)
@@ -0,0 +1,40 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-trio-asyncio
+pkgver=0.10.0
+pkgrel=2
+pkgdesc='A re-implementation of the asyncio mainloop on top of Trio'
+arch=(any)
+url=https://github.com/python-trio/trio-asyncio
+license=(
+  APACHE
+  MIT
+)
+depends=(
+  python
+  python-async_generator
+  python-outcome
+  python-trio
+)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/python-trio/trio-asyncio.git#tag=v${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd trio-asyncio
+
+  python setup.py build
+}
+
+package() {
+  cd trio-asyncio
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-trio-asyncio/
+  install -Dm 644 LICENSE.MIT -t "${pkgdir}"/usr/share/licenses/python-trio-asyncio/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list