wok-current annotate python-markupsafe/receipt @ rev 23837
Up freetype (2.10.2), git (2.26.2), glpi (9.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 10:44:24 2020 +0000 (2020-06-01) |
parents | 814362194a8d |
children | 104a2a2e5484 |
rev | line source |
---|---|
pascal@9669 | 1 PACKAGE="python-markupsafe" |
Hans-G?nter@23506 | 2 VERSION="1.1.1" |
pascal@9669 | 3 CATEGORY="development" |
pascal@9669 | 4 SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python." |
pascal@9669 | 5 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 6 LICENSE="BSD" |
Hans-G?nter@23506 | 7 WEB_SITE="https://pypi.python.org/pypi/MarkupSafe" |
Hans-G?nter@23506 | 8 |
pascal@9669 | 9 SOURCE="MarkupSafe" |
pascal@9669 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23506 | 11 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15378 | 12 |
pascal@9669 | 13 DEPENDS="python" |
pascal@21582 | 14 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@9669 | 15 |
pascal@9669 | 16 # Rules to configure and make the package. |
pascal@9669 | 17 compile_rules() |
pascal@9669 | 18 { |
pascal@9669 | 19 python setup.py build && |
pascal@15378 | 20 python setup.py install --root=$DESTDIR |
pascal@9669 | 21 } |
pascal@9669 | 22 |
pascal@9669 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9669 | 24 genpkg_rules() |
pascal@9669 | 25 { |
pascal@9669 | 26 mkdir -p $fs |
Hans-G?nter@23506 | 27 cp -a $install/usr $fs |
pascal@9669 | 28 } |