wok view python-openid/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 be6fe659dd64
children 076f424196b2
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 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py build &&
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs
33 cp -a $install/usr $fs
34 }