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

Maxime Gauduin alucryd at archlinux.org
Thu May 23 09:51:02 UTC 2019


    Date: Thursday, May 23, 2019 @ 09:51:01
  Author: alucryd
Revision: 469254

archrelease: copy trunk to community-any

Added:
  python-outcome/repos/
  python-outcome/repos/community-any/
  python-outcome/repos/community-any/PKGBUILD
    (from rev 469253, python-outcome/trunk/PKGBUILD)

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

Copied: python-outcome/repos/community-any/PKGBUILD (from rev 469253, python-outcome/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-05-23 09:51:01 UTC (rev 469254)
@@ -0,0 +1,43 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-outcome
+pkgver=1.0.0
+pkgrel=3
+pkgdesc='Capture the outcome of Python function calls'
+arch=(any)
+url=https://github.com/python-trio/outcome
+license=(MIT)
+depends=(
+  python
+  python-attrs
+)
+makedepends=(
+  git
+  python-async_generator
+  python-pytest
+  python-pytest-cov
+  python-setuptools
+)
+source=(git+https://github.com/python-trio/outcome.git#tag=v${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd outcome
+
+  python setup.py build
+}
+
+check() {
+  cd outcome
+
+  python setup.py test
+}
+
+package() {
+  cd outcome
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-outcome/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list