wok view python-oauth2/receipt @ rev 24831
updated libsndfile and libsndfile-dev (1.0.28 -> 1.0.31)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 24 07:19:38 2022 +0100 (2022-03-24) |
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 }