wok annotate python-mygpoclient/receipt @ rev 23638
updated sed (4.7 -> 4.8)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 10:17:35 2020 +0100 (2020-04-20) |
parents | 16df76e1fc6a |
children | 1df6fa555414 |
rev | line source |
---|---|
claudinei@5745 | 1 # SliTaz package receipt. |
claudinei@5745 | 2 |
claudinei@5745 | 3 PACKAGE="python-mygpoclient" |
Hans-G?nter@23510 | 4 VERSION="1.8" |
claudinei@5745 | 5 CATEGORY="development" |
claudinei@5745 | 6 SHORT_DESC="Python interface to the gpodder.net web services." |
claudinei@5745 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL3" |
Hans-G?nter@23510 | 9 WEB_SITE="https://pypi.org/project/mygpoclient/" |
Hans-G?nter@23510 | 10 |
Hans-G?nter@23510 | 11 SOURCE="mygpoclient" |
claudinei@5745 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23510 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/m/$SOURCE/$TARBALL" |
claudinei@5745 | 14 |
pascal@15379 | 15 DEPENDS="python python-simplejson" |
Hans-G?nter@23510 | 16 BUILD_DEPENDS="python python-dev" |
pascal@15379 | 17 |
claudinei@5745 | 18 # Rules to configure and make the package. |
claudinei@5745 | 19 compile_rules() |
claudinei@5745 | 20 { |
pascal@15379 | 21 python setup.py install --root=$DESTDIR |
claudinei@5745 | 22 } |
claudinei@5745 | 23 |
claudinei@5745 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@5745 | 25 genpkg_rules() |
claudinei@5745 | 26 { |
claudinei@5745 | 27 mkdir -p $fs/usr |
Hans-G?nter@23510 | 28 |
Hans-G?nter@23510 | 29 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23510 | 30 cp -a $install/usr/bin $fs/usr |
claudinei@5745 | 31 } |