summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-03-31 22:44:32 +0000
committer Eric Hameleers <alien@slackware.com>2024-04-01 00:57:33 +0200
commit5a37cf60647b93c5ac1d255c326f5666cbca68a7 (patch)
tree3e3ef78f2763921ad40c9bbb2dc10ef41187831a /source
parentf81c11c6244b13676dbd160eade95b6e619c255e (diff)
downloadcurrent-5a37cf60647b93c5ac1d255c326f5666cbca68a7.tar.gz
current-5a37cf60647b93c5ac1d255c326f5666cbca68a7.tar.xz
Sun Mar 31 22:44:32 UTC 202420240331224432
d/python-pip-24.0-x86_64-3.txz: Rebuilt. Get rid of unneeded Windows garbage in the package. d/python2-2.7.18-x86_64-8.txz: Rebuilt. Get rid of unneeded Windows garbage in the package. l/PyQt-builder-1.15.4-x86_64-3.txz: Rebuilt. Get rid of unneeded Windows garbage in the package. l/python-installer-0.7.0-x86_64-3.txz: Rebuilt. Get rid of unneeded Windows garbage in the package.
Diffstat (limited to 'source')
-rwxr-xr-xsource/d/python-pip/python-pip.SlackBuild6
-rwxr-xr-xsource/d/python2/python2.SlackBuild6
-rwxr-xr-xsource/l/PyQt-builder/PyQt-builder.SlackBuild8
-rwxr-xr-xsource/l/python-installer/python-installer.SlackBuild7
4 files changed, 22 insertions, 5 deletions
diff --git a/source/d/python-pip/python-pip.SlackBuild b/source/d/python-pip/python-pip.SlackBuild
index d16a34aa7..deaefdbbe 100755
--- a/source/d/python-pip/python-pip.SlackBuild
+++ b/source/d/python-pip/python-pip.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-pip
VERSION=${VERSION:-$(echo pip-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
SRCNAM=pip
@@ -69,6 +69,10 @@ python3 setup.py build install --root=$PKG || exit 1
#unshare -n python3 -m build --wheel --no-isolation || exit 1
#python3 -m installer --destdir "$PKG" dist/*.whl || exit 1
+# Remove Windows garbage:
+find $PKG . -name "*.exe" -exec rm -f "{}" \;
+find $PKG . -name "*.dll" -exec rm -f "{}" \;
+
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a *.txt PKG-INFO README.rst \
$PKG/usr/doc/$PKGNAM-$VERSION
diff --git a/source/d/python2/python2.SlackBuild b/source/d/python2/python2.SlackBuild
index 5ffaedb88..4ec28177d 100755
--- a/source/d/python2/python2.SlackBuild
+++ b/source/d/python2/python2.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=python2
SRCNAM=Python
VERSION=$(echo $SRCNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
BRANCH_VERSION=$(echo $VERSION | cut -f 1,2 -d . )
-BUILD=${BUILD:-7}
+BUILD=${BUILD:-8}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -228,6 +228,10 @@ if [ -r CHANGES.rst ]; then
fi
cd ..
+# Remove Windows garbage:
+find $PKG . -name "*.exe" -exec rm -f "{}" \;
+find $PKG . -name "*.dll" -exec rm -f "{}" \;
+
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
diff --git a/source/l/PyQt-builder/PyQt-builder.SlackBuild b/source/l/PyQt-builder/PyQt-builder.SlackBuild
index ecc68cc05..81040ae7f 100755
--- a/source/l/PyQt-builder/PyQt-builder.SlackBuild
+++ b/source/l/PyQt-builder/PyQt-builder.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2023 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2023, 2024 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=PyQt-builder
SRCNAM=PyQt-builder
VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -84,6 +84,10 @@ python3 -m installer --destdir "$PKG" dist/*.whl || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+# Remove Windows garbage:
+find $PKG . -name "*.exe" -exec rm -f "{}" \;
+find $PKG . -name "*.dll" -exec rm -f "{}" \;
+
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
LICENSE* COPYING* ChangeLog NEWS README TODO doc/* \
diff --git a/source/l/python-installer/python-installer.SlackBuild b/source/l/python-installer/python-installer.SlackBuild
index 2567c86f0..d9e9bce66 100755
--- a/source/l/python-installer/python-installer.SlackBuild
+++ b/source/l/python-installer/python-installer.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright 2022-2023 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2024 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-installer
VERSION=${VERSION:-$(echo installer-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -83,6 +84,10 @@ PYTHONPATH=src python3 -m installer --destdir "$PKG" dist/*.whl || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+# Remove Windows garbage:
+find $PKG . -name "*.exe" -exec rm -f "{}" \;
+find $PKG . -name "*.dll" -exec rm -f "{}" \;
+
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
*.md *.rst LICENSE PKG-INFO \