l/python-pickleshare: Upgraded to pickleshare-0.7.5.
parent
ad36c5be58
commit
7a39c31357
|
@ -1 +0,0 @@
|
|||
84a9257227dfdd6fe1b4be1319096c20eb85ff1e82c7932f36efccfe1b09737b pickleshare-0.7.4.tar.gz
|
|
@ -0,0 +1 @@
|
|||
87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca pickleshare-0.7.5.tar.gz
|
|
@ -25,13 +25,14 @@
|
|||
# Latest pickleshare sourcecode is available at:
|
||||
# <https://github.com/pickleshare/pickleshare>.
|
||||
#
|
||||
# Depends: l/python-pathlib2
|
||||
# Note: python-pathlib2 is a dependency under Python 2 only.
|
||||
#
|
||||
# Optional: l/python-pathlib2
|
||||
|
||||
# Source package infos
|
||||
NAMESRC=${NAMESRC:-pickleshare}
|
||||
VERSION=${VERSION:-0.7.4}
|
||||
VERSION=${VERSION:-0.7.5}
|
||||
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
|
||||
WGET=${WGET:-https://pypi.python.org/packages/69/fe/dd137d84daa0fd13a709e448138e310d9ea93070620c9db5454e234af525/$ARCHIVE}
|
||||
|
||||
# Build infos
|
||||
NAMEPKG=${NAMEPKG:-python-pickleshare}
|
||||
|
@ -60,8 +61,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)
|
||||
|
@ -71,21 +71,20 @@ cd $TMP
|
|||
echo "Building $ARCHIVE..."
|
||||
tar xf $CWD/$ARCHIVE
|
||||
cd $NAME
|
||||
python setup.py build
|
||||
python setup.py install --root=$PKG
|
||||
# We build for both Python 2 and Python 3. Running under Python 2
|
||||
# will require that l/python-pathlib2 is installed.
|
||||
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 LICENSE PKG-INFO $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
|
||||
python-pathlib2
|
||||
EOF
|
||||
|
||||
# Package the tree
|
||||
cd $PKG
|
||||
mkdir -p $OUT
|
||||
|
|
Loading…
Reference in New Issue