summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 17:11:25 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:51 +0700
commit69c04aa84843dae05722faa566369283bbcc4501 (patch)
treec4820ce90797843ac96d70d1299c71a8c9f8b406
parente7de6535f6f0641ee2c2809a77da1e0c2239b649 (diff)
downloadslackbuilds-69c04aa84843dae05722faa566369283bbcc4501.tar.gz
python/python-tabulate: Renamed python2-tabulate.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-tabulate/slack-desc19
-rw-r--r--python/python2-tabulate/README (renamed from python/python-tabulate/README)3
-rw-r--r--python/python2-tabulate/doinst.sh (renamed from python/python-tabulate/doinst.sh)0
-rw-r--r--python/python2-tabulate/python2-tabulate.SlackBuild (renamed from python/python-tabulate/python-tabulate.SlackBuild)6
-rw-r--r--python/python2-tabulate/python2-tabulate.info (renamed from python/python-tabulate/python-tabulate.info)2
-rw-r--r--python/python2-tabulate/slack-desc19
6 files changed, 25 insertions, 24 deletions
diff --git a/python/python-tabulate/slack-desc b/python/python-tabulate/slack-desc
deleted file mode 100644
index cf3b7db34d..0000000000
--- a/python/python-tabulate/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------------------------------------------------------|
-python-tabulate: python-tabulate (Pretty-print tabular data)
-python-tabulate:
-python-tabulate: Pretty-print tabular data in Python, a library and a command-line
-python-tabulate: utillity.
-python-tabulate:
-python-tabulate: Homepage: https://bitbucket.org/astanin/python-tabulate
-python-tabulate:
-python-tabulate:
-python-tabulate:
-python-tabulate:
-python-tabulate:
diff --git a/python/python-tabulate/README b/python/python2-tabulate/README
index 6fda5101d1..c26990f261 100644
--- a/python/python-tabulate/README
+++ b/python/python2-tabulate/README
@@ -1 +1,2 @@
-Pretty-print tabular data in Python, a library and a command-line utility.
+Pretty-print tabular data in Python, a library and a command-line
+utility.
diff --git a/python/python-tabulate/doinst.sh b/python/python2-tabulate/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/python/python-tabulate/doinst.sh
+++ b/python/python2-tabulate/doinst.sh
diff --git a/python/python-tabulate/python-tabulate.SlackBuild b/python/python2-tabulate/python2-tabulate.SlackBuild
index 66302d504f..13092b39e6 100644
--- a/python/python-tabulate/python-tabulate.SlackBuild
+++ b/python/python2-tabulate/python2-tabulate.SlackBuild
@@ -22,8 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-tabulate
-SRCNAM=$(echo $PRGNAM | cut -c8-15)
+PRGNAM=python2-tabulate
+SRCNAM=$(echo $PRGNAM | cut -d- -f2)
VERSION=${VERSION:-0.7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
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
diff --git a/python/python-tabulate/python-tabulate.info b/python/python2-tabulate/python2-tabulate.info
index 8a39eda50f..901a83d041 100644
--- a/python/python-tabulate/python-tabulate.info
+++ b/python/python2-tabulate/python2-tabulate.info
@@ -1,4 +1,4 @@
-PRGNAM="python-tabulate"
+PRGNAM="python2-tabulate"
VERSION="0.7.5"
HOMEPAGE="https://bitbucket.org/astanin/python-tabulate"
DOWNLOAD="https://pypi.python.org/packages/source/t/tabulate/tabulate-0.7.5.tar.gz"
diff --git a/python/python2-tabulate/slack-desc b/python/python2-tabulate/slack-desc
new file mode 100644
index 0000000000..b3ff18fe42
--- /dev/null
+++ b/python/python2-tabulate/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------------------------------------------------------|
+python2-tabulate: python2-tabulate (Pretty-print tabular data)
+python2-tabulate:
+python2-tabulate: Pretty-print tabular data in Python, a library and a command-line
+python2-tabulate: utillity.
+python2-tabulate:
+python2-tabulate: Homepage: https://bitbucket.org/astanin/python2-tabulate
+python2-tabulate:
+python2-tabulate:
+python2-tabulate:
+python2-tabulate:
+python2-tabulate: