wok-current annotate python-nose/receipt @ rev 23667
updated squirrelmail-multilogin (2.4-1.2.9 -> 2.4.2-1.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 06:53:18 2020 +0100 (2020-04-26) |
parents | c89d25976dbe |
children | 1df6fa555414 |
rev | line source |
---|---|
taziden@3777 | 1 # SliTaz package receipt. |
taziden@3777 | 2 |
taziden@3777 | 3 PACKAGE="python-nose" |
Hans-G?nter@23514 | 4 VERSION="1.3.7" |
taziden@3777 | 5 CATEGORY="development" |
Hans-G?nter@23514 | 6 TAGS="python" |
Hans-G?nter@23514 | 7 SHORT_DESC="Unittest extension." |
taziden@3777 | 8 MAINTAINER="taziden@slitaz.org" |
pascal@15379 | 9 LICENSE="LGPL2.1" |
Hans-G?nter@23514 | 10 WEB_SITE="https://pypi.org/project/nose/" |
Hans-G?nter@23514 | 11 |
taziden@3777 | 12 SOURCE="nose" |
taziden@3777 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23514 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/n/$SOURCE/$TARBALL" |
taziden@3777 | 15 |
pascal@15379 | 16 DEPENDS="python" |
pascal@15379 | 17 BUILD_DEPENDS="python python-dev" |
pascal@15379 | 18 |
taziden@3777 | 19 # Rules to configure and make the package. |
taziden@3777 | 20 compile_rules() |
taziden@3777 | 21 { |
pascal@19293 | 22 sed -i 's|man/man|share/&|' setup.py |
Hans-G?nter@23514 | 23 |
pascal@15379 | 24 python setup.py install --root=$DESTDIR |
taziden@3777 | 25 } |
taziden@3777 | 26 |
taziden@3777 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 28 genpkg_rules() |
taziden@3777 | 29 { |
pankso@4172 | 30 mkdir -p $fs/usr |
Hans-G?nter@23514 | 31 cp -a $install/usr/lib $fs/usr |
taziden@3777 | 32 } |