aboutsummaryrefslogtreecommitdiff
path: root/python/python3-soupsieve/python3-soupsieve.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-soupsieve/python3-soupsieve.SlackBuild')
-rw-r--r--python/python3-soupsieve/python3-soupsieve.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/python/python3-soupsieve/python3-soupsieve.SlackBuild b/python/python3-soupsieve/python3-soupsieve.SlackBuild
index 8bf2d9e5a7..074011bbf5 100644
--- a/python/python3-soupsieve/python3-soupsieve.SlackBuild
+++ b/python/python3-soupsieve/python3-soupsieve.SlackBuild
@@ -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