backports/py3-pyinstrument: upgrade to 4.7.3
This commit is contained in:
parent
813dd51cbf
commit
404979f01b
1 changed files with 23 additions and 8 deletions
|
@ -1,18 +1,29 @@
|
||||||
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
||||||
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
pkgname=py3-pyinstrument
|
pkgname=py3-pyinstrument
|
||||||
pkgver=4.6.2
|
pkgver=4.7.3
|
||||||
pkgrel=1
|
pkgrel=0
|
||||||
pkgdesc="Call stack profiler for Python"
|
pkgdesc="Call stack profiler for Python"
|
||||||
url="https://github.com/joerick/pyinstrument"
|
url="https://github.com/joerick/pyinstrument"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
makedepends="py3-gpep517 py3-setuptools py3-wheel python3-dev"
|
makedepends="
|
||||||
checkdepends="py3-pytest py3-flaky py3-trio py3-greenlet"
|
py3-gpep517
|
||||||
|
py3-setuptools
|
||||||
|
py3-wheel
|
||||||
|
python3-dev
|
||||||
|
"
|
||||||
|
checkdepends="
|
||||||
|
py3-flaky
|
||||||
|
py3-greenlet
|
||||||
|
py3-pytest
|
||||||
|
py3-pytest-asyncio
|
||||||
|
py3-trio
|
||||||
|
"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/joerick/pyinstrument/archive/refs/tags/v$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/joerick/pyinstrument/archive/refs/tags/v$pkgver.tar.gz"
|
||||||
builddir="$srcdir/pyinstrument-$pkgver"
|
builddir="$srcdir/pyinstrument-$pkgver"
|
||||||
options="!check" # currently not working
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
gpep517 build-wheel \
|
gpep517 build-wheel \
|
||||||
|
@ -21,9 +32,13 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
[ -d "pyinstrument" ] && mv -v pyinstrument pyinstrument.src
|
||||||
|
|
||||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||||
.testenv/bin/python3 -m installer .dist/*.whl
|
.testenv/bin/python3 -m installer .dist/*.whl
|
||||||
.testenv/bin/python3 -m pytest
|
|
||||||
|
# test_cmdline.py tries to run "pyinstrument" executable
|
||||||
|
PATH="$builddir/.testenv/bin:$PATH" .testenv/bin/python3 -m pytest
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
@ -31,5 +46,5 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
da23988e6c68876cb8920ce284326f349425303ae36718c5c479b72b5f5ca5d48ced1674bcab71851f60e81a0985bb668bfa89a8b96cc20a1faa0dd7e623ec50 py3-pyinstrument-4.6.2.tar.gz
|
24feac08a9726379b749f391bdb6ddbca6d3631cf3515d3ead85ace7a96f213bf60e2cd4d4f3c7cade68b5e481b4bfd562482817befe6322579101a8d91add66 py3-pyinstrument-4.7.3.tar.gz
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue