Browse Source

l/pyyaml: Upgraded to pyyaml-5.3.1.

current-20200608
Damien Goutte-Gattat 10 months ago
parent
commit
c4498cb52a
  1. 1
      l/pyyaml/PyYAML-5.1.2.tar.gz.sha256
  2. 1
      l/pyyaml/PyYAML-5.3.1.tar.gz.sha256
  3. 10
      l/pyyaml/pyyaml.SlackBuild

1
l/pyyaml/PyYAML-5.1.2.tar.gz.sha256

@ -1 +0,0 @@
01adf0b6c6f61bd11af6e10ca52b7d4057dd0be0343eb9283c878cf3af56aee4 PyYAML-5.1.2.tar.gz

1
l/pyyaml/PyYAML-5.3.1.tar.gz.sha256

@ -0,0 +1 @@
b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d PyYAML-5.3.1.tar.gz

10
l/pyyaml/pyyaml.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2015,2017,2019 Damien Goutte-Gattat
# Copyright (C) 2012,2015,2017,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:-PyYAML}
VERSION=${VERSION:-5.1.2}
VERSION=${VERSION:-5.3.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-pyyaml}
@ -57,8 +56,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)
@ -68,8 +66,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG

Loading…
Cancel
Save