mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=py3-executing
|
|
pkgver=0.8.3
|
|
pkgrel=0
|
|
pkgdesc="Get information about what a Python frame is currently doing"
|
|
url="https://github.com/alexmojaki/executing"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-installer py3-setuptools_scm py3-wheel py3-build"
|
|
checkdepends="py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/alexmojaki/executing/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/executing-$pkgver"
|
|
options="!check" # tests are failing for some reason
|
|
|
|
build() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
|
python3 -m build \
|
|
--no-isolation \
|
|
--wheel \
|
|
.
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH=$PWD pytest
|
|
}
|
|
|
|
package() {
|
|
local whl=dist/executing-$pkgver-py2.py3-none-any.whl
|
|
python3 -m installer --destdir="$pkgdir" "$whl"
|
|
}
|
|
|
|
sha512sums="
|
|
4e01c1f48734c9568412b84160150e7e50ebdf5ba3dd466cf9d37b7f875ca2993915db75e2f6dd8e75e60b7b952fb0146928a41dde100ad38384b9be2ed60522 py3-executing-0.8.3.tar.gz
|
|
"
|