python/pyasn1-modules: Updated for version 0.0.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ebebaeb495
commit
b6fb55b6ca
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for pyasn1-modules
|
# Slackware build script for pyasn1-modules
|
||||||
|
|
||||||
# Copyright 2014-2015 Markus Reichelt, Stolberg (Rhld.), DE
|
# Copyright 2014-2016 Markus Reichelt, Aachen, DE
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,13 +25,13 @@
|
||||||
# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
|
# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
|
||||||
|
|
||||||
PRGNAM=pyasn1-modules
|
PRGNAM=pyasn1-modules
|
||||||
VERSION=${VERSION:-0.0.6}
|
VERSION=${VERSION:-0.0.8}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
@ -77,7 +77,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a README CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a README* CHANGES* LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="pyasn1-modules"
|
PRGNAM="pyasn1-modules"
|
||||||
VERSION="0.0.6"
|
VERSION="0.0.8"
|
||||||
HOMEPAGE="https://pypi.python.org/pypi/pyasn1-modules/"
|
HOMEPAGE="https://pypi.python.org/pypi/pyasn1-modules/"
|
||||||
DOWNLOAD="https://pypi.python.org/packages/source/p/pyasn1-modules/pyasn1-modules-0.0.6.tar.gz"
|
DOWNLOAD="https://pypi.python.org/packages/source/p/pyasn1-modules/pyasn1-modules-0.0.8.tar.gz"
|
||||||
MD5SUM="3b94e7a4999bc7477b76c46c30a56727"
|
MD5SUM="178129bc7fbf07215c25230c5f053f81"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="pyasn1"
|
REQUIRES="pyasn1"
|
||||||
|
|
Loading…
Reference in New Issue