wok-current view python-oauth2/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | b569b85b0fb9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-oauth2"
4 VERSION="1.9.0"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="Library for OAuth version 1.0."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/simplegeo/python-oauth2"
12 SOURCE="oauth2"
13 TARBALL="$SOURCE-$VERSION.post1.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/o/$SOURCE/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python python-dev python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://pypi.org/project/oauth2/ 2>/dev/null | \
23 sed '/oauth2 [0-9]/!d;s|.*oauth2 ||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }