From 10962d4699eb92b6e4225caee6916c838f806a31 Mon Sep 17 00:00:00 2001 From: navewindre Date: Tue, 17 Jun 2025 05:23:29 +0200 Subject: updat --- slackware-bootstrap/deps/python3-build/README | 9 ++ .../deps/python3-build/build-1.2.2.post1.tar.gz | Bin 0 -> 46701 bytes .../deps/python3-build/python3-build.SlackBuild | 89 ++++++++++++++++++ .../deps/python3-build/python3-build.info | 10 +++ slackware-bootstrap/deps/python3-build/slack-desc | 19 ++++ slackware-bootstrap/deps/python3-flit_core/README | 9 ++ .../deps/python3-flit_core/flit_core-3.12.0.tar.gz | Bin 0 -> 53690 bytes .../python3-flit_core/python3-flit_core.SlackBuild | 82 +++++++++++++++++ .../deps/python3-flit_core/python3-flit_core.info | 10 +++ .../deps/python3-flit_core/slack-desc | 19 ++++ slackware-bootstrap/deps/python3-installer/README | 3 + .../deps/python3-installer/installer-0.7.0.tar.gz | Bin 0 -> 474349 bytes .../python3-installer/python3-installer.SlackBuild | 100 +++++++++++++++++++++ .../deps/python3-installer/python3-installer.info | 10 +++ .../deps/python3-installer/slack-desc | 19 ++++ .../deps/python3-poetry-core/README | 6 ++ .../python3-poetry-core/poetry_core-2.1.3.tar.gz | Bin 0 -> 365027 bytes .../python3-poetry-core.SlackBuild | 80 +++++++++++++++++ .../python3-poetry-core/python3-poetry-core.info | 10 +++ .../deps/python3-poetry-core/slack-desc | 19 ++++ .../deps/python3-pyproject-hooks/README | 9 ++ .../pyproject_hooks-1.2.0.tar.gz | Bin 0 -> 19228 bytes .../python3-pyproject-hooks.SlackBuild | 84 +++++++++++++++++ .../python3-pyproject-hooks.info | 10 +++ .../deps/python3-pyproject-hooks/slack-desc | 19 ++++ .../deps/python3-pythondialog/README | 3 + .../python3-pythondialog.SlackBuild | 96 ++++++++++++++++++++ .../python3-pythondialog/python3-pythondialog.info | 10 +++ .../python3-pythondialog/pythondialog-3.5.3.tar.gz | Bin 0 -> 1509854 bytes .../deps/python3-pythondialog/slack-desc | 19 ++++ slackware-bootstrap/deps/python3-tomlkit/README | 5 ++ .../python3-tomlkit/python3-tomlkit.SlackBuild | 81 +++++++++++++++++ .../deps/python3-tomlkit/python3-tomlkit.info | 10 +++ .../deps/python3-tomlkit/slack-desc | 19 ++++ .../deps/python3-tomlkit/tomlkit-0.13.2.tar.gz | Bin 0 -> 192885 bytes slackware-bootstrap/slackpkg | 42 ++++++--- slackware-bootstrap/slpkg | 15 ++++ 37 files changed, 906 insertions(+), 10 deletions(-) create mode 100644 slackware-bootstrap/deps/python3-build/README create mode 100644 slackware-bootstrap/deps/python3-build/build-1.2.2.post1.tar.gz create mode 100755 slackware-bootstrap/deps/python3-build/python3-build.SlackBuild create mode 100644 slackware-bootstrap/deps/python3-build/python3-build.info create mode 100644 slackware-bootstrap/deps/python3-build/slack-desc create mode 100644 slackware-bootstrap/deps/python3-flit_core/README create mode 100644 slackware-bootstrap/deps/python3-flit_core/flit_core-3.12.0.tar.gz create mode 100755 slackware-bootstrap/deps/python3-flit_core/python3-flit_core.SlackBuild create mode 100644 slackware-bootstrap/deps/python3-flit_core/python3-flit_core.info create mode 100644 slackware-bootstrap/deps/python3-flit_core/slack-desc create mode 100644 slackware-bootstrap/deps/python3-installer/README create mode 100644 slackware-bootstrap/deps/python3-installer/installer-0.7.0.tar.gz create mode 100755 slackware-bootstrap/deps/python3-installer/python3-installer.SlackBuild create mode 100644 slackware-bootstrap/deps/python3-installer/python3-installer.info create mode 100644 slackware-bootstrap/deps/python3-installer/slack-desc create mode 100644 slackware-bootstrap/deps/python3-poetry-core/README create mode 100644 slackware-bootstrap/deps/python3-poetry-core/poetry_core-2.1.3.tar.gz create mode 100755 slackware-bootstrap/deps/python3-poetry-core/python3-poetry-core.SlackBuild create mode 100644 slackware-bootstrap/deps/python3-poetry-core/python3-poetry-core.info create mode 100644 slackware-bootstrap/deps/python3-poetry-core/slack-desc create mode 100644 slackware-bootstrap/deps/python3-pyproject-hooks/README create mode 100644 slackware-bootstrap/deps/python3-pyproject-hooks/pyproject_hooks-1.2.0.tar.gz create mode 100755 slackware-bootstrap/deps/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild create mode 100644 slackware-bootstrap/deps/python3-pyproject-hooks/python3-pyproject-hooks.info create mode 100644 slackware-bootstrap/deps/python3-pyproject-hooks/slack-desc create mode 100644 slackware-bootstrap/deps/python3-pythondialog/README create mode 100755 slackware-bootstrap/deps/python3-pythondialog/python3-pythondialog.SlackBuild create mode 100644 slackware-bootstrap/deps/python3-pythondialog/python3-pythondialog.info create mode 100644 slackware-bootstrap/deps/python3-pythondialog/pythondialog-3.5.3.tar.gz create mode 100644 slackware-bootstrap/deps/python3-pythondialog/slack-desc create mode 100644 slackware-bootstrap/deps/python3-tomlkit/README create mode 100755 slackware-bootstrap/deps/python3-tomlkit/python3-tomlkit.SlackBuild create mode 100644 slackware-bootstrap/deps/python3-tomlkit/python3-tomlkit.info create mode 100644 slackware-bootstrap/deps/python3-tomlkit/slack-desc create mode 100644 slackware-bootstrap/deps/python3-tomlkit/tomlkit-0.13.2.tar.gz (limited to 'slackware-bootstrap') diff --git a/slackware-bootstrap/deps/python3-build/README b/slackware-bootstrap/deps/python3-build/README new file mode 100644 index 0000000..204337b --- /dev/null +++ b/slackware-bootstrap/deps/python3-build/README @@ -0,0 +1,9 @@ +A simple, correct PEP517 package builder. + +NOTE: + Has a soft requirement for python-importlib_metadata (and python-zipp) + which should be installed as it fixes a stdlib bug, but newer versions + have a circular dep on this slackbuild so cannot be built before it. + Therefore it will NOT be added to REQUIRES here. + + This change will not affect most python builds. diff --git a/slackware-bootstrap/deps/python3-build/build-1.2.2.post1.tar.gz b/slackware-bootstrap/deps/python3-build/build-1.2.2.post1.tar.gz new file mode 100644 index 0000000..22520bf Binary files /dev/null and b/slackware-bootstrap/deps/python3-build/build-1.2.2.post1.tar.gz differ diff --git a/slackware-bootstrap/deps/python3-build/python3-build.SlackBuild b/slackware-bootstrap/deps/python3-build/python3-build.SlackBuild new file mode 100755 index 0000000..2070a1a --- /dev/null +++ b/slackware-bootstrap/deps/python3-build/python3-build.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/bash + +# Slackware build script for python3-build + +# Copyright 2023-2024 fourtysixandtwo +# Copyright 2022 toolonely +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# 20230507 46and2: New maintainer, updated version and deps. +# -build process changed +# 20231212 46and2: Remove python-importlib_metadata as dep, see README. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-build +SRCNAM=${PRGNAM#python3-*} +VERSION=${VERSION:-1.2.2.post1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +python3 -m flit_core.wheel +python3 -m installer -d "$PKG" dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + PKG-INFO \ + README.md \ + LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/slackware-bootstrap/deps/python3-build/python3-build.info b/slackware-bootstrap/deps/python3-build/python3-build.info new file mode 100644 index 0000000..465bf58 --- /dev/null +++ b/slackware-bootstrap/deps/python3-build/python3-build.info @@ -0,0 +1,10 @@ +PRGNAM="python3-build" +VERSION="1.2.2.post1" +HOMEPAGE="https://github.com/pypa/build" +DOWNLOAD="https://files.pythonhosted.org/packages/source/b/build/build-1.2.2.post1.tar.gz" +MD5SUM="5492ba887b363f483d64a11bbec0c34a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-pyproject-hooks" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/slackware-bootstrap/deps/python3-build/slack-desc b/slackware-bootstrap/deps/python3-build/slack-desc new file mode 100644 index 0000000..e81b98e --- /dev/null +++ b/slackware-bootstrap/deps/python3-build/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-build: python3-build (a simple, correct PEP517 package builder) +python3-build: +python3-build: Homepage: https://github.com/pypa/build +python3-build: +python3-build: +python3-build: +python3-build: +python3-build: +python3-build: +python3-build: +python3-build: diff --git a/slackware-bootstrap/deps/python3-flit_core/README b/slackware-bootstrap/deps/python3-flit_core/README new file mode 100644 index 0000000..67f3ec7 --- /dev/null +++ b/slackware-bootstrap/deps/python3-flit_core/README @@ -0,0 +1,9 @@ +python3-flit_core (Simplified pkging of Python modules, core backend) + +Flit is a simple way to put Python packages and modules on PyPI. It +tries to require less thought about packaging and help you avoid +common mistakes. + +This provides a PEP 517 build backend for packages using Flit. +The only public interface is the API specified by PEP 517, at +``flit_core.buildapi``. diff --git a/slackware-bootstrap/deps/python3-flit_core/flit_core-3.12.0.tar.gz b/slackware-bootstrap/deps/python3-flit_core/flit_core-3.12.0.tar.gz new file mode 100644 index 0000000..939fa7d Binary files /dev/null and b/slackware-bootstrap/deps/python3-flit_core/flit_core-3.12.0.tar.gz differ diff --git a/slackware-bootstrap/deps/python3-flit_core/python3-flit_core.SlackBuild b/slackware-bootstrap/deps/python3-flit_core/python3-flit_core.SlackBuild new file mode 100755 index 0000000..49df4b6 --- /dev/null +++ b/slackware-bootstrap/deps/python3-flit_core/python3-flit_core.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/bash + +# Slackware build script for python3-flit_core + +# Copyright 2022-2025 fourtysixandtwo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# 20230412 46and2: Remove DEPS, use bootstrap install. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-flit_core +SRCNAM=${PRGNAM#python3-*} +VERSION=${VERSION:-3.12.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +python3 -m flit_core.wheel +python3 bootstrap_install.py --install-root "$PKG" dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/slackware-bootstrap/deps/python3-flit_core/python3-flit_core.info b/slackware-bootstrap/deps/python3-flit_core/python3-flit_core.info new file mode 100644 index 0000000..f23136f --- /dev/null +++ b/slackware-bootstrap/deps/python3-flit_core/python3-flit_core.info @@ -0,0 +1,10 @@ +PRGNAM="python3-flit_core" +VERSION="3.12.0" +HOMEPAGE="https://github.com/pypa/flit" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flit_core/flit_core-3.12.0.tar.gz" +MD5SUM="c538415c1f27bd69cbbbf3cdd5135d39" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/slackware-bootstrap/deps/python3-flit_core/slack-desc b/slackware-bootstrap/deps/python3-flit_core/slack-desc new file mode 100644 index 0000000..1ec6924 --- /dev/null +++ b/slackware-bootstrap/deps/python3-flit_core/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-flit_core: python3-flit_core (Simplified pkging of Python modules, core backend) +python3-flit_core: +python3-flit_core: Flit is a simple way to put Python packages and modules on PyPI. It +python3-flit_core: tries to require less thought about packaging and help you avoid +python3-flit_core: common mistakes. +python3-flit_core: +python3-flit_core: +python3-flit_core: +python3-flit_core: Homepage: https://github.com/pypa/flit +python3-flit_core: +python3-flit_core: diff --git a/slackware-bootstrap/deps/python3-installer/README b/slackware-bootstrap/deps/python3-installer/README new file mode 100644 index 0000000..46ae1e6 --- /dev/null +++ b/slackware-bootstrap/deps/python3-installer/README @@ -0,0 +1,3 @@ +This is a low-level library for installing a Python package from a +wheel distribution. It provides basic functionality and abstractions +for handling wheels and installing packages from wheels. diff --git a/slackware-bootstrap/deps/python3-installer/installer-0.7.0.tar.gz b/slackware-bootstrap/deps/python3-installer/installer-0.7.0.tar.gz new file mode 100644 index 0000000..2fc6629 Binary files /dev/null and b/slackware-bootstrap/deps/python3-installer/installer-0.7.0.tar.gz differ diff --git a/slackware-bootstrap/deps/python3-installer/python3-installer.SlackBuild b/slackware-bootstrap/deps/python3-installer/python3-installer.SlackBuild new file mode 100755 index 0000000..6d8c04f --- /dev/null +++ b/slackware-bootstrap/deps/python3-installer/python3-installer.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/bash + +# Slackware build script for python3-installer + +# Copyright 2023 fourtysixandtwo +# Copyright 2022 Heinz Wiesinger, Amsterdam, The Netherlands +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# 20230517 46and2: Updated version, new maintainer. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-installer +SRCNAM=${PRGNAM#python3-*} +VERSION=${VERSION:-0.7.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +python3 -m flit_core.wheel +PYTHONPATH=src python3 -m installer -d "$PKG" dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CONTRIBUTING.md LICENSE PKG-INFO README.md docs $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/slackware-bootstrap/deps/python3-installer/python3-installer.info b/slackware-bootstrap/deps/python3-installer/python3-installer.info new file mode 100644 index 0000000..5969ab6 --- /dev/null +++ b/slackware-bootstrap/deps/python3-installer/python3-installer.info @@ -0,0 +1,10 @@ +PRGNAM="python3-installer" +VERSION="0.7.0" +HOMEPAGE="https://github.com/pypa/installer" +DOWNLOAD="https://files.pythonhosted.org/packages/source/i/installer/installer-0.7.0.tar.gz" +MD5SUM="d961d1105c9270049528b1167ed021bc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-flit_core" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/slackware-bootstrap/deps/python3-installer/slack-desc b/slackware-bootstrap/deps/python3-installer/slack-desc new file mode 100644 index 0000000..23af788 --- /dev/null +++ b/slackware-bootstrap/deps/python3-installer/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +python3-installer: python3-installer (Library for installing Python packages from wheels) +python3-installer: +python3-installer: This is a low-level library for installing a Python package from a +python3-installer: wheel distribution. It provides basic functionality and abstractions +python3-installer: for handling wheels and installing packages from wheels. +python3-installer: +python3-installer: Homepage: https://github.com/pypa/installer +python3-installer: +python3-installer: +python3-installer: +python3-installer: diff --git a/slackware-bootstrap/deps/python3-poetry-core/README b/slackware-bootstrap/deps/python3-poetry-core/README new file mode 100644 index 0000000..d853109 --- /dev/null +++ b/slackware-bootstrap/deps/python3-poetry-core/README @@ -0,0 +1,6 @@ +python3-poetry-core (PEP 517 build backend impl. developed for Poetry) + +A PEP 517 build backend implementation developed for Poetry. This +project is intended to be a light weight, fully compliant, +self-contained package allowing PEP 517 compatible build frontends to +build Poetry managed projects. diff --git a/slackware-bootstrap/deps/python3-poetry-core/poetry_core-2.1.3.tar.gz b/slackware-bootstrap/deps/python3-poetry-core/poetry_core-2.1.3.tar.gz new file mode 100644 index 0000000..23784f1 Binary files /dev/null and b/slackware-bootstrap/deps/python3-poetry-core/poetry_core-2.1.3.tar.gz differ diff --git a/slackware-bootstrap/deps/python3-poetry-core/python3-poetry-core.SlackBuild b/slackware-bootstrap/deps/python3-poetry-core/python3-poetry-core.SlackBuild new file mode 100755 index 0000000..d43a1e4 --- /dev/null +++ b/slackware-bootstrap/deps/python3-poetry-core/python3-poetry-core.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# Slackware build script for python3-poetry-core + +# Copyright 2022-2025 fourtysixandtwo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-poetry-core +SRCNAM=poetry_core +VERSION=${VERSION:-2.1.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/slackware-bootstrap/deps/python3-poetry-core/python3-poetry-core.info b/slackware-bootstrap/deps/python3-poetry-core/python3-poetry-core.info new file mode 100644 index 0000000..beb1140 --- /dev/null +++ b/slackware-bootstrap/deps/python3-poetry-core/python3-poetry-core.info @@ -0,0 +1,10 @@ +PRGNAM="python3-poetry-core" +VERSION="2.1.3" +HOMEPAGE="https://github.com/python-poetry/poetry-core" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/poetry_core/poetry_core-2.1.3.tar.gz" +MD5SUM="5cee71d40e2a0dfb6d8afcba8536f110" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-build" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/slackware-bootstrap/deps/python3-poetry-core/slack-desc b/slackware-bootstrap/deps/python3-poetry-core/slack-desc new file mode 100644 index 0000000..51a4989 --- /dev/null +++ b/slackware-bootstrap/deps/python3-poetry-core/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-poetry-core: python3-poetry-core (PEP 517 build backend impl. developed for Poetry) +python3-poetry-core: +python3-poetry-core: A PEP 517 build backend implementation developed for Poetry. This +python3-poetry-core: project is intended to be a light weight, fully compliant, +python3-poetry-core: self-contained package allowing PEP 517 compatible build frontends to +python3-poetry-core: build Poetry managed projects. +python3-poetry-core: +python3-poetry-core: +python3-poetry-core: Homepage: https://github.com/python-poetry/poetry-core +python3-poetry-core: +python3-poetry-core: diff --git a/slackware-bootstrap/deps/python3-pyproject-hooks/README b/slackware-bootstrap/deps/python3-pyproject-hooks/README new file mode 100644 index 0000000..dfa06b5 --- /dev/null +++ b/slackware-bootstrap/deps/python3-pyproject-hooks/README @@ -0,0 +1,9 @@ +python3-pyproject-hooks (Wrappers to call PEP 517 build backend hooks) + +This is a low-level library for calling build-backends in +pyproject.toml-based project. It provides the basic functionality to +help write tooling that generates distribution files from +Python projects. + +The pep517 project has been replaced by this project (low level) and +the build project (high level). diff --git a/slackware-bootstrap/deps/python3-pyproject-hooks/pyproject_hooks-1.2.0.tar.gz b/slackware-bootstrap/deps/python3-pyproject-hooks/pyproject_hooks-1.2.0.tar.gz new file mode 100644 index 0000000..755bdfc Binary files /dev/null and b/slackware-bootstrap/deps/python3-pyproject-hooks/pyproject_hooks-1.2.0.tar.gz differ diff --git a/slackware-bootstrap/deps/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild b/slackware-bootstrap/deps/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild new file mode 100755 index 0000000..342c1ed --- /dev/null +++ b/slackware-bootstrap/deps/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild @@ -0,0 +1,84 @@ +#!/bin/bash + +# Slackware build script for python3-pyproject-hooks + +# Copyright 2023-2024 fourtysixandtwo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-pyproject-hooks +SRCNAM=pyproject_hooks +VERSION=${VERSION:-1.2.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +python3 -m flit_core.wheel +python3 -m installer -d "$PKG" dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + PKG-INFO \ + README.rst \ + LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/slackware-bootstrap/deps/python3-pyproject-hooks/python3-pyproject-hooks.info b/slackware-bootstrap/deps/python3-pyproject-hooks/python3-pyproject-hooks.info new file mode 100644 index 0000000..91bbe9f --- /dev/null +++ b/slackware-bootstrap/deps/python3-pyproject-hooks/python3-pyproject-hooks.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pyproject-hooks" +VERSION="1.2.0" +HOMEPAGE="https://github.com/pypa/pyproject-hooks" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyproject_hooks/pyproject_hooks-1.2.0.tar.gz" +MD5SUM="ed3dd1b984339e83e35f676d7169c192" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-installer" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" diff --git a/slackware-bootstrap/deps/python3-pyproject-hooks/slack-desc b/slackware-bootstrap/deps/python3-pyproject-hooks/slack-desc new file mode 100644 index 0000000..57fe2f9 --- /dev/null +++ b/slackware-bootstrap/deps/python3-pyproject-hooks/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pyproject-hooks: python3-pyproject-hooks (Wrappers to call PEP 517 build backend hooks) +python3-pyproject-hooks: +python3-pyproject-hooks: This is a low-level library for calling build-backends in +python3-pyproject-hooks: pyproject.toml-based project. It provides the basic functionality to +python3-pyproject-hooks: help write tooling that generates distribution files from +python3-pyproject-hooks: Python projects. +python3-pyproject-hooks: +python3-pyproject-hooks: The pep517 project has been replaced by this project (low level) and +python3-pyproject-hooks: the build project (high level). +python3-pyproject-hooks: +python3-pyproject-hooks: Homepage: https://github.com/pypa/pyproject-hooks diff --git a/slackware-bootstrap/deps/python3-pythondialog/README b/slackware-bootstrap/deps/python3-pythondialog/README new file mode 100644 index 0000000..d61a453 --- /dev/null +++ b/slackware-bootstrap/deps/python3-pythondialog/README @@ -0,0 +1,3 @@ +A Python interface to the UNIX dialog utility and mostly-compatible +programms. This allows one to make simple text-mode user interfaces +on Unix-like systems (including Linux). diff --git a/slackware-bootstrap/deps/python3-pythondialog/python3-pythondialog.SlackBuild b/slackware-bootstrap/deps/python3-pythondialog/python3-pythondialog.SlackBuild new file mode 100755 index 0000000..37235d6 --- /dev/null +++ b/slackware-bootstrap/deps/python3-pythondialog/python3-pythondialog.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/bash + +# Slackware build script for python3-pythondialog + +# Copyright 2016-2023 Dimitris Zlatanidis Orestiada, Greece +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-pythondialog +SRCNAM=$(printf $PRGNAM | cut -c9-20) +VERSION=${VERSION:-3.5.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 setup.py install --root=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst ChangeLog COPYING AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/slackware-bootstrap/deps/python3-pythondialog/python3-pythondialog.info b/slackware-bootstrap/deps/python3-pythondialog/python3-pythondialog.info new file mode 100644 index 0000000..00b1593 --- /dev/null +++ b/slackware-bootstrap/deps/python3-pythondialog/python3-pythondialog.info @@ -0,0 +1,10 @@ +PRGNAM="python3-pythondialog" +VERSION="3.5.3" +HOMEPAGE="http://pythondialog.sourceforge.net/" +DOWNLOAD="https://files.pythonhosted.org/packages/4e/40/5c84d79f7d536ca2c3722af521eff4faafe54a93797f08c72eb72e68fb68/pythondialog-3.5.3.tar.gz" +MD5SUM="94a9236e427de783fa3ee8288834f7f1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Dimitris Zlatanidis" +EMAIL="d.zlatanidis@gmail.com" diff --git a/slackware-bootstrap/deps/python3-pythondialog/pythondialog-3.5.3.tar.gz b/slackware-bootstrap/deps/python3-pythondialog/pythondialog-3.5.3.tar.gz new file mode 100644 index 0000000..d259356 Binary files /dev/null and b/slackware-bootstrap/deps/python3-pythondialog/pythondialog-3.5.3.tar.gz differ diff --git a/slackware-bootstrap/deps/python3-pythondialog/slack-desc b/slackware-bootstrap/deps/python3-pythondialog/slack-desc new file mode 100644 index 0000000..9708851 --- /dev/null +++ b/slackware-bootstrap/deps/python3-pythondialog/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-pythondialog: python3-pythondialog (dialog utility) +python3-pythondialog: +python3-pythondialog: A Python interface to the UNIX dialog utility and mostly-compatible +python3-pythondialog: programms. This allows one to make simple text-mode user interfaces +python3-pythondialog: on Unix-like systems (including Linux). +python3-pythondialog: +python3-pythondialog: Homepage: http://pythondialog.sourceforge.net/ +python3-pythondialog: +python3-pythondialog: +python3-pythondialog: +python3-pythondialog: diff --git a/slackware-bootstrap/deps/python3-tomlkit/README b/slackware-bootstrap/deps/python3-tomlkit/README new file mode 100644 index 0000000..145b57d --- /dev/null +++ b/slackware-bootstrap/deps/python3-tomlkit/README @@ -0,0 +1,5 @@ +TOML Kit is a style-preserving TOML library for Python. + +It includes a parser that preserves all comments, indentations, +whitespace and internal element ordering, and makes them accessible +and editable via an intuitive API. diff --git a/slackware-bootstrap/deps/python3-tomlkit/python3-tomlkit.SlackBuild b/slackware-bootstrap/deps/python3-tomlkit/python3-tomlkit.SlackBuild new file mode 100755 index 0000000..b4aae67 --- /dev/null +++ b/slackware-bootstrap/deps/python3-tomlkit/python3-tomlkit.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/bash + +# Slackware build script for python3-tomlkit + +# Copyright 2022-2024 Isaac Yu +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=python3-tomlkit +VERSION=${VERSION:-0.13.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM=tomlkit + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.md README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/slackware-bootstrap/deps/python3-tomlkit/python3-tomlkit.info b/slackware-bootstrap/deps/python3-tomlkit/python3-tomlkit.info new file mode 100644 index 0000000..7ce97f9 --- /dev/null +++ b/slackware-bootstrap/deps/python3-tomlkit/python3-tomlkit.info @@ -0,0 +1,10 @@ +PRGNAM="python3-tomlkit" +VERSION="0.13.2" +HOMEPAGE="https://github.com/sdispater/tomlkit" +DOWNLOAD="https://github.com/sdispater/tomlkit/releases/download/0.13.2/tomlkit-0.13.2.tar.gz" +MD5SUM="0db1a3750c64b141720f05430df9b433" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="python3-poetry-core" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/slackware-bootstrap/deps/python3-tomlkit/slack-desc b/slackware-bootstrap/deps/python3-tomlkit/slack-desc new file mode 100644 index 0000000..1929321 --- /dev/null +++ b/slackware-bootstrap/deps/python3-tomlkit/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python3-tomlkit: python3-tomlkit (Style-preserving TOML library) +python3-tomlkit: +python3-tomlkit: TOML Kit is a style-preserving TOML library for Python. +python3-tomlkit: +python3-tomlkit: +python3-tomlkit: +python3-tomlkit: +python3-tomlkit: +python3-tomlkit: +python3-tomlkit: +python3-tomlkit: diff --git a/slackware-bootstrap/deps/python3-tomlkit/tomlkit-0.13.2.tar.gz b/slackware-bootstrap/deps/python3-tomlkit/tomlkit-0.13.2.tar.gz new file mode 100644 index 0000000..686e320 Binary files /dev/null and b/slackware-bootstrap/deps/python3-tomlkit/tomlkit-0.13.2.tar.gz differ diff --git a/slackware-bootstrap/slackpkg b/slackware-bootstrap/slackpkg index 20f32e2..8777d1c 100755 --- a/slackware-bootstrap/slackpkg +++ b/slackware-bootstrap/slackpkg @@ -27,23 +27,45 @@ read -p "press enter to continue" echo "running full system update ..." slackpkg upgrade-all cp $basedir/slackpkg-blacklist /etc/slackpkg/blacklist -slackpkg update slackpkg install-new - echo "================= [ system branch ] ===============" -echo "if you would like, you can now exit the mirrors" -echo "and switch to -current. if not, simply press ctrl+x" +echo "if you would like, you can now edit the mirrors" +echo "and switch to -current." echo "===================================================" -read -p "press enter to continue" -nano /etc/slackpkg/mirrors -slackpkg update - -echo "would you like to perform a system update now?" -read -p "enter your choice [y/n]: " choice +echo "would you like to edit mirrors and perform a system update now?" +read -p "enter your choice [y/n] (n): " choice if [[ $choice == 'y' ]]; then + nano /etc/slackpkg/mirrors echo "running full system update ..." + echo "y" | slackpkg update slackpkg upgrade-all slackpkg install-new fi + +echo "================= [ kde purge ] ==================" +echo "due to how install-new works, kde is always" +echo "installed during the first system update." +echo "if you would like, you can now purge the install." +echo "==================================================" + +echo "would you like to purge all kde packages now?" +read -p "enter your choice [y/n] (n): " choice +if [[ $choice == 'y' ]]; then + echo "purging kde packages ..." + slackpkg remove kde +fi + +echo "================== [ TeX packages ] ===============" +echo "similarly to kde, tex packages are always installed" +echo "during the first system update. if you would like," +echo "you can now purge the install." +echo "==================================================" + +echo "would you like to purge all tex packages now?" +read -p "enter your choice [y/n] (y): " choice +if [[ $choice == 'y' ]]; then + echo "purging tex packages ..." + slackpkg remove texlive +fi diff --git a/slackware-bootstrap/slpkg b/slackware-bootstrap/slpkg index 8b05caf..c325bee 100755 --- a/slackware-bootstrap/slpkg +++ b/slackware-bootstrap/slpkg @@ -4,6 +4,21 @@ basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) oldpwd=$(pwd) cd $basedir +sh ./deps/python3-flit_core/python3-flit_core.SlackBuild +upgradepkg --install-new /tmp/python3-flit_core-* +sh ./deps/python3-installer/python3-installer.SlackBuild +upgradepkg --install-new /tmp/python3-installer-* +sh ./deps/python3-pyproject-hooks/python3-pyproject-hooks.SlackBuild +upgradepkg --install-new /tmp/python3-pyproject-hooks-* +sh ./deps/python3-build/python3-build.SlackBuild +upgradepkg --install-new /tmp/python3-build-* +sh ./deps/python3-poetry-core/python3-poetry-core.SlackBuild +upgradepkg --install-new /tmp/python3-poetry-core-* +sh ./deps/python3-tomlkit/python3-tomlkit.SlackBuild +upgradepkg --install-new /tmp/python3-tomlkit-* +sh ./deps/python3-pythondialog/python3-pythondialog.SlackBuild +upgradepkg --install-new /tmp/python3-pythondialog-* + wget https://gitlab.com/dslackw/slpkg/-/archive/5.2.5/slpkg-5.2.5.tar.gz tar -xvf slpkg-5.2.5.tar.gz cd slpkg-5.2.5 -- cgit v1.2.3