[arch-commits] Commit in python-pytest-trio (4 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 23 17:19:00 UTC 2019


    Date: Thursday, May 23, 2019 @ 17:19:00
  Author: alucryd
Revision: 469439

archrelease: copy trunk to community-any

Added:
  python-pytest-trio/repos/
  python-pytest-trio/repos/community-any/
  python-pytest-trio/repos/community-any/.SRCINFO
    (from rev 469438, python-pytest-trio/trunk/.SRCINFO)
  python-pytest-trio/repos/community-any/PKGBUILD
    (from rev 469438, python-pytest-trio/trunk/PKGBUILD)

----------+
 .SRCINFO |   22 ++++++++++++++++++++++
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

Copied: python-pytest-trio/repos/community-any/.SRCINFO (from rev 469438, python-pytest-trio/trunk/.SRCINFO)
===================================================================
--- repos/community-any/.SRCINFO	                        (rev 0)
+++ repos/community-any/.SRCINFO	2019-05-23 17:19:00 UTC (rev 469439)
@@ -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
+

Copied: python-pytest-trio/repos/community-any/PKGBUILD (from rev 469438, python-pytest-trio/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-05-23 17:19:00 UTC (rev 469439)
@@ -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