
Receipt for package "python-bpython"
# SliTaz package receipt. PACKAGE="python-bpython" VERSION="0.19" CATEGORY="development" SHORT_DESC="A fancy interface to the Python interpreter." MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" SOURCE="bpython" WEB_SITE="https://pypi.org/project/$SOURCE/" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/b/$SOURCE/$TARBALL" DEPENDS="python python-pygments python-setuptools" BUILD_DEPENDS="$DEPENDS python-dev" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr mkdir -p $fs/usr/share/applications for file in `find $install | grep 'pyc$'` do rm $file done rm -rf $install/usr/share/applications cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib $fs/usr cp -a $stuff/* $fs/usr/share/applications }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)