academic/matplotlib: Updated for version 0.98.5.2
This commit is contained in:
parent
8bbbece820
commit
73af4652af
|
@ -5,7 +5,7 @@
|
||||||
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
|
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
|
||||||
|
|
||||||
PRGNAM=matplotlib
|
PRGNAM=matplotlib
|
||||||
VERSION=${VERSION:-0.98.0}
|
VERSION=${VERSION:-0.98.5.2}
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -15,14 +15,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=${PKG:-$TMP/package-$PRGNAM}
|
PKG=${PKG:-$TMP/package-$PRGNAM}
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
|
||||||
fi
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -38,19 +30,19 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
|
||||||
python setup.py build
|
|
||||||
python setup.py install --root $PKG
|
python setup.py install --root $PKG
|
||||||
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||||
|
xargs strip --strip-unneeded 2> /dev/null
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
install -m 0644 API_CHANGES CHANGELOG INSTALL INTERACTIVE KNOWN_BUGS \
|
install -m 0644 \
|
||||||
README.txt TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
CHANGELOG INSTALL INTERACTIVE KNOWN_BUGS README.txt TODO \
|
||||||
|
$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="matplotlib"
|
PRGNAM="matplotlib"
|
||||||
VERSION="0.98.0"
|
VERSION="0.98.5.2"
|
||||||
HOMEPAGE="http://matplotlib.sourceforge.net/"
|
HOMEPAGE="http://matplotlib.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.0.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.5.2.tar.gz"
|
||||||
MD5SUM="4b50915bb3ef983fb695f2270c069862"
|
MD5SUM="3e8210ec8bb71a18962ec8b43688509c"
|
||||||
MAINTAINER="Aleksandar Samardzic"
|
MAINTAINER="Aleksandar Samardzic"
|
||||||
EMAIL="asamardzic@gmail.com"
|
EMAIL="asamardzic@gmail.com"
|
||||||
APPROVED="rworkman"
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
# customary to leave one space after the ':'.
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|-----handy-ruler--------------------------------------------------|
|
|-----handy-ruler--------------------------------------------------|
|
||||||
matplotlib: matplotlib (a Python 2D plotting library)
|
matplotlib: matplotlib (a Python 2D plotting library)
|
||||||
matplotlib:
|
matplotlib:
|
||||||
matplotlib: Matplotlib is a plotting library for Python which uses
|
matplotlib: Matplotlib is a plotting library for Python which uses
|
||||||
matplotlib: syntax similar to MATLAB. Matplotlib produces publication
|
matplotlib: syntax similar to MATLAB. Matplotlib produces publication
|
||||||
matplotlib: quality figures in a variety of hardcopy formats and
|
matplotlib: quality figures in a variety of hardcopy formats and
|
||||||
matplotlib: interactive environments across platforms.
|
matplotlib: interactive environments across platforms.
|
||||||
matplotlib:
|
matplotlib:
|
||||||
matplotlib: Matplotlib home page is: http://matplotlib.sourceforge.net/
|
matplotlib: Homepage: http://matplotlib.sourceforge.net/
|
||||||
matplotlib:
|
matplotlib:
|
||||||
matplotlib:
|
matplotlib:
|
||||||
matplotlib:
|
matplotlib:
|
||||||
|
|
Loading…
Reference in New Issue