wok-current annotate python-mygpoclient/receipt @ rev 24270
updated perl-xml-writer (0.625 -> 0.900)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:39:58 2022 +0100 (2022-01-02) |
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 } |