aboutsummaryrefslogtreecommitdiff
path: root/development/OpenCobolIDE
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-08-19 15:01:53 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:51:15 +0700
commit5546d36a934ec89816d0ca3fc45da00f77c26a40 (patch)
tree10266900daf93a89627b66ebd3d34228e95a8653 /development/OpenCobolIDE
parentb26ca3ce3769a3d69dca3947683753116d69b169 (diff)
development/OpenCobolIDE: Updated for version 4.7.4.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'development/OpenCobolIDE')
-rw-r--r--development/OpenCobolIDE/OpenCobolIDE.SlackBuild27
-rw-r--r--development/OpenCobolIDE/OpenCobolIDE.info8
2 files changed, 13 insertions, 22 deletions
diff --git a/development/OpenCobolIDE/OpenCobolIDE.SlackBuild b/development/OpenCobolIDE/OpenCobolIDE.SlackBuild
index 06a1698563a6..3621472b897f 100644
--- a/development/OpenCobolIDE/OpenCobolIDE.SlackBuild
+++ b/development/OpenCobolIDE/OpenCobolIDE.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for OpenCobolIDE
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=OpenCobolIDE
-VERSION=${VERSION:-2.3.1}
+VERSION=${VERSION:-4.7.4}
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"
@@ -69,23 +69,14 @@ 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
+# Remove assertion about pyqode being in ocide package
+sed -i "s/assert/# assert/" open_cobol_ide/main.py
+
+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
-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 share/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
-
-mkdir -p $PKG/usr/man/man1/
-install -D -m644 share/open-cobol-ide.1 $PKG/usr/man/man1/open-cobol-ide.1
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/OpenCobolIDE/OpenCobolIDE.info b/development/OpenCobolIDE/OpenCobolIDE.info
index d2341cd0be70..de6cb4f2869b 100644
--- a/development/OpenCobolIDE/OpenCobolIDE.info
+++ b/development/OpenCobolIDE/OpenCobolIDE.info
@@ -1,10 +1,10 @@
PRGNAM="OpenCobolIDE"
-VERSION="2.3.1"
+VERSION="4.7.4"
HOMEPAGE="https://github.com/OpenCobolIDE/OpenCobolIDE"
-DOWNLOAD="https://pypi.python.org/packages/source/O/OpenCobolIDE/OpenCobolIDE-2.3.1.tar.gz"
-MD5SUM="537d08b7a23ee6de9d740365738a953f"
+DOWNLOAD="https://pypi.python.org/packages/88/a4/5345d465897159eea2ded7722d47c116765399ad666be5fcc1f073839764/OpenCobolIDE-4.7.4.tar.gz"
+MD5SUM="d608a4abed36559f7cad193f6a5f41b7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pyqode.widgets python-chardet QDarkStyle"
+REQUIRES="pyqode.cobol QDarkStyle python-keyring"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"