Skip to content
Snippets Groups Projects
Commit 57af55f3 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/py3-outcome: upgrade to 1.3.0

parent b712e282
No related branches found
No related tags found
1 merge request!56709community/py3-outcome: upgrade to 1.3.0
Pipeline #199111 canceled
# Contributor: Bart Ribbers <bribbers@disroot.org> # Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-outcome pkgname=py3-outcome
pkgver=1.2.0 pkgver=1.3.0
pkgrel=2 pkgrel=0
pkgdesc="Capture the outcome of Python function calls" pkgdesc="Capture the outcome of Python function calls"
url="https://github.com/python-trio/outcome" url="https://github.com/python-trio/outcome"
arch="noarch" arch="noarch"
...@@ -10,26 +10,34 @@ license="MIT OR Apache-2.0" ...@@ -10,26 +10,34 @@ license="MIT OR Apache-2.0"
depends=" depends="
py3-async_generator py3-async_generator
py3-attrs py3-attrs
python3
" "
makedepends="py3-setuptools" makedepends="
py3-gpep517
py3-setuptools
py3-wheel
"
checkdepends="py3-pytest" checkdepends="py3-pytest"
subpackages="$pkgname-pyc" subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/o/outcome/outcome-$pkgver.tar.gz" source="https://pypi.python.org/packages/source/o/outcome/outcome-$pkgver.tar.gz"
builddir="$srcdir/outcome-$pkgver" builddir="$srcdir/outcome-$pkgver"
build() { build() {
python3 setup.py build gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
} }
check() { check() {
PYTHONPATH="$PWD/build/lib" pytest python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
.testenv/bin/python3 -m pytest
} }
package() { package() {
python3 setup.py install --skip-build --root="$pkgdir" python3 -m installer -d "$pkgdir" \
.dist/*.whl
} }
sha512sums=" sha512sums="
0ffba054c781edaf2437f3377e9685f76f5410a4e4e3dc377ec77a97535d3b103025e5f1006142eb55bacf5ba6c4632dc1524b524b050c7c01a18ed0893b373d outcome-1.2.0.tar.gz 693885c90063b0073c93e699e9e2e6f068a373594be84030d314562df8b26a38c91fd2dbc4a8121bcd426d4f6598af9d9d60910e58282ac3fe40a9124ab2fe13 outcome-1.3.0.tar.gz
" "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment