wok-6.x annotate python-pywebdav/receipt @ rev 25231
updated python-pytz (2019.3 -> 2021.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:07:13 2022 +0100 (2022-07-13) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
pascal@14502 | 1 # SliTaz package receipt. |
pascal@14502 | 2 |
pascal@14502 | 3 PACKAGE="python-pywebdav" |
pascal@14502 | 4 SOURCE="PyWebDAV" |
pascal@14502 | 5 VERSION="0.9.8" |
pascal@14502 | 6 CATEGORY="development" |
pascal@14502 | 7 SHORT_DESC="A WebDAV client library for Python." |
pascal@14502 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="GPL2" |
pascal@14502 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20672 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
pascal@24979 | 12 WGET_URL="https://files.pythonhosted.org/packages/e9/14/5f2a654233e533797f32dd670dab8dd61ac974d5105950481e872bddb898/$TARBALL" |
pascal@14502 | 13 |
pascal@14502 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="python-dev python python-setuptools" |
pascal@14502 | 16 |
pascal@24383 | 17 # What is the latest version available today? |
pascal@24288 | 18 current_version() |
pascal@24288 | 19 { |
pascal@24383 | 20 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 21 } |
pascal@24288 | 22 |
pascal@24288 | 23 # Rules to configure and make the package. |
pascal@14502 | 24 compile_rules() |
pascal@14502 | 25 { |
pascal@14502 | 26 python setup.py develop && |
pascal@14502 | 27 python setup.py install --root=$DESTDIR |
pascal@14502 | 28 } |
pascal@14502 | 29 |
pascal@14502 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14502 | 31 genpkg_rules() |
pascal@14502 | 32 { |
pascal@14502 | 33 mkdir -p $fs |
pascal@14502 | 34 cp -a $install/usr $fs |
pascal@14502 | 35 } |
al@18086 | 36 |