wok diff 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 (9 months ago) |
parents | 47003b5bbbaf |
children |
line diff
1.1 --- a/python-pynacl/receipt Wed Jul 13 16:46:32 2022 +0100 1.2 +++ b/python-pynacl/receipt Fri Jan 12 14:14:28 2024 +0100 1.3 @@ -11,16 +11,16 @@ 1.4 1.5 SOURCE="PyNaCl" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WGET_URL="https://github.com/pyca/pynacl/archive/$VERSION.tar.gz" 1.8 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.9 1.10 DEPENDS="libsodium python" 1.11 BUILD_DEPENDS="libmagic libsodium-dev python-dev python-setuptools" 1.12 1.13 +# What is the latest version available today? 1.14 current_version() 1.15 { 1.16 - wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.17 - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.18 + wget -O - https://github.com/pyca/pynacl/tags 2>/dev/null | \ 1.19 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.20 } 1.21 1.22 # Rules to configure and make the package.