wok annotate python-pynacl/receipt @ rev 25643

Fix mouse issue on mc with ncurses6
author Stanislas Leduc <shann@slitaz.org>
date Fri Jan 12 14:14:28 2024 +0100 (7 months ago)
parents 47003b5bbbaf
children
rev   line source
pascal@21877 1 # SliTaz package receipt.
pascal@21877 2
pascal@21877 3 PACKAGE="python-pynacl"
Hans-G?nter@25226 4 VERSION="1.4.0"
pascal@21877 5 CATEGORY="development"
pascal@21877 6 SHORT_DESC="Python binding to the Networking and Cryptography (NaCl) library"
pascal@21877 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21877 8 LICENSE="Apache"
Hans-G?nter@25226 9 WEB_SITE="https://pypi.org/project/PyNaCl/"
Hans-G?nter@25226 10 REPOLOGY="python:pynacl"
Hans-G?nter@25226 11
Hans-G?nter@25226 12 SOURCE="PyNaCl"
pascal@21877 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@25226 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@21877 15
Hans-G?nter@25226 16 DEPENDS="libsodium python"
Hans-G?nter@25226 17 BUILD_DEPENDS="libmagic libsodium-dev python-dev python-setuptools"
pascal@21877 18
pascal@25601 19 # What is the latest version available today?
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@25601 22 wget -O - https://github.com/pyca/pynacl/tags 2>/dev/null | \
pascal@25601 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 24 }
pascal@24055 25
pascal@21877 26 # Rules to configure and make the package.
pascal@21877 27 compile_rules()
pascal@21877 28 {
pascal@21877 29 python setup.py build &&
pascal@21877 30 python setup.py install --root=$DESTDIR
pascal@21877 31 }
pascal@21877 32
pascal@21877 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21877 34 genpkg_rules()
pascal@21877 35 {
Hans-G?nter@25226 36 cp -a $install/usr $fs
pascal@21877 37 }