Browse Source

l/pandas: Upgraded to pandas-1.0.5.

current-20200608
Damien Goutte-Gattat 7 months ago
parent
commit
8658cad834
3 changed files with 10 additions and 7 deletions
  1. +0
    -1
      l/pandas/pandas-0.25.3.tar.gz.sha256
  2. +1
    -0
      l/pandas/pandas-1.0.5.tar.gz.sha256
  3. +9
    -6
      l/pandas/pandas.SlackBuild

+ 0
- 1
l/pandas/pandas-0.25.3.tar.gz.sha256 View File

@ -1 +0,0 @@
52da74df8a9c9a103af0a72c9d5fdc8e0183a90884278db7f386b5692a2220a4 pandas-0.25.3.tar.gz

+ 1
- 0
l/pandas/pandas-1.0.5.tar.gz.sha256 View File

@ -0,0 +1 @@
69c5d920a0b2a9838e677f78f4dde506b95ea8e4d30da25859db6469ded84fa8 pandas-1.0.5.tar.gz

+ 9
- 6
l/pandas/pandas.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2015,2018 Damien Goutte-Gattat
# Copyright (C) 2015,2018,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,9 +28,8 @@
# Source package infos
NAMESRC=${NAMESRC:-pandas}
VERSION=${VERSION:-0.25.3}
VERSION=${VERSION:-1.0.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/b7/93/b544dd08092b457d88e10fc1e0989d9397fd32ca936fdfcbb2584178dd2b/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-pandas}
@ -72,8 +71,7 @@ esac
# 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)
@ -85,7 +83,7 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS="$CPUOPT" \
CXXFLAGS="$CPUOPT" \
python3 setup.py build
python3 setup.py build -j $JOBS
python3 setup.py install --root=$PKG
# Strip binaries
@ -96,6 +94,11 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
mkdir -p $PKG/usr/doc/$NAME
install -m 644 LICENSE README.md RELEASE.md $PKG/usr/doc/$NAME
# Build HTML docs if possible
if sphinx-build -b html doc/source $PKG/usr/doc/$NAME/html ; then
rm -rf $PKG/usr/doc/$NAME/html/.{buildinfo,doctrees}
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc


Loading…
Cancel
Save