# HG changeset patch # User Pascal Bellard # Date 1686049470 0 # Node ID d154d1f5c98af10a784d3e2e5105cbb2decdb3b1 # Parent 6a415673cf107a48db6463552ce3d2552e349f84 Update some web_site / wget_url diff -r 6a415673cf10 -r d154d1f5c98a bazaar/receipt --- a/bazaar/receipt Sun Jun 04 12:36:08 2023 +0200 +++ b/bazaar/receipt Tue Jun 06 11:04:30 2023 +0000 @@ -7,7 +7,7 @@ SHORT_DESC="A free distributed version control system." MAINTAINER="rcx@zoominternet.net" LICENSE="GPL2" -WEB_SITE="http://bazaar.canonical.com/en/" +WEB_SITE="https://pypi.org/project/bzr/" SOURCE="bzr" TARBALL="$SOURCE-$VERSION.tar.gz" diff -r 6a415673cf10 -r d154d1f5c98a python3-dev/receipt --- a/python3-dev/receipt Sun Jun 04 12:36:08 2023 +0200 +++ b/python3-dev/receipt Tue Jun 06 11:04:30 2023 +0000 @@ -1,7 +1,5 @@ # SliTaz package receipt. -PACKED_SIZE="164.0K" -UNPACKED_SIZE="1.0M" PACKAGE="python3-dev" VERSION="3.8.3" CATEGORY="development" @@ -10,7 +8,7 @@ LICENSE="GPL" WANTED="python3" SOURCE="Python" -WEB_SITE="http://www.python.org/" +WEB_SITE="https://www.python.org/" DEPENDS="python3" @@ -25,4 +23,3 @@ python_version=${VERSION:0:3} #rm $fs/usr/include/python${python_version}m/pyconfig.h } - diff -r 6a415673cf10 -r d154d1f5c98a python3/receipt --- a/python3/receipt Sun Jun 04 12:36:08 2023 +0200 +++ b/python3/receipt Tue Jun 06 11:04:30 2023 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL" SOURCE="Python" TARBALL="$SOURCE-$VERSION.tar.xz" -WEB_SITE="http://www.python.org/" +WEB_SITE="https://www.python.org/" WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL" RELATED="python3-dev python3-idle" # version must match @@ -16,6 +16,13 @@ BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev sqlite-dev zlib-dev \ expat-dev liblzma-dev ncursesw-dev tcl-dev db-dev gdbm-dev libffi-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.python.org/downloads/ 2>/dev/null | \ + sed '/Download Python [0-9]/!d;s|.*Python ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a415673cf10 -r d154d1f5c98a webian-shell/receipt --- a/webian-shell/receipt Sun Jun 04 12:36:08 2023 +0200 +++ b/webian-shell/receipt Tue Jun 06 11:04:30 2023 +0000 @@ -8,7 +8,7 @@ LICENSE="MPL2" WEB_SITE="https://webian.org/shell/" TARBALL="${PACKAGE/-/_}_$VERSION-linux_32.tar.gz" -WGET_URL="https://github.com/downloads/webianproject/shell/$TARBALL" +WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" DEPENDS="gtk+ nss" BUILD_DEPENDS="wget" @@ -20,6 +20,7 @@ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } +# Rules to configure and make the package. compile_rules() { @@ -32,6 +33,7 @@ } +# Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 6a415673cf10 -r d154d1f5c98a xhtml2pdf/receipt --- a/xhtml2pdf/receipt Sun Jun 04 12:36:08 2023 +0200 +++ b/xhtml2pdf/receipt Tue Jun 06 11:04:30 2023 +0000 @@ -9,7 +9,7 @@ LICENSE="GPL2" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.xhtml2pdf.com" -WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" +WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" DEPENDS="python python-reportlab python-html5lib python-pypdf" BUILD_DEPENDS="$DEPENDS python-setuptools python-dev"