Browse Source

l/python-enum34: Updated.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
d99376de7b
  1. 1
      l/python-enum34/enum34-1.1.6.tar.gz.sha1
  2. 1
      l/python-enum34/enum34-1.1.6.tar.gz.sha256
  3. 8
      l/python-enum34/python-enum34.SlackBuild

1
l/python-enum34/enum34-1.1.6.tar.gz.sha1

@ -1 +0,0 @@
014ef5878333ff91099893d615192c8cd0b1525a enum34-1.1.6.tar.gz

1
l/python-enum34/enum34-1.1.6.tar.gz.sha256

@ -0,0 +1 @@
8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1 enum34-1.1.6.tar.gz

8
l/python-enum34/python-enum34.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2016 Damien Goutte-Gattat
# Copyright (C) 2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -61,7 +61,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -69,8 +69,8 @@ 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
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION

Loading…
Cancel
Save