Browse Source
python/python3-soupsieve: Updated for version 2.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/202/head
Giancarlo Dessì
3 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with
14 additions and
23 deletions
-
python/python3-soupsieve/README
-
python/python3-soupsieve/python3-soupsieve.SlackBuild
-
python/python3-soupsieve/python3-soupsieve.info
|
|
|
@ -4,3 +4,6 @@ filtering using modern CSS selectors. |
|
|
|
|
|
|
|
Soup Sieve >= 2.0.0 has dropped Python 2 support. The |
|
|
|
python-soupsieve SlackBuild is available at version 1.9.6. |
|
|
|
|
|
|
|
python3-build, python3-hatchling, python3-installer are |
|
|
|
dependencies required for the build only. |
|
|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
# Slackware build script for python3-soupsieve |
|
|
|
|
|
|
|
# Copyright 2023 Giancarlo Dessì, Cagliari, IT, <slack@giand.it> |
|
|
|
# Copyright 2020-2022 Isaac Yu <isaacyu@protonmail.com> |
|
|
|
# All rights reserved. |
|
|
|
# |
|
|
|
@ -28,8 +29,8 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=python3-soupsieve |
|
|
|
VERSION=${VERSION:-2.3.1} |
|
|
|
BUILD=${BUILD:-2} |
|
|
|
VERSION=${VERSION:-2.4.1} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
|
|
|
|
@ -52,20 +53,6 @@ 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 |
|
|
|
@ -81,7 +68,8 @@ find -L . \ |
|
|
|
\( -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 |
|
|
|
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 |
|
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
|
PRGNAM="python3-soupsieve" |
|
|
|
VERSION="2.3.1" |
|
|
|
VERSION="2.4.1" |
|
|
|
HOMEPAGE="https://github.com/facelessuser/soupsieve" |
|
|
|
DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.3.1/soupsieve-2.3.1.tar.gz" |
|
|
|
MD5SUM="fa73aed77dc311dbe10f261a65d86c8d" |
|
|
|
DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.4.1/soupsieve-2.4.1.tar.gz" |
|
|
|
MD5SUM="df654fb65ae8a79f5badca7c201ce414" |
|
|
|
DOWNLOAD_x86_64="" |
|
|
|
MD5SUM_x86_64="" |
|
|
|
REQUIRES="" |
|
|
|
MAINTAINER="Isaac Yu" |
|
|
|
EMAIL="isaacyu@protonmail.com" |
|
|
|
REQUIRES="python3-build python3-hatchling python3-installer" |
|
|
|
MAINTAINER="Giancarlo Dessì" |
|
|
|
EMAIL="slack@giand.it" |