libraries/json-py: Updated for version 3.4
This commit is contained in:
parent
422a999b01
commit
97b0d23b5b
|
@ -23,9 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=json-py
|
PRGNAM=json-py
|
||||||
SRCNAM=json
|
|
||||||
VERSION=3.4
|
VERSION=3.4
|
||||||
SRCVERSION=3_4
|
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -35,6 +33,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
SRCVERSION=3_4
|
||||||
|
SRCNAM=json
|
||||||
DOCS="license.txt readme.txt"
|
DOCS="license.txt readme.txt"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -59,8 +59,7 @@ chmod 644 *.txt
|
||||||
# Add setup.py
|
# Add setup.py
|
||||||
cat $CWD/setup.py > setup.py
|
cat $CWD/setup.py > setup.py
|
||||||
|
|
||||||
python setup.py bdist
|
python setup.py install --root=$PKG
|
||||||
tar zxvf dist/$SRCNAM-$VERSION.linux-i686.tar.gz -C $PKG
|
|
||||||
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
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
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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"
|
VERSION="3.4"
|
||||||
HOMEPAGE="http://sourceforge.net/projects/json-py/"
|
HOMEPAGE="http://sourceforge.net/projects/json-py/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/json-py/json-py-3_4.zip"
|
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/json-py/json-py-3_4.zip"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM="921ebfede886a10ff32d6d4b4e216f8f"
|
MD5SUM="921ebfede886a10ff32d6d4b4e216f8f"
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Marco Bonetti"
|
MAINTAINER="Marco Bonetti"
|
||||||
EMAIL="sid77@slackware.it"
|
EMAIL="sid77@slackware.it"
|
||||||
APPROVED="dsomero"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in New Issue