wok annotate virtualenv/receipt @ rev 25616

Add emu2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 26 15:51:29 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
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@25601 18 # What is the latest version available today?
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25601 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 23 }
pascal@24055 24
taziden@3873 25 # Rules to configure and make the package.
taziden@3873 26 compile_rules()
taziden@3873 27 {
pascal@15363 28 python setup.py install --root=$DESTDIR
taziden@3873 29 }
taziden@3873 30
taziden@3873 31 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@3873 32 genpkg_rules()
taziden@3873 33 {
pascal@15363 34 cp -a $install/usr $fs
taziden@3873 35 }