mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/json-py: Updated for version 3.4
This commit is contained in:
parent
422a999b01
commit
97b0d23b5b
2 changed files with 6 additions and 5 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue