Browse Source

libraries/PyQwt: Removed (needs PyQt4).

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/168/head
Matteo Bernardini 4 years ago
committed by Willy Sudiarto Raharjo
parent
commit
c87dcd8035
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 65
      libraries/PyQwt/PyQwt.SlackBuild
  2. 10
      libraries/PyQwt/PyQwt.info
  3. 3
      libraries/PyQwt/README
  4. 19
      libraries/PyQwt/slack-desc

65
libraries/PyQwt/PyQwt.SlackBuild

@ -1,65 +0,0 @@
#!/bin/bash
# Slackware build script for PyQwt
# Written by Bartosz Bialy <ethifus@gmail.com>
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=PyQwt
VERSION=${VERSION:-5.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
cd configure
python ./configure.py -Q ../qwt-5.2
make
make install DESTDIR=$PKG
# this will only create appropriate *.egg file
python ../setup.py install --root $PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ../sphinx/build/html/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

10
libraries/PyQwt/PyQwt.info

@ -1,10 +0,0 @@
PRGNAM="PyQwt"
VERSION="5.2.0"
HOMEPAGE="http://pyqwt.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/pyqwt/PyQwt-5.2.0.tar.gz"
MD5SUM="fcd6c6029090d473dcc9df497516eae7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Bartosz Bialy"
EMAIL="ethifus@gmail.com"

3
libraries/PyQwt/README

@ -1,3 +0,0 @@
PyQwt is a Python wrapper for the Qwt C++ class library which extends the Qt
framework with widgets to display and control data for scientific and
engineering applications.

19
libraries/PyQwt/slack-desc

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
PyQwt: PyQwt (Python wrapper for Qwt library)
PyQwt:
PyQwt: PyQwt is a Python wrapper for the Qwt C++ class library which
PyQwt: extends the Qt frameworkwith widgets to display and control
PyQwt: data for scientific and engineering applications.
PyQwt:
PyQwt: Homepage: http://pyqwt.sourceforge.net/
PyQwt:
PyQwt:
PyQwt:
PyQwt:
Loading…
Cancel
Save