wok-current annotate python-openid/receipt @ rev 25786
Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Jul 29 18:05:13 2025 +0000 (2 months ago) |
| parents | 1df6fa555414 |
| children |
| rev | line source |
|---|---|
| pascal@11773 | 1 # SliTaz package receipt. |
| pascal@11773 | 2 |
| pascal@11773 | 3 PACKAGE="python-openid" |
| Hans-Günter@23520 | 4 VERSION="2.2.5" # last version for Python 2 |
| pascal@11773 | 5 CATEGORY="development" |
| pascal@11773 | 6 SHORT_DESC="OpenID libraries for Python." |
| pascal@11773 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
| pascal@15379 | 8 LICENSE="Apache" |
| Hans-Günter@23520 | 9 WEB_SITE="https://pypi.org/project/python-openid/" |
| Hans-Günter@23520 | 10 |
| Hans-Günter@23520 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
| Hans-Günter@23520 | 12 WGET_URL="https://files.pythonhosted.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL" |
| pascal@11773 | 13 |
| pascal@11773 | 14 DEPENDS="python" |
| Hans-Günter@23520 | 15 BUILD_DEPENDS="python python-dev" |
| pascal@11773 | 16 |
| pascal@24383 | 17 # What is the latest version available today? |
| pascal@24288 | 18 current_version() |
| pascal@24288 | 19 { |
| pascal@24383 | 20 wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||;q" |
| pascal@24288 | 21 } |
| pascal@24288 | 22 |
| pascal@11773 | 23 # Rules to configure and make the package. |
| pascal@11773 | 24 compile_rules() |
| pascal@11773 | 25 { |
| pascal@11773 | 26 python setup.py build && |
| pascal@11773 | 27 python setup.py install --root=$DESTDIR |
| pascal@11773 | 28 } |
| pascal@11773 | 29 |
| pascal@11773 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pascal@11773 | 31 genpkg_rules() |
| pascal@11773 | 32 { |
| pascal@11773 | 33 mkdir -p $fs |
| Hans-Günter@23520 | 34 cp -a $install/usr $fs |
| pascal@11773 | 35 } |