wok-6.x view python-sqlalchemy/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 076f424196b2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-sqlalchemy"
4 VERSION="1.4.29"
5 CATEGORY="development"
6 SHORT_DESC="The Python SQL toolkit and Object Relational Mapper."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/SQLAlchemy/"
10 REPOLOGY="python:sqlalchemy"
12 SOURCE="SQLAlchemy"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 SUGGESTED="python-pysqlite"
17 DEPENDS="python"
18 BUILD_DEPENDS="python python-dev python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
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 cook_copy_folders lib
36 }