wok-current annotate python-pysqlite/receipt @ rev 24288

fail2ban: add log4j-jndi.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 13 18:29:05 2022 +0000 (2022-01-13)
parents 2e785262366d
children 076f424196b2
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
pascal@24288 18 current_version()
pascal@24288 19 {
pascal@24288 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 21 }
pascal@24288 22
pascal@24288 23 # Rules to configure and make the package.
claudinei@3413 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 }