python/python3-soupsieve: Updated for version 2.6.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Giancarlo Dessi 2024-08-27 11:52:51 +07:00 committed by Willy Sudiarto Raharjo
parent ec501aca7e
commit 5233f24f4e
2 changed files with 5 additions and 11 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for python3-soupsieve
# Copyright 2023 Giancarlo Dessi, Cagliari, IT, <slack@giand.it>
# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT, <slack@giand.it>
# Copyright 2020-2022 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
@ -23,13 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220415 bkw: Modified by SlackBuilds.org, BUILD=2:
# - clean up the doc dir.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-soupsieve
VERSION=${VERSION:-2.5}
VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -74,9 +71,6 @@ 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
# 20220415 bkw: since we can't build the HTML docs from the markdown
# source (we lack the tools), just put the markdown files in the doc dir.
# they're pretty readable as-is.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.md docs/src/markdown/{*.md,selectors,about} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,8 +1,8 @@
PRGNAM="python3-soupsieve"
VERSION="2.5"
VERSION="2.6"
HOMEPAGE="https://github.com/facelessuser/soupsieve"
DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.5/soupsieve-2.5.tar.gz"
MD5SUM="b2d9add32560a781ade688c4513458c6"
DOWNLOAD="https://github.com/facelessuser/soupsieve/archive/2.6/soupsieve-2.6.tar.gz"
MD5SUM="a3dcdd1a5472c9404110fc07dfc64415"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-hatchling"