[arch-commits] Commit in python-outcome/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 19:53:16 UTC 2020


    Date: Monday, November 9, 2020 @ 19:53:16
  Author: foutrelis
Revision: 748097

archrelease: copy trunk to community-staging-any

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

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

Copied: python-outcome/repos/community-staging-any/PKGBUILD (from rev 748096, python-outcome/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:53:16 UTC (rev 748097)
@@ -0,0 +1,49 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-outcome
+pkgver=1.0.1
+pkgrel=4
+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=8f134767135f5236c952d37f7854903f7f196832)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd outcome
+
+  git describe --tags | sed 's/^v//'
+}
+
+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