wok-current annotate python-elementary/receipt @ rev 25023

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 17:10:15 2022 +0000 (2022-05-18)
parents b7f1bd1b9ac7
children b8195d50d79f
rev   line source
domcox@14433 1 # SliTaz package receipt.
domcox@14433 2
domcox@14433 3 PACKAGE="python-elementary"
pascal@14706 4 VERSION="1.7.0"
domcox@14433 5 CATEGORY="base-system"
domcox@14694 6 SHORT_DESC="Python bindings for Elementary"
domcox@14433 7 MAINTAINER="domcox@slitaz.org"
pascal@14997 8 LICENSE="LGPL3"
domcox@14433 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 10 WEB_SITE="https://www.enlightenment.org/"
pascal@25023 11 WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
domcox@14694 12 TAGS="e enlightenment python"
domcox@14433 13
domcox@14433 14 DEPENDS="elementary python-evas"
al@18077 15 BUILD_DEPENDS="elementary-dev python-evas-dev python-cython \
pascal@20590 16 autoconf automake git subversion libtool file"
domcox@14433 17
pascal@24713 18 # What is the latest version available today?
pascal@24713 19 current_version()
pascal@24713 20 {
pascal@24713 21 wget -O - https://pypi.org/project/python-elementary/ 2>/dev/null | \
pascal@24713 22 sed '/python-elementary [0-9]/!d;s|.*ry ||;q'
pascal@24713 23 }
pascal@24713 24
domcox@14433 25 # Rules to configure and make the package.
domcox@14433 26 compile_rules()
domcox@14433 27 {
domcox@14433 28 ./autogen.sh &&
domcox@14433 29 ./configure --prefix=/usr &&
al@18077 30 make $MAKEFLAGS all && make install
domcox@14433 31 }
domcox@14433 32
domcox@14433 33 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@14433 34 genpkg_rules()
domcox@14433 35 {
domcox@14433 36 mkdir -p $fs/usr/lib
domcox@14433 37 cp -a $install/usr/lib/python2.7 $fs/usr/lib
domcox@14433 38 }