# HG changeset patch # User Pascal Bellard # Date 1539179643 -7200 # Node ID c2946aeb8b578854383d92aa40fbf8dd43262c98 # Parent 77cbb661144f9a8c723ac02ecea4928141a9c126 Add py3k7 diff -r 77cbb661144f -r c2946aeb8b57 amule/receipt --- a/amule/receipt Wed Oct 10 10:43:41 2018 +0200 +++ b/amule/receipt Wed Oct 10 15:54:03 2018 +0200 @@ -38,6 +38,7 @@ genpkg_rules() { mkdir -p $fs/usr/share + rm -rf $install/usr/share/man/?? $install/usr/share/man/*_* cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/amule $fs/usr/share # Remove unused files in this base package. diff -r 77cbb661144f -r c2946aeb8b57 linld/receipt --- a/linld/receipt Wed Oct 10 10:43:41 2018 +0200 +++ b/linld/receipt Wed Oct 10 15:54:03 2018 +0200 @@ -24,7 +24,7 @@ busybox wget -O $SRC/$EXTRA_TOOL $EXTRA_TOOL_URL mv DIST $src 2> /dev/null cd $src - unzip $SRC/$EXTRA_TOOL + unzip $SRC/$EXTRA_TOOL > /dev/null rm LINLD$SUFFIX/CRTL.CPP LINLD$SUFFIX/INT15_88.ASM cp $stuff/src/* LINLD$SUFFIX/ cp -a LINLD$SUFFIX TAZBOOT diff -r 77cbb661144f -r c2946aeb8b57 linld/stuff/src/!COMPILE.BAT --- a/linld/stuff/src/!COMPILE.BAT Wed Oct 10 10:43:41 2018 +0200 +++ b/linld/stuff/src/!COMPILE.BAT Wed Oct 10 15:54:03 2018 +0200 @@ -7,8 +7,8 @@ ren LINLD.ASM LINLD.ASO ren LOAD.ASM LOAD.ASO ren HIMEM.ASM HIMEM.ASO -mawk -f pipehole.awk < LINLD.ASO > LINLD.ASM -mawk -f pipehole.awk < LOAD.ASO > LOAD.ASM -mawk -f pipehole.awk < HIMEM.ASO > HIMEM.ASM +mawk -f pipehole.awk LINLD.ASO > LINLD.ASM +mawk -f pipehole.awk LOAD.ASO > LOAD.ASM +mawk -f pipehole.awk HIMEM.ASO > HIMEM.ASM tasm /la /m /dLARGE_IMAGES *.asm > asm.log tlink /m /s /t @link.cmd > lnk.log diff -r 77cbb661144f -r c2946aeb8b57 linld/stuff/src/!COMPILEX.BAT --- a/linld/stuff/src/!COMPILEX.BAT Wed Oct 10 10:43:41 2018 +0200 +++ b/linld/stuff/src/!COMPILEX.BAT Wed Oct 10 15:54:03 2018 +0200 @@ -5,9 +5,9 @@ ren LOAD.ASM LOAD.ASO ren HIMEM.ASM HIMEM.ASO ren ISO9660.ASM ISO9660.ASO -mawk -f pipehole.awk < TAZBOOT.ASO > TAZBOOT.ASM -mawk -f pipehole.awk < LOAD.ASO > LOAD.ASM -mawk -f pipehole.awk < HIMEM.ASO > HIMEM.ASM -mawk -f pipehole.awk < ISO9660.ASO > ISO9660.ASM +mawk -f pipehole.awk TAZBOOT.ASO > TAZBOOT.ASM +mawk -f pipehole.awk LOAD.ASO > LOAD.ASM +mawk -f pipehole.awk HIMEM.ASO > HIMEM.ASM +mawk -f pipehole.awk ISO9660.ASO > ISO9660.ASM tasm /la /m /dEXTRA /dNO386 /dLARGE_IMAGES *.asm > asm.log tlink /m /s /t @linkx.cmd > lnk.log diff -r 77cbb661144f -r c2946aeb8b57 linld/stuff/src/pipehole.awk --- a/linld/stuff/src/pipehole.awk Wed Oct 10 10:43:41 2018 +0200 +++ b/linld/stuff/src/pipehole.awk Wed Oct 10 15:54:03 2018 +0200 @@ -81,7 +81,7 @@ } if (/^ and [abcd]x,/) { split($2,args,",") - if (isnum(args[2]) && args[2] >= -255 && args[2] < 0) { + if (isnum(args[2]) && args[2] >= -256 && args[2] < 0) { print " and " substr(args[1],1,1) "l," args[2]; next } } @@ -95,7 +95,7 @@ if (/^ and e[abcd]x,/) { split($2,args,",") if (args[2] == "large") { args[2] = $3 } - if (isnum(args[2]) && args[2] >= -255 && args[2] < 0) { + if (isnum(args[2]) && args[2] >= -256 && args[2] < 0) { print " and " substr(args[1],2,1) "l," args[2]; next } } @@ -109,7 +109,7 @@ if (/^ and e[abcds][ix],/) { split($2,args,",") if (args[2] == "large") { args[2] = $3 } - if (isnum(args[2]) && args[2] >= -65535 && args[2] < 0) { + if (isnum(args[2]) && args[2] >= -65536 && args[2] < 0) { print " and " substr(args[1],2) "," args[2]; next } } diff -r 77cbb661144f -r c2946aeb8b57 py3k7-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/py3k7-dev/receipt Wed Oct 10 15:54:03 2018 +0200 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="py3k7-dev" +VERSION="3.7.0" +CATEGORY="development" +SHORT_DESC="The Python programming language devel files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="PSL" +WANTED="py3k7" +SOURCE="Python" +WEB_SITE="https://www.python.org/" +PROVIDE="py3k-dev" + +DEPENDS="py3k7" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $install/usr/include $fs/usr + cp -a $install/usr/bin/*-config $fs/usr/bin + chmod 755 $fs/usr/bin/*-config + rm $fs/usr/include/*/pyconfig.h +} diff -r 77cbb661144f -r c2946aeb8b57 py3k7/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/py3k7/receipt Wed Oct 10 15:54:03 2018 +0200 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="py3k7" +VERSION="3.7.0" +CATEGORY="development" +SHORT_DESC="The Python 3000 programming language." +MAINTAINER="nneul@neulinger.org" +LICENSE="GPL" +SOURCE="Python" +TARBALL="$SOURCE-$VERSION.tgz" +WEB_SITE="https://www.python.org/download/releases/" +WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL" +PROVIDE="py3k" + +DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm tk \ +xorg-libXext" +BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \ +ncursesw-dev liblzma-dev" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p $DESTDIR/usr/lib/pkgconfig + ./configure --enable-shared \ + --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + python_version=${VERSION:0:3} + mkdir -p $fs/usr/include/python${python_version}m + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + # needed for python3 to work + cp -a $install/usr/include/python${python_version}m/pyconfig.h \ + $fs/usr/include/python${python_version}m + rm -f $fs/usr/bin/*-config +}