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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 19:24:16 UTC 2020


    Date: Monday, November 9, 2020 @ 19:24:15
  Author: felixonmars
Revision: 748065

archrelease: copy trunk to community-staging-any

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

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

Copied: python-curio/repos/community-staging-any/PKGBUILD (from rev 748063, python-curio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:24:15 UTC (rev 748065)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-curio
+pkgver=1.4
+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)
+_tag=09dd8a20142b6210fe18f676a746918601c6092e
+source=(git+https://github.com/dabeaz/curio.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd curio
+
+  git describe --tags
+}
+
+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