wok-6.x annotate python-pysqlite/receipt @ rev 24196
updated perl-datetime-locale (0.45 -> 1.33)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:04:43 2021 +0100 (2021-12-31) |
parents | 6135577f4d08 |
children | 1df6fa555414 |
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" |
Hans-G?nter@23546 | 9 WEB_SITE="https://pypi.org/project/$SOURCE/" |
Hans-G?nter@23546 | 10 |
Hans-G?nter@23546 | 11 SOURCE="pysqlite" |
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 |
claudinei@3413 | 18 # Rules to configure and make the package. |
claudinei@3413 | 19 compile_rules() |
claudinei@3413 | 20 { |
slaxemulator@9067 | 21 cp $stuff/setup.cfg . |
pascal@9050 | 22 python setup.py install --root=$DESTDIR |
claudinei@3413 | 23 } |
claudinei@3413 | 24 |
claudinei@3413 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3413 | 26 genpkg_rules() |
claudinei@3413 | 27 { |
claudinei@3413 | 28 mkdir -p $fs/usr |
Hans-G?nter@23546 | 29 cp -a $install/usr/lib $fs/usr |
claudinei@3413 | 30 } |