wok annotate python-constantly/receipt @ rev 22841
Add nwipe (secure disk eraser)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 13 12:20:32 2020 +0100 (2020-02-13) |
parents | c9bc237ebf2f |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@22105 | 1 # SliTaz package receipt. |
pascal@22105 | 2 |
pascal@22105 | 3 PACKAGE="python-constantly" |
pascal@22105 | 4 SOURCE="constantly" |
pascal@22105 | 5 VERSION="15.1.0" |
pascal@22105 | 6 CATEGORY="development" |
pascal@22105 | 7 SHORT_DESC="Symbolic Constants in Python" |
pascal@22105 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22105 | 9 LICENSE="MIT" |
pascal@22105 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@22105 | 11 WEB_SITE="https://github.com/twisted/constantly" |
pascal@22105 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@22105 | 13 |
pascal@22105 | 14 DEPENDS="python" |
pascal@22110 | 15 BUILD_DEPENDS="python-setuptools" |
pascal@22105 | 16 |
pascal@22105 | 17 # Rules to configure and make the package. |
pascal@22105 | 18 compile_rules() |
pascal@22105 | 19 { |
pascal@22105 | 20 python setup.py build && |
pascal@22105 | 21 python setup.py install --root=$DESTDIR |
pascal@22105 | 22 } |
pascal@22105 | 23 |
pascal@22105 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22105 | 25 genpkg_rules() |
pascal@22105 | 26 { |
pascal@22105 | 27 mkdir -p $fs |
pascal@22105 | 28 cp -a $install/usr $fs |
pascal@22105 | 29 } |