# HG changeset patch # User Pascal Bellard # Date 1655149179 0 # Node ID 56e6b4e636687cbbc762b9eaa8795d7698ff5c21 # Parent 3b19fa0b9a886de41a9e24a80e84f01518472fdf Add python-ipaddress diff -r 3b19fa0b9a88 -r 56e6b4e63668 libiec61883/receipt --- a/libiec61883/receipt Sat Jun 11 11:22:52 2022 +0000 +++ b/libiec61883/receipt Mon Jun 13 19:39:39 2022 +0000 @@ -6,10 +6,8 @@ SHORT_DESC="libiec61883 is a standard defining a high speed serial bus." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" -#TARBALL="$PACKAGE-$VERSION.tar.gz" -TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" +TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page" -#WGET_URL="http://www.linux1394.org/dl/$TARBALL" WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL" DEPENDS="libraw1394" @@ -18,14 +16,13 @@ # What is the latest version available today? current_version() { - wget -O - https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/ 2>/dev/null | \ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ diff -r 3b19fa0b9a88 -r 56e6b4e63668 libtar/receipt --- a/libtar/receipt Sat Jun 11 11:22:52 2022 +0000 +++ b/libtar/receipt Mon Jun 13 19:39:39 2022 +0000 @@ -9,7 +9,7 @@ WEB_SITE="https://directory.fsf.org/wiki/Libtar" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://pkgbuild.com/~giovanni/$PACKAGE/$TARBALL" +WGET_URL="https://github.com/tklauser/libtar/archive/v$VERSION/$TARBALL" DEPENDS="zlib" BUILD_DEPENDS="automake libtool zlib-dev" diff -r 3b19fa0b9a88 -r 56e6b4e63668 lxterminal/receipt --- a/lxterminal/receipt Sat Jun 11 11:22:52 2022 +0000 +++ b/lxterminal/receipt Mon Jun 13 19:39:39 2022 +0000 @@ -7,7 +7,7 @@ SHORT_DESC="LXDE terminal emulator." MAINTAINER="gokhlayeh@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://wiki.lxde.org/en/LXTerminal" +WEB_SITE="https://www.lxde.org/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/lxde/$TARBALL" diff -r 3b19fa0b9a88 -r 56e6b4e63668 mp3gain/receipt --- a/mp3gain/receipt Sat Jun 11 11:22:52 2022 +0000 +++ b/mp3gain/receipt Mon Jun 13 19:39:39 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Analyzes and adjusts volume on mp3 files." MAINTAINER="paul@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="https://sourceforge.net/projects/mp3gain/" +WEB_SITE="http://mp3gain.sourceforge.net/" TARBALL="$PACKAGE-${VERSION//./_}-src.zip" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" diff -r 3b19fa0b9a88 -r 56e6b4e63668 python-ipaddress/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-ipaddress/receipt Mon Jun 13 19:39:39 2022 +0000 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="python-ipaddress" +VERSION="1.0.23" +CATEGORY="development" +SHORT_DESC="Port of the 3.3+ ipaddress module." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://pypi.org/project/ipaddress/" + +SOURCE="ipaddress" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python python-dev python-setuptools" + +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --prefix=/usr --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + + cp -a $install/usr/lib $fs/usr/ +} diff -r 3b19fa0b9a88 -r 56e6b4e63668 sshproxy/receipt --- a/sshproxy/receipt Sat Jun 11 11:22:52 2022 +0000 +++ b/sshproxy/receipt Mon Jun 13 19:39:39 2022 +0000 @@ -11,8 +11,8 @@ WGET_URL="https://mirror.xtom.jp/debian-archive/debian/pool/main/s/sshproxy/$TARBALL" TAGS="ssh" -DEPENDS="python paramiko python-mysql pycrypto" -BUILD_DEPENDS="paramiko python-mysql pycrypto" +DEPENDS="python paramiko python-mysql pycrypto python-ipaddress" +BUILD_DEPENDS="paramiko python-mysql pycrypto python-ipaddress" # What is the latest version available today? current_version()