aboutsummaryrefslogtreecommitdiffstats
path: root/python3-pathvalidate/python3-pathvalidate.SlackBuild
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-26 07:26:42 +0200
committerDanilo M. <danix@danix.xyz>2026-09-26 07:26:42 +0200
commitc1aa803e1a7745a85342250913165f3ee8bee112 (patch)
tree50aee329da4ffe8d2b3f9ac5103a3974bc42e202 /python3-pathvalidate/python3-pathvalidate.SlackBuild
parente1cdbb6489f6c4905c60743dc410cb9f88815b93 (diff)
downloadmy-slackbuilds-c1aa803e1a7745a85342250913165f3ee8bee112.tar.gz
my-slackbuilds-c1aa803e1a7745a85342250913165f3ee8bee112.zip
python3-pathvalidate: drop, piper-tts was its only consumer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'python3-pathvalidate/python3-pathvalidate.SlackBuild')
-rw-r--r--python3-pathvalidate/python3-pathvalidate.SlackBuild92
1 files changed, 0 insertions, 92 deletions
diff --git a/python3-pathvalidate/python3-pathvalidate.SlackBuild b/python3-pathvalidate/python3-pathvalidate.SlackBuild
deleted file mode 100644
index 6e7102a..0000000
--- a/python3-pathvalidate/python3-pathvalidate.SlackBuild
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for python3-pathvalidate
-
-# Copyright 2026 danix <danix@danix.xyz>
-# 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-pathvalidate
-VERSION=${VERSION:-3.3.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-SRCNAM=pathvalidate
-
-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
-
-python3 -m installer --destdir "$PKG" "$CWD/$SRCNAM-$VERSION-py3-none-any.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
-# Copy license from the wheel's dist-info (setuptools puts license_files there)
-for lic in \
- $PKG/usr/lib$LIBDIRSUFFIX/python3*/site-packages/$SRCNAM-$VERSION.dist-info/licenses/* \
- $PKG/usr/lib$LIBDIRSUFFIX/python3*/site-packages/$SRCNAM-$VERSION.dist-info/LICENSE* ; do
- [ -e "$lic" ] && cp -a "$lic" $PKG/usr/doc/$PRGNAM-$VERSION
-done
-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