wok annotate python-oauth2/receipt @ rev 24920

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