mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
office/pyspread: Updated for version 2.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
76381b589d
commit
5a5c207ecf
3 changed files with 11 additions and 16 deletions
|
@ -18,10 +18,4 @@ Pyspread is free software. It is released under the GPL v3.
|
|||
for example matrix operations via numpy or fixed point decimal
|
||||
numbers for business calculations via decimal.
|
||||
|
||||
Optional Dependencies:
|
||||
|
||||
- python-xlrd (optional for opening Excel files)
|
||||
- python-xlwt (for saving Excel files)
|
||||
- python-gnupg (for opening own files without approval)
|
||||
- jedi (for tab completion and context help in the entry line)
|
||||
- basemap (for the weather example pys file)
|
||||
Optional Dependencies: matplotlib, pyenchant, python-dateutil
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for pyspread
|
||||
|
||||
# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
|
||||
# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=pyspread
|
||||
VERSION=${VERSION:-1.1.3}
|
||||
VERSION=${VERSION:-2.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -79,7 +79,7 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
@ -88,10 +88,11 @@ mkdir -p $PKG/usr/share/applications
|
|||
install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
|
||||
mkdir -p $PKG/usr/share/pixmaps/
|
||||
install -D -m644 pyspread/share/icons/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
|
||||
install -D -m644 pyspread/share/icons/hicolor/64x64/$PRGNAM.png \
|
||||
$PKG/usr/share/pixmaps/$PRGNAM.png
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a PKG-INFO README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE AUTHORS PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="pyspread"
|
||||
VERSION="1.1.3"
|
||||
VERSION="2.1"
|
||||
HOMEPAGE="https://manns.github.io/pyspread/"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/4b/34/3ce362d78584274da5c418c9712d3cc53b9e19e7d8f22a141baa2a9da6b9/pyspread-1.1.3.tar.gz"
|
||||
MD5SUM="854d1330ba8368ffea43107ae5a1329c"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/5b/10/abeccb32f020c0a61f48f7d754332574987b406ada914d1371d23bb77499/pyspread-2.1.tar.gz"
|
||||
MD5SUM="17742f936670db7fa8dab42c2735e7cc"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="wxPython matplotlib numpy"
|
||||
REQUIRES="numpy3 python3-markdown2"
|
||||
MAINTAINER="Dimitris Zlatanidis"
|
||||
EMAIL="d.zlatanidis@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue