[arch-commits] Commit in python-sniffio (3 files)

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


    Date: Thursday, May 23, 2019 @ 09:31:35
  Author: alucryd
Revision: 469252

archrelease: copy trunk to community-any

Added:
  python-sniffio/repos/
  python-sniffio/repos/community-any/
  python-sniffio/repos/community-any/PKGBUILD
    (from rev 469251, python-sniffio/trunk/PKGBUILD)

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

Copied: python-sniffio/repos/community-any/PKGBUILD (from rev 469251, python-sniffio/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-05-23 09:31:35 UTC (rev 469252)
@@ -0,0 +1,39 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-sniffio
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Sniff out which async library your code is running under'
+arch=(any)
+url=https://github.com/python-trio/sniffio
+license=(MIT)
+depends=(python)
+makedepends=(
+  git
+  python-curio
+  python-pytest
+  python-setuptools
+)
+source=(git+https://github.com/python-trio/sniffio.git#tag=v${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd sniffio
+
+  python setup.py build
+}
+
+check() {
+  cd sniffio
+
+  python setup.py test
+}
+
+package() {
+  cd sniffio
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-sniffio/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list