summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCarl Smedstad2024-01-15 16:56:08 +0100
committerCarl Smedstad2024-01-15 16:56:08 +0100
commit8b5b3debc44c82dfb49ed76e3d891d2a6e8dd448 (patch)
tree3e5b83f65c353332319dd4f40f69ec0c998d05da /PKGBUILD
parent3c3bb893cf84e2a3507cf02e0b9e9bf5a1e5867e (diff)
downloadaur-8b5b3debc44c82dfb49ed76e3d891d2a6e8dd448.tar.gz
upgpkg: python-pytest-memray 1.5.0-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 10e94740476a..702f1b270032 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,11 @@
pkgname=python-pytest-memray
_name=${pkgname#python-}
pkgver=1.5.0
-pkgrel=1
+pkgrel=2
pkgdesc="A pytest plugin for easy integration of memray memory profiler"
arch=(any)
url="https://github.com/bloomberg/pytest-memray"
-license=(Apache)
+license=(Apache-2.0)
depends=(
memray
python
@@ -32,8 +32,8 @@ _archive="$_name-$pkgver"
build() {
cd "$_archive"
- SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver \
- python -m build --wheel --no-isolation
+ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+ python -m build --wheel --no-isolation
}
check() {
@@ -43,8 +43,8 @@ check() {
_site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
python -m installer --destdir=tmp_install dist/*.whl
- PYTHONPATH="$PWD/tmp_install/$_site_packages:$PYTHONPATH" \
- python -m pytest tests
+ export PYTHONPATH="$PWD/tmp_install/$_site_packages:$PYTHONPATH"
+ pytest tests
}
package() {