[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 23 09:23:45 UTC 2019


    Date: Thursday, May 23, 2019 @ 09:23:45
  Author: alucryd
Revision: 469249

add python-curio

Added:
  python-curio/
  python-curio/trunk/
  python-curio/trunk/PKGBUILD

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

Added: python-curio/trunk/PKGBUILD
===================================================================
--- python-curio/trunk/PKGBUILD	                        (rev 0)
+++ python-curio/trunk/PKGBUILD	2019-05-23 09:23:45 UTC (rev 469249)
@@ -0,0 +1,40 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-curio
+pkgver=0.9
+pkgrel=1
+pkgdesc='Concurrent I/O'
+arch=(any)
+url=https://github.com/dabeaz/curio
+license=(BSD)
+depends=(python)
+makedepends=(
+  git
+  python-pytest
+  python-setuptools
+  python-sphinx
+)
+provides=(python-multio-provider)
+source=(git+https://github.com/dabeaz/curio.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd curio
+
+  python setup.py build
+}
+
+check() {
+  cd curio
+
+  python setup.py test
+}
+
+package() {
+  cd curio
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-curio/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list