aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-02-10 17:22:50 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-11 12:15:08 -0600
commitdbbb29e01c6e01926e040c5c06011f7818a57e74 (patch)
tree6d99ee75854f9acae48e5c6dc1f49819c71fec2b
parent9405e2ef3e3e8b7566cbf0a5dd42ae54ca524561 (diff)
libraries/libearth: Updated for version 0.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libearth/libearth.SlackBuild8
-rw-r--r--libraries/libearth/libearth.info10
2 files changed, 11 insertions, 7 deletions
diff --git a/libraries/libearth/libearth.SlackBuild b/libraries/libearth/libearth.SlackBuild
index c5bedcaa8c66f..da8bf5c1e4ed1 100644
--- a/libraries/libearth/libearth.SlackBuild
+++ b/libraries/libearth/libearth.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libearth
-VERSION=${VERSION:-0.1.1}
+VERSION=${VERSION:-0.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,11 +71,15 @@ find -L . \
python setup.py install --root=$PKG
+if $(python3 -c 'import sys' 2>/dev/null); then
+ python3 setup.py install --root=$PKG
+fi
+
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/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/libearth/libearth.info b/libraries/libearth/libearth.info
index e179daae77231..210edde3a11d4 100644
--- a/libraries/libearth/libearth.info
+++ b/libraries/libearth/libearth.info
@@ -1,11 +1,11 @@
PRGNAM="libearth"
-VERSION="0.1.1"
-HOMEPAGE="http://libearth.earthreader.org/en/0.1.1/"
-DOWNLOAD="https://pypi.python.org/packages/source/l/libearth/libearth-0.1.1.tar.gz"
-MD5SUM="62f524d9f8fd3b251d7a45623e012b27"
+VERSION="0.1.2"
+HOMEPAGE="http://libearth.earthreader.org/"
+DOWNLOAD="https://pypi.python.org/packages/source/l/libearth/libearth-0.1.2.tar.gz"
+MD5SUM="52749b8905c60e544d3c8a33dc6fefe8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pysetuptools"
+REQUIRES="futures"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"