wok view python-openid/receipt @ rev 24652
updated i3 and i3-man (4.19.2 -> 4.20.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 06:27:26 2022 +0100 (2022-03-11) |
parents | 1df6fa555414 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-openid"
4 VERSION="2.2.5" # last version for Python 2
5 CATEGORY="development"
6 SHORT_DESC="OpenID libraries for Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://pypi.org/project/python-openid/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py build &&
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a $install/usr $fs
35 }