diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2016-01-24 12:54:59 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-26 18:59:05 +0700 |
commit | 49cbf80282164b8b362bacb3e76edcfbb9e08cff (patch) | |
tree | df106b3b04cfd0e4542aeaa12338900993956b49 /gis/pyshp | |
parent | beeb4e9acc6b600cfdc830e2e116e840556854d2 (diff) | |
download | slackbuilds-49cbf80282164b8b362bacb3e76edcfbb9e08cff.tar.gz |
gis/pyshp: Updated for version 1.2.3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/pyshp')
-rw-r--r-- | gis/pyshp/pyshp.SlackBuild | 10 | ||||
-rw-r--r-- | gis/pyshp/pyshp.info | 8 |
2 files changed, 7 insertions, 11 deletions
diff --git a/gis/pyshp/pyshp.SlackBuild b/gis/pyshp/pyshp.SlackBuild index 3e71164dc9..67d1962d9b 100644 --- a/gis/pyshp/pyshp.SlackBuild +++ b/gis/pyshp/pyshp.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pyshp -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,11 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -79,7 +75,7 @@ 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 changelog.txt README.txt README.pdf $PKG/usr/doc/$PRGNAM-$VERSION +cp -a changelog.txt README.txt LICENSE.TXT $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/gis/pyshp/pyshp.info b/gis/pyshp/pyshp.info index 578a5430bd..9b4b60d8ad 100644 --- a/gis/pyshp/pyshp.info +++ b/gis/pyshp/pyshp.info @@ -1,8 +1,8 @@ PRGNAM="pyshp" -VERSION="1.2.0" -HOMEPAGE="http://code.google.com/p/pyshp/" -DOWNLOAD="https://pypi.python.org/packages/source/p/pyshp/pyshp-1.2.0.tar.gz" -MD5SUM="9075f34109f0bb4b45a90fd1fb5db94b" +VERSION="1.2.3" +HOMEPAGE="https://github.com/GeospatialPython/pyshp" +DOWNLOAD="https://github.com/GeospatialPython/pyshp/archive/1.2.3.tar.gz" +MD5SUM="2f7d14f3f1562ee2fdcb0051c6ecb614" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |