Browse Source

l/seaborn: Upgraded to seaborn-0.9.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
5359dfe50b
  1. 1
      l/seaborn/seaborn-0.8.1.tar.gz.sha256
  2. 1
      l/seaborn/seaborn-0.9.0.tar.gz.sha256
  3. 20
      l/seaborn/seaborn.SlackBuild

1
l/seaborn/seaborn-0.8.1.tar.gz.sha256

@ -1 +0,0 @@
6702978b903d0284446e935916b980dfebae4063c18ad8eb6e8f9e76d0257eae seaborn-0.8.1.tar.gz

1
l/seaborn/seaborn-0.9.0.tar.gz.sha256

@ -0,0 +1 @@
76c83f794ca320fb6b23a7c6192d5e185a5fcf4758966a0c0a54baee46d41e2f seaborn-0.9.0.tar.gz

20
l/seaborn/seaborn.SlackBuild

@ -25,14 +25,13 @@
# Latest seaborn sourcecode is available at:
# <http://seaborn.pydata.org/>.
#
# Depends: l/scipy, l/pandas, l/matplotlib
# Depends: l/matplotlib, l/pandas, l/scipy
# Recommends: l/python-statsmodels
# Source package infos
NAMESRC=${NAMESRC:-seaborn}
VERSION=${VERSION:-0.8.1}
VERSION=${VERSION:-0.9.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/10/01/dd1c7838cde3b69b247aaeb61016e238cafd8188a276e366d36aa6bcdab4/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-seaborn}
@ -61,8 +60,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)
@ -72,22 +70,24 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 CONTRIBUTING.md LICENSE README.md $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENSE README.md $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
scipy
pandas
matplotlib
pandas
python-statsmodels
scipy
EOF
# Package the tree

Loading…
Cancel
Save