Browse Source

d/python-wheel: Upgraded to python-wheel-0.34.2.

current-20200608
Damien Goutte-Gattat 7 months ago
parent
commit
277645b2a6
3 changed files with 4 additions and 15 deletions
  1. +3
    -14
      d/python-wheel/python-wheel.SlackBuild
  2. +0
    -1
      d/python-wheel/wheel-0.33.6.tar.gz.sha256
  3. +1
    -0
      d/python-wheel/wheel-0.34.2.tar.gz.sha256

+ 3
- 14
d/python-wheel/python-wheel.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2019 Damien Goutte-Gattat
# Copyright (C) 2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,9 +27,8 @@
# Source package infos
NAMESRC=${NAMESRC:-wheel}
VERSION=${VERSION:-0.33.6}
VERSION=${VERSION:-0.34.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/59/b0/11710a598e1e148fb7cbf9220fd2a0b82c98e94efbdecb299cb25e7f0b39/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-wheel}
@ -58,8 +57,7 @@ fi
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
@ -69,17 +67,8 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python2 setup.py build
python2 setup.py install --root=$PKG
mv $PKG/usr/bin/wheel $PKG/usr/bin/wheel-2.7
# And now for Python 3
python3 setup.py build
python3 setup.py install --root=$PKG
mv $PKG/usr/bin/wheel $PKG/usr/bin/wheel-3.7
# Add default symlink to the -2.7 executable
ln -s wheel-2.7 $PKG/usr/bin/wheel
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION


+ 0
- 1
d/python-wheel/wheel-0.33.6.tar.gz.sha256 View File

@ -1 +0,0 @@
10c9da68765315ed98850f8e048347c3eb06dd81822dc2ab1d4fde9dc9702646 wheel-0.33.6.tar.gz

+ 1
- 0
d/python-wheel/wheel-0.34.2.tar.gz.sha256 View File

@ -0,0 +1 @@
8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96 wheel-0.34.2.tar.gz

Loading…
Cancel
Save