wok annotate virtualenv/receipt @ rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | 12a00e4d5909 |
children | 0262035dc1e7 |
rev | line source |
---|---|
taziden@3873 | 1 # SliTaz package receipt. |
taziden@3873 | 2 |
taziden@3873 | 3 PACKAGE="virtualenv" |
Hans-G?nter@22109 | 4 VERSION="16.7.7" |
taziden@3873 | 5 CATEGORY="development" |
Hans-G?nter@22109 | 6 TAGS="python" |
taziden@3873 | 7 SHORT_DESC="Virtual Python Environment Builder." |
taziden@3873 | 8 MAINTAINER="taziden@slitaz.org" |
pascal@15363 | 9 LICENSE="MIT" |
Hans-G?nter@22109 | 10 WEB_SITE="https://virtualenv.pypa.io/" |
Hans-G?nter@22109 | 11 |
taziden@3873 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22109 | 13 WGET_URL="https://github.com/pypa/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@15363 | 14 |
taziden@3873 | 15 DEPENDS="python python-dev" |
Hans-G?nter@22109 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
taziden@3873 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
taziden@3873 | 24 # Rules to configure and make the package. |
taziden@3873 | 25 compile_rules() |
taziden@3873 | 26 { |
pascal@15363 | 27 python setup.py install --root=$DESTDIR |
taziden@3873 | 28 } |
taziden@3873 | 29 |
taziden@3873 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3873 | 31 genpkg_rules() |
taziden@3873 | 32 { |
pascal@15363 | 33 cp -a $install/usr $fs |
taziden@3873 | 34 } |