aboutsummaryrefslogtreecommitdiffstats
path: root/python3-pathvalidate
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
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')
-rw-r--r--python3-pathvalidate/README9
-rw-r--r--python3-pathvalidate/python3-pathvalidate.SlackBuild92
-rw-r--r--python3-pathvalidate/python3-pathvalidate.info10
-rw-r--r--python3-pathvalidate/slack-desc19
4 files changed, 0 insertions, 130 deletions
diff --git a/python3-pathvalidate/README b/python3-pathvalidate/README
deleted file mode 100644
index 034fc9c..0000000
--- a/python3-pathvalidate/README
+++ /dev/null
@@ -1,9 +0,0 @@
-pathvalidate is a Python library to sanitize and validate strings such
-as filenames and file paths. It removes invalid characters, replaces
-reserved names, and normalizes input for a target platform. It also
-provides argument validators and sanitizers for argparse and click.
-
-This package installs the prebuilt py3-none-any wheel from PyPI. It has
-no external dependencies.
-
-Homepage: https://github.com/thombashi/pathvalidate
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
diff --git a/python3-pathvalidate/python3-pathvalidate.info b/python3-pathvalidate/python3-pathvalidate.info
deleted file mode 100644
index a419976..0000000
--- a/python3-pathvalidate/python3-pathvalidate.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="python3-pathvalidate"
-VERSION="3.3.1"
-HOMEPAGE="https://github.com/thombashi/pathvalidate"
-DOWNLOAD="https://files.pythonhosted.org/packages/9a/70/875f4a23bfc4731703a5835487d0d2fb999031bd415e7d17c0ae615c18b7/pathvalidate-3.3.1-py3-none-any.whl"
-MD5SUM="d4e8390109d3c0bb382cd6120839f86c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="danix"
-EMAIL="danix@danix.xyz"
diff --git a/python3-pathvalidate/slack-desc b/python3-pathvalidate/slack-desc
deleted file mode 100644
index 7b064e1..0000000
--- a/python3-pathvalidate/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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-pathvalidate: python3-pathvalidate (sanitize and validate filenames)
-python3-pathvalidate:
-python3-pathvalidate: pathvalidate is a Python library to sanitize and validate
-python3-pathvalidate: strings such as filenames and file paths. It removes invalid
-python3-pathvalidate: characters, replaces reserved names, and normalizes input
-python3-pathvalidate: for a target platform. It also provides argument validators
-python3-pathvalidate: and sanitizers for argparse and click.
-python3-pathvalidate:
-python3-pathvalidate: Homepage: https://github.com/thombashi/pathvalidate
-python3-pathvalidate:
-python3-pathvalidate: