[arch-commits] Commit in python-curio/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 11:26:13 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:26:13
Author: felixonmars
Revision: 1059189
archrelease: copy trunk to community-staging-any
Added:
python-curio/repos/community-staging-any/
python-curio/repos/community-staging-any/PKGBUILD
(from rev 1059186, python-curio/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: python-curio/repos/community-staging-any/PKGBUILD (from rev 1059186, python-curio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 11:26:13 UTC (rev 1059189)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-curio
+pkgver=1.5
+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=78bca8a6ad677ef51e1568ac7b3e51441ab49c42
+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