[arch-commits] Commit in (5 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 23 17:18:47 UTC 2019


    Date: Thursday, May 23, 2019 @ 17:18:47
  Author: alucryd
Revision: 469438

add python-pytest-trio

Added:
  python-pytest-trio/
  python-pytest-trio/trunk/
  python-pytest-trio/trunk/.SRCINFO
  python-pytest-trio/trunk/PKGBUILD
Modified:
  hypercorn/trunk/PKGBUILD

-----------------------------------+
 hypercorn/trunk/PKGBUILD          |    1 
 python-pytest-trio/trunk/.SRCINFO |   22 +++++++++++++++
 python-pytest-trio/trunk/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)

Modified: hypercorn/trunk/PKGBUILD
===================================================================
--- hypercorn/trunk/PKGBUILD	2019-05-23 17:14:03 UTC (rev 469437)
+++ hypercorn/trunk/PKGBUILD	2019-05-23 17:18:47 UTC (rev 469438)
@@ -23,6 +23,7 @@
   python-pytest
   python-pytest-asyncio
   python-pytest-sugar
+  python-pytest-trio
   python-tox
   python-trio
 )

Added: python-pytest-trio/trunk/.SRCINFO
===================================================================
--- python-pytest-trio/trunk/.SRCINFO	                        (rev 0)
+++ python-pytest-trio/trunk/.SRCINFO	2019-05-23 17:18:47 UTC (rev 469438)
@@ -0,0 +1,22 @@
+pkgbase = python-trio
+	pkgdesc = A friendly Python library for async concurrency and I/O
+	pkgver = 0.11.0
+	pkgrel = 1
+	url = https://github.com/python-trio/trio
+	arch = any
+	license = MIT
+	makedepends = git
+	makedepends = python-setuptools
+	depends = python
+	depends = python-async_generator
+	depends = python-attrs
+	depends = python-idna
+	depends = python-outcome
+	depends = python-sniffio
+	depends = python-sortedcontainers
+	provides = python-multio-provider
+	source = git+https://github.com/python-trio/trio.git#tag=v0.11.0
+	sha256sums = SKIP
+
+pkgname = python-trio
+

Added: python-pytest-trio/trunk/PKGBUILD
===================================================================
--- python-pytest-trio/trunk/PKGBUILD	                        (rev 0)
+++ python-pytest-trio/trunk/PKGBUILD	2019-05-23 17:18:47 UTC (rev 469438)
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-pytest-trio
+pkgver=0.5.2
+pkgrel=1
+pkgdesc='Pytest plugin for Trio'
+arch=(any)
+url=https://github.com/python-trio/pytest-trio
+license=(
+  APACHE
+  MIT
+)
+depends=(
+  python
+  python-async_generator
+  python-pytest
+  python-trio
+)
+makedepends=(
+  git
+  python-setuptools
+)
+checkdepends=(
+  python-hypothesis
+  python-pytest-cov
+  python-trio-asyncio
+)
+source=(git+https://github.com/python-trio/pytest-trio.git#tag=v${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd pytest-trio
+
+  python setup.py build
+}
+
+check() {
+  cd pytest-trio
+
+  python setup.py test
+}
+
+package() {
+  cd pytest-trio
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-pytest-trio/
+  install -Dm 644 LICENSE.MIT -t "${pkgdir}"/usr/share/licenses/python-pytest-trio/
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list