wok-current annotate python-smspdu/receipt @ rev 24288
fail2ban: add log4j-jndi.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 13 18:29:05 2022 +0000 (2022-01-13) |
parents | 6eed09128d50 |
children | 076f424196b2 |
rev | line source |
---|---|
pascal@20443 | 1 # SliTaz package receipt. |
pascal@20443 | 2 |
pascal@20443 | 3 PACKAGE="python-smspdu" |
pascal@20443 | 4 SOURCE="smspdu" |
pascal@20443 | 5 VERSION="1.0" |
pascal@20443 | 6 CATEGORY="development" |
pascal@20443 | 7 SHORT_DESC="SMS PDU encoding and decoding, including GSM-0338 character set" |
pascal@20443 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20443 | 9 LICENSE="BSD" |
pascal@20443 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20443 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
pascal@20443 | 12 WGET_URL="https://files.pythonhosted.org/packages/d4/ef/f632a98655bfe6ada9eca406c4980fe1ca23f925efd93ab33cd57cd16994/$TARBALL" |
pascal@20443 | 13 |
pascal@20443 | 14 DEPENDS="python" |
pascal@20443 | 15 BUILD_DEPENDS="python" |
pascal@20443 | 16 |
pascal@24288 | 17 current_version() |
pascal@24288 | 18 { |
pascal@24288 | 19 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' |
pascal@24288 | 20 } |
pascal@24288 | 21 |
pascal@20443 | 22 # Rules to configure and make the package. |
pascal@20443 | 23 compile_rules() |
pascal@20443 | 24 { |
pascal@20443 | 25 python setup.py install --root=$DESTDIR |
pascal@20443 | 26 } |
pascal@20443 | 27 |
pascal@20443 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20443 | 29 genpkg_rules() |
pascal@20443 | 30 { |
pascal@20443 | 31 cp -a $install/usr $fs |
pascal@20443 | 32 } |