wok-6.x annotate python-pynacl/receipt @ rev 25495
Up expat (2.5.0), CVE-2022-43680
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 02 10:14:28 2022 +0000 (23 months ago) |
parents | ac8ca9758df1 |
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" |
pascal@21877 | 14 WGET_URL="https://github.com/pyca/pynacl/archive/$VERSION.tar.gz" |
Hans-G?nter@25226 | 15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@21877 | 16 |
Hans-G?nter@25226 | 17 DEPENDS="libsodium python" |
Hans-G?nter@25226 | 18 BUILD_DEPENDS="libmagic libsodium-dev python-dev python-setuptools" |
pascal@21877 | 19 |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24299 | 22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;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 } |