wok-6.x annotate python-nose/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (19 months ago) |
parents | 1df6fa555414 |
children |
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 |
pascal@24383 | 19 # What is the latest version available today? |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24383 | 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 23 } |
pascal@24288 | 24 |
taziden@3777 | 25 # Rules to configure and make the package. |
taziden@3777 | 26 compile_rules() |
taziden@3777 | 27 { |
pascal@19293 | 28 sed -i 's|man/man|share/&|' setup.py |
Hans-G?nter@23514 | 29 |
pascal@15379 | 30 python setup.py install --root=$DESTDIR |
taziden@3777 | 31 } |
taziden@3777 | 32 |
taziden@3777 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 34 genpkg_rules() |
taziden@3777 | 35 { |
pankso@4172 | 36 mkdir -p $fs/usr |
Hans-G?nter@23514 | 37 cp -a $install/usr/lib $fs/usr |
taziden@3777 | 38 } |