Skip to content
Snippets Groups Projects
Verified Commit 8b5d65ae authored by Carl Smedstad's avatar Carl Smedstad
Browse files
parent fd9ce1fa
No related branches found
Tags 6.1.1-1
No related merge requests found
pkgbase = python-psutil
pkgdesc = A cross-platform process and system utilities module for Python
pkgver = 6.1.0
pkgrel = 2
pkgver = 6.1.1
pkgrel = 1
url = https://github.com/giampaolo/psutil
arch = x86_64
license = BSD-3-Clause
......@@ -14,9 +14,9 @@ pkgbase = python-psutil
makedepends = python-wheel
depends = glibc
depends = python
source = python-psutil-6.1.0.tar.gz::https://github.com/giampaolo/psutil/archive/release-6.1.0.tar.gz
source = python-psutil-6.1.1.tar.gz::https://github.com/giampaolo/psutil/archive/release-6.1.1.tar.gz
source = dont-package-tests.patch
sha512sums = 7dc755c62ad4607b3f34dd60701be86836f9226ac305387205a9dbf2837b6fded6d71f4919323a4e6b77308f9851db560f1bebedb2ae9a9e5fc59ee3adbc4538
sha512sums = b362446f7154831eba344e7c2a741d0d5b1159b20b58f4642e5cce9599d7dca77d36dac7d69fb6f55fee3c56e384c0c4a86b74f2591df463aeceb50ea6e7b616
sha512sums = bc902748c8de706a2196f8a19801314f11035c17c8ad406330ba54f821c3ba9144c49d9b7e305d56500576993162c6d148f7db9cf0c61d4fd23b4d85adb3d461
pkgname = python-psutil
# Maintainer: Jelle van der Waa <jelle@archlinux.org>
# Maintainer: Carl Smedstad <carsme@archlinux.org>
# Maintainer: Sébastien Luttringer
# Contributor: Sébastien Luttringer
pkgname=python-psutil
pkgver=6.1.0
pkgrel=2
pkgver=6.1.1
pkgrel=1
arch=('x86_64')
pkgdesc='A cross-platform process and system utilities module for Python'
url='https://github.com/giampaolo/psutil'
......@@ -28,7 +28,7 @@ source=(
"$pkgname-$pkgver.tar.gz::$url/archive/release-$pkgver.tar.gz"
"dont-package-tests.patch"
)
sha512sums=('7dc755c62ad4607b3f34dd60701be86836f9226ac305387205a9dbf2837b6fded6d71f4919323a4e6b77308f9851db560f1bebedb2ae9a9e5fc59ee3adbc4538'
sha512sums=('b362446f7154831eba344e7c2a741d0d5b1159b20b58f4642e5cce9599d7dca77d36dac7d69fb6f55fee3c56e384c0c4a86b74f2591df463aeceb50ea6e7b616'
'bc902748c8de706a2196f8a19801314f11035c17c8ad406330ba54f821c3ba9144c49d9b7e305d56500576993162c6d148f7db9cf0c61d4fd23b4d85adb3d461')
prepare() {
......@@ -45,7 +45,7 @@ check() {
cd psutil-release-$pkgver
python -m installer --destdir=tmp_install dist/*.whl
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
cp -r psutil/tests "$PWD/tmp_install/$site_packages/psutil"
cp -vr psutil/tests "$PWD/tmp_install/$site_packages/psutil"
cd "$PWD/tmp_install/$site_packages"
# Deselect tests failing in a chroot - not sure why.
pytest \
......@@ -64,5 +64,3 @@ package() {
python -m installer --destdir="$pkgdir" dist/*.whl
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
# vim:set ts=2 sw=2 et:
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