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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 06:14:09 UTC 2019


    Date: Saturday, October 26, 2019 @ 06:14:08
  Author: felixonmars
Revision: 520230

archrelease: copy trunk to community-staging-any

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

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

Copied: python-curio/repos/community-staging-any/PKGBUILD (from rev 520229, python-curio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 06:14:08 UTC (rev 520230)
@@ -0,0 +1,40 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-curio
+pkgver=0.9
+pkgrel=2
+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