aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gis/pyshp/slack-desc19
-rw-r--r--gis/python3-pyshp/README (renamed from gis/pyshp/README)0
-rw-r--r--gis/python3-pyshp/python3-pyshp.SlackBuild (renamed from gis/pyshp/pyshp.SlackBuild)12
-rw-r--r--gis/python3-pyshp/python3-pyshp.info (renamed from gis/pyshp/pyshp.info)2
-rw-r--r--gis/python3-pyshp/slack-desc19
5 files changed, 27 insertions, 25 deletions
diff --git a/gis/pyshp/slack-desc b/gis/pyshp/slack-desc
deleted file mode 100644
index a3ac9c6b9e669..0000000000000
--- a/gis/pyshp/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-pyshp: pyshp (Python shapefile manipulation library)
-pyshp:
-pyshp: This library reads and writes ESRI Shapefiles in pure Python. You can
-pyshp: read and write shp, shx, and dbf files with all types of geometry.
-pyshp: Everything in the public ESRI shapefile specification is implemented.
-pyshp: This library is compatible with Python versions 2.4 to 3.x.
-pyshp:
-pyshp:
-pyshp:
-pyshp:
-pyshp:
diff --git a/gis/pyshp/README b/gis/python3-pyshp/README
index 47bdcfc2cce99..47bdcfc2cce99 100644
--- a/gis/pyshp/README
+++ b/gis/python3-pyshp/README
diff --git a/gis/pyshp/pyshp.SlackBuild b/gis/python3-pyshp/python3-pyshp.SlackBuild
index af9c9a77fa7ce..0d4c5d814ce02 100644
--- a/gis/pyshp/pyshp.SlackBuild
+++ b/gis/python3-pyshp/python3-pyshp.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for pyshp
# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,12 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=pyshp
+PRGNAM=python3-pyshp
VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=pyshp
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -70,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/gis/pyshp/pyshp.info b/gis/python3-pyshp/python3-pyshp.info
index d82fc9b586837..4c1e813c86964 100644
--- a/gis/pyshp/pyshp.info
+++ b/gis/python3-pyshp/python3-pyshp.info
@@ -1,4 +1,4 @@
-PRGNAM="pyshp"
+PRGNAM="python3-pyshp"
VERSION="2.2.0"
HOMEPAGE="https://github.com/GeospatialPython/pyshp"
DOWNLOAD="https://github.com/GeospatialPython/pyshp/archive/2.2.0/pyshp-2.2.0.tar.gz"
diff --git a/gis/python3-pyshp/slack-desc b/gis/python3-pyshp/slack-desc
new file mode 100644
index 0000000000000..99c1b4f15a450
--- /dev/null
+++ b/gis/python3-pyshp/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python3-pyshp: python3-pyshp (Python shapefile manipulation library)
+python3-pyshp:
+python3-pyshp: This library reads and writes ESRI Shapefiles in pure Python. You can
+python3-pyshp: read and write shp, shx, and dbf files with all types of geometry.
+python3-pyshp: Everything in the public ESRI shapefile specification is implemented.
+python3-pyshp: This library is compatible with Python versions 2.4 to 3.x.
+python3-pyshp:
+python3-pyshp:
+python3-pyshp:
+python3-pyshp:
+python3-pyshp: