summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-05-13 00:29:58 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:29:58 +0200
commit97b0d23b5b9cb6f7b7afeeec0006fda6f580d0a6 (patch)
tree9359cb9d5210a58b8590e440a21dc20b49acdb37 /libraries
parent422a999b019fe1df3cf7627c129076becfc2a254 (diff)
downloadslackbuilds-97b0d23b5b9cb6f7b7afeeec0006fda6f580d0a6.tar.gz
libraries/json-py: Updated for version 3.4
Diffstat (limited to 'libraries')
-rw-r--r--libraries/json-py/json-py.SlackBuild9
-rw-r--r--libraries/json-py/json-py.info2
2 files changed, 6 insertions, 5 deletions
diff --git a/libraries/json-py/json-py.SlackBuild b/libraries/json-py/json-py.SlackBuild
index 695a8ea9be..f15b962c49 100644
--- a/libraries/json-py/json-py.SlackBuild
+++ b/libraries/json-py/json-py.SlackBuild
@@ -23,9 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=json-py
-SRCNAM=json
VERSION=3.4
-SRCVERSION=3_4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,6 +33,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+SRCVERSION=3_4
+SRCNAM=json
DOCS="license.txt readme.txt"
set -e
@@ -59,8 +59,7 @@ chmod 644 *.txt
# Add setup.py
cat $CWD/setup.py > setup.py
-python setup.py bdist
-tar zxvf dist/$SRCNAM-$VERSION.linux-i686.tar.gz -C $PKG
+python setup.py install --root=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
@@ -77,4 +76,4 @@ 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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/json-py/json-py.info b/libraries/json-py/json-py.info
index 5340968ce9..8fb43df918 100644
--- a/libraries/json-py/json-py.info
+++ b/libraries/json-py/json-py.info
@@ -2,7 +2,9 @@ PRGNAM="json-py"
VERSION="3.4"
HOMEPAGE="http://sourceforge.net/projects/json-py/"
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/json-py/json-py-3_4.zip"
+DOWNLOAD_x86_64=""
MD5SUM="921ebfede886a10ff32d6d4b4e216f8f"
+MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
APPROVED="dsomero"