wok-current annotate python-pysqlite/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | 1df6fa555414 |
children |
rev | line source |
---|---|
claudinei@3413 | 1 # SliTaz package receipt. |
claudinei@3413 | 2 |
claudinei@3413 | 3 PACKAGE="python-pysqlite" |
Hans-G?nter@23546 | 4 VERSION="2.8.3" |
claudinei@3413 | 5 CATEGORY="development" |
Hans-G?nter@23546 | 6 SHORT_DESC="Python interface for the SQLite database." |
claudinei@3413 | 7 MAINTAINER="sygne@ombres.eu" |
pascal@15378 | 8 LICENSE="zlib/libpng" |
pascal@24383 | 9 SOURCE="pysqlite" |
Hans-G?nter@23546 | 10 WEB_SITE="https://pypi.org/project/$SOURCE/" |
Hans-G?nter@23546 | 11 |
claudinei@3413 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23546 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
claudinei@3413 | 14 |
Hans-G?nter@23546 | 15 DEPENDS="python sqlite" |
pascal@15093 | 16 BUILD_DEPENDS="python python-dev sqlite-dev" |
pascal@11856 | 17 |
pascal@24383 | 18 # What is the latest version available today? |
pascal@24288 | 19 current_version() |
pascal@24288 | 20 { |
pascal@24383 | 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 22 } |
pascal@24288 | 23 |
pascal@24288 | 24 # Rules to configure and make the package. |
claudinei@3413 | 25 compile_rules() |
claudinei@3413 | 26 { |
slaxemulator@9067 | 27 cp $stuff/setup.cfg . |
pascal@9050 | 28 python setup.py install --root=$DESTDIR |
claudinei@3413 | 29 } |
claudinei@3413 | 30 |
claudinei@3413 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3413 | 32 genpkg_rules() |
claudinei@3413 | 33 { |
claudinei@3413 | 34 mkdir -p $fs/usr |
Hans-G?nter@23546 | 35 cp -a $install/usr/lib $fs/usr |
claudinei@3413 | 36 } |