Browse Source

l/pycparser: Upgraded to pycparser-2.20.

current-20200608
Damien Goutte-Gattat 7 months ago
parent
commit
c0d920770b
3 changed files with 4 additions and 8 deletions
  1. +0
    -1
      l/pycparser/pycparser-2.19.tar.gz.sha256
  2. +1
    -0
      l/pycparser/pycparser-2.20.tar.gz.sha256
  3. +3
    -7
      l/pycparser/pycparser.SlackBuild

+ 0
- 1
l/pycparser/pycparser-2.19.tar.gz.sha256 View File

@ -1 +0,0 @@
a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3 pycparser-2.19.tar.gz

+ 1
- 0
l/pycparser/pycparser-2.20.tar.gz.sha256 View File

@ -0,0 +1 @@
2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0 pycparser-2.20.tar.gz

+ 3
- 7
l/pycparser/pycparser.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017,2019 Damien Goutte-Gattat
# Copyright (C) 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:-pycparser}
VERSION=${VERSION:-2.19}
VERSION=${VERSION:-2.20}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-pycparser}
@ -58,8 +57,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)
@ -69,8 +67,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