summaryrefslogtreecommitdiffstats
path: root/source/d/python-pip
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/python-pip')
-rwxr-xr-xsource/d/python-pip/python-pip.SlackBuild6
1 files changed, 5 insertions, 1 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