[arch-commits] Commit in python-outcome/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 11:41:30 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:41:30
Author: felixonmars
Revision: 1059238
archrelease: copy trunk to community-staging-any
Added:
python-outcome/repos/community-staging-any/
python-outcome/repos/community-staging-any/PKGBUILD
(from rev 1059237, python-outcome/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: python-outcome/repos/community-staging-any/PKGBUILD (from rev 1059237, python-outcome/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 11:41:30 UTC (rev 1059238)
@@ -0,0 +1,50 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-outcome
+pkgver=1.1.0
+pkgrel=2
+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
+)
+_tag=a351a52f5102f05803a213d3521e5d3905c0102b
+source=(git+https://github.com/python-trio/outcome.git#tag=${_tag})
+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