summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-10-29 11:36:03 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-05 07:15:45 +0700
commita353e1f6d7f0616ae26f926f3b9c9b1a64b508ef (patch)
treee811e568b02a2124d6a9720633e1e1ce6d0402eb
parent4fab7b317e886bf3df08cbb13f7bd2139c0feb0a (diff)
downloadslackbuilds-a353e1f6d7f0616ae26f926f3b9c9b1a64b508ef.tar.gz
libraries/pycparser: Updated for version 2.17.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--libraries/pycparser/pycparser.SlackBuild10
-rw-r--r--libraries/pycparser/pycparser.info6
-rw-r--r--libraries/pycparser/slack-desc2
3 files changed, 9 insertions, 9 deletions
diff --git a/libraries/pycparser/pycparser.SlackBuild b/libraries/pycparser/pycparser.SlackBuild
index 905860a9b9..46ca1a3b7f 100644
--- a/libraries/pycparser/pycparser.SlackBuild
+++ b/libraries/pycparser/pycparser.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pycparser
-VERSION=${VERSION:-2.14}
+VERSION=${VERSION:-2.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -67,7 +67,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
diff --git a/libraries/pycparser/pycparser.info b/libraries/pycparser/pycparser.info
index a73202273f..444186e6dd 100644
--- a/libraries/pycparser/pycparser.info
+++ b/libraries/pycparser/pycparser.info
@@ -1,8 +1,8 @@
PRGNAM="pycparser"
-VERSION="2.14"
+VERSION="2.17"
HOMEPAGE="https://github.com/eliben/pycparser"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pycparser/pycparser-2.14.tar.gz"
-MD5SUM="a2bc8d28c923b4fe2b2c3b4b51a4f935"
+DOWNLOAD="https://pypi.python.org/packages/be/64/1bb257ffb17d01f4a38d7ce686809a736837ad4371bcc5c42ba7a715c3ac/pycparser-2.17.tar.gz"
+MD5SUM="ca98dcb50bc1276f230118f6af5a40c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/pycparser/slack-desc b/libraries/pycparser/slack-desc
index 78998c9a3a..21dc0d072b 100644
--- a/libraries/pycparser/slack-desc
+++ b/libraries/pycparser/slack-desc
@@ -12,8 +12,8 @@ pycparser: pycparser is a complete parser of the C language, written in pure
pycparser: Python using the PLY parsing library. It parses C code into an AST
pycparser: and can serve as a front-end for C compilers or analysis tools.
pycparser:
+pycparser: Homepage: https://github.com/eliben/pycparser
pycparser:
pycparser:
pycparser:
-pycparser: Homepage: https://github.com/eliben/pycparser
pycparser: