wok annotate python-configobj/receipt @ rev 25805

created recipe for xfce4-weather-plugin
author Hans-G?nter Theisgen
date Wed Nov 13 15:24:31 2024 +0100 (2 months ago)
parents 5ea0ce1cecc0
children
rev   line source
al@17791 1 # SliTaz package receipt.
al@17791 2
al@17791 3 PACKAGE="python-configobj"
al@17791 4 VERSION="5.0.6"
al@17791 5 CATEGORY="development"
al@17791 6 SHORT_DESC="Config file reading, writing and validation"
al@17791 7 MAINTAINER="al.bobylev@gmail.com"
al@17791 8 LICENSE="other"
al@17791 9 WEB_SITE="https://github.com/DiffSK/configobj"
al@17791 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@17791 11 WGET_URL="https://github.com/DiffSK/configobj/archive/v$VERSION.tar.gz"
al@17791 12
al@17791 13 DEPENDS="python python-six"
al@17791 14 BUILD_DEPENDS="wget cacerts python"
al@17791 15
pascal@25601 16 # What is the latest version available today?
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25601 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 21 }
pascal@24055 22
al@17791 23 # Rules to configure and make the package.
al@17791 24 compile_rules()
al@17791 25 {
al@17791 26 python setup.py build
al@17791 27 python setup.py install --root=$DESTDIR
al@17791 28 }
al@17791 29
al@17791 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@17791 31 genpkg_rules()
al@17791 32 {
al@17791 33 cp -a $install/* $fs
al@17791 34 }
al@18077 35