mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
python/simplejson: Updated for version 3.8.2
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
This commit is contained in:
parent
24fa8ba405
commit
8de88398bd
2 changed files with 7 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for simplejson
|
# Slackware build script for simplejson
|
||||||
|
|
||||||
# Copyright 2009-2015 Larry Hajali <larryhaja[at]gmail[dot]com>
|
# Copyright 2009-2016 Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=simplejson
|
PRGNAM=simplejson
|
||||||
VERSION=${VERSION:-3.8.1}
|
VERSION=${VERSION:-3.8.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -58,8 +58,7 @@ find -L . \
|
||||||
# Make documents if Sphinx and Pygments are installed.
|
# Make documents if Sphinx and Pygments are installed.
|
||||||
if $(python -c 'import sphinx.pygments_styles' 2>/dev/null); then
|
if $(python -c 'import sphinx.pygments_styles' 2>/dev/null); then
|
||||||
python scripts/make_docs.py
|
python scripts/make_docs.py
|
||||||
rm -f docs/.buildinfo
|
rm -f docs/.buildinfo docs/.nojekyll docs/objects.inv
|
||||||
rm -f docs/.nojekyll
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
python setup.py install --root=$PKG
|
||||||
|
@ -74,7 +73,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a {CHANGES,LICENSE}.txt README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a {CHANGES,LICENSE}.txt README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
[ -d docs ] && (rm -f docs/objects.inv; cp -ar docs $PKG/usr/doc/$PRGNAM-$VERSION)
|
[ -d docs ] && cp -ar docs $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="simplejson"
|
PRGNAM="simplejson"
|
||||||
VERSION="3.8.1"
|
VERSION="3.8.2"
|
||||||
HOMEPAGE="https://github.com/simplejson/simplejson"
|
HOMEPAGE="https://github.com/simplejson/simplejson"
|
||||||
DOWNLOAD="http://pypi.python.org/packages/source/s/simplejson/simplejson-3.8.1.tar.gz"
|
DOWNLOAD="http://pypi.python.org/packages/source/s/simplejson/simplejson-3.8.2.tar.gz"
|
||||||
MD5SUM="b8441f1053edd9dc335ded8c7f98a974"
|
MD5SUM="53b1371bbf883b129a12d594a97e9a18"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue