mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
35 lines
1 KiB
Text
35 lines
1 KiB
Text
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=py3-executing
|
|
pkgver=1.2.0
|
|
pkgrel=1
|
|
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-gpep517 py3-setuptools_scm py3-wheel"
|
|
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
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH=$PWD pytest
|
|
}
|
|
|
|
package() {
|
|
local whl=dist/executing-$pkgver-py2.py3-none-any.whl
|
|
python3 -m installer --destdir="$pkgdir" "$whl"
|
|
}
|
|
|
|
sha512sums="
|
|
c841958cc499b2d78c94570bf0556933d4a58ca5541f7a59e591be6036926ab79d5ae86bb95bbf649f3c3fb729109fe50cf04fbc72692e0cfe12edaa995ea0a6 py3-executing-1.2.0.tar.gz
|
|
"
|