
Receipt for package "python-psutil"
# SliTaz package receipt. PACKAGE="python-psutil" VERSION="5.9.0" CATEGORY="development" SHORT_DESC="A process and system utilities module for Python." MAINTAINER="paul@slitaz.org" LICENSE="BSD" WEB_SITE="https://pypi.org/project/psutil/" SOURCE="psutil" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" } # Rules to configure and make the package. compile_rules() { # Cross compilation hack case "$ARCH" in arm*) mv /usr/bin/i486-slitaz-linux-gcc /tmp && ln -s /cross/${ARCH}/tools/bin/arm-slitaz-linux-gnueabi-gcc \ /usr/bin/i486-slitaz-linux-gcc ;; esac python setup.py install --root=$DESTDIR case "$ARCH" in arm*) rm /usr/bin/i486-slitaz-linux-gcc && mv /tmp/i486-slitaz-linux-gcc /usr/bin ;; esac } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)