wok annotate python-caldav/receipt @ rev 25564
Up memtest (6.20)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 11 15:58:49 2023 +0000 (18 months ago) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-caldav" |
Hans-G?nter@25165 | 4 VERSION="0.8.2" |
pascal@11727 | 5 CATEGORY="development" |
Hans-G?nter@23468 | 6 SHORT_DESC="CalDAV (RFC4791) client library for Python." |
pascal@11727 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="GPL" |
Hans-G?nter@23468 | 9 WEB_SITE="https://pypi.org/project/caldav" |
Hans-G?nter@25165 | 10 REPOLOGY="python:caldav" |
Hans-G?nter@23468 | 11 |
pascal@11727 | 12 SOURCE="caldav" |
pascal@11727 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23468 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/c/$SOURCE/$TARBALL" |
pascal@11727 | 15 |
pascal@11727 | 16 DEPENDS="python" |
pascal@21581 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@11727 | 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 |
pascal@11727 | 25 # Rules to configure and make the package. |
pascal@11727 | 26 compile_rules() |
pascal@11727 | 27 { |
al@18077 | 28 python setup.py install --root=$DESTDIR |
pascal@11727 | 29 } |
pascal@11727 | 30 |
pascal@11727 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 32 genpkg_rules() |
pascal@11727 | 33 { |
Hans-G?nter@25165 | 34 cook_copy_folders lib |
pascal@11727 | 35 } |