PACKAGE="python3-markupsafe" VERSION="1.1.1" CATEGORY="development" SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="MarkupSafe" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://pypi.python.org/pypi/MarkupSafe" WGET_URL="https://files.pythonhosted.org/packages/source/M/$SOURCE/$TARBALL" DEPENDS="python3" BUILD_DEPENDS="python3 python3-dev python3-setuptools" # Rules to configure and make the package. compile_rules() { cd $src python3 setup.py build && python3 setup.py install --root=$PWD/_pkg } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs cp -a $_pkg/usr $fs }