aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-25 09:40:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-25 09:41:20 +0700
commitc94e01da4ff375c2347fe8bdc08ce21f5e587dab (patch)
tree002d24e693bfa717ea1ed66c7ff82bfba1240e2f
parente605e579c99da6dacf080de70aae73baf533b6ce (diff)
python/python2-MarkupSafe: Renamed from MarkupSafe.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/MarkupSafe/slack-desc19
-rw-r--r--python/python2-MarkupSafe/README (renamed from python/MarkupSafe/README)2
-rw-r--r--python/python2-MarkupSafe/python2-MarkupSafe.SlackBuild (renamed from python/MarkupSafe/MarkupSafe.SlackBuild)11
-rw-r--r--python/python2-MarkupSafe/python2-MarkupSafe.info (renamed from python/MarkupSafe/MarkupSafe.info)2
-rw-r--r--python/python2-MarkupSafe/slack-desc19
5 files changed, 28 insertions, 25 deletions
diff --git a/python/MarkupSafe/slack-desc b/python/MarkupSafe/slack-desc
deleted file mode 100644
index d7039d7d01901..0000000000000
--- a/python/MarkupSafe/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------------------------------------------------------|
-MarkupSafe: MarkupSafe (unicode subclass)
-MarkupSafe:
-MarkupSafe: MarkupSafe implements a unicode subclass that supports HTML strings.
-MarkupSafe:
-MarkupSafe: Homepage: https://pypi.python.org/pypi/MarkupSafe
-MarkupSafe:
-MarkupSafe:
-MarkupSafe:
-MarkupSafe:
-MarkupSafe:
-MarkupSafe:
diff --git a/python/MarkupSafe/README b/python/python2-MarkupSafe/README
index 3f0876b898f9b..6f8dc95d6d83d 100644
--- a/python/MarkupSafe/README
+++ b/python/python2-MarkupSafe/README
@@ -1 +1,3 @@
MarkupSafe implements a unicode subclass that supports HTML strings.
+
+NOTE: This package build python2 module only.
diff --git a/python/MarkupSafe/MarkupSafe.SlackBuild b/python/python2-MarkupSafe/python2-MarkupSafe.SlackBuild
index 366317ed7d3c6..4c32a6a4b0f88 100644
--- a/python/MarkupSafe/MarkupSafe.SlackBuild
+++ b/python/python2-MarkupSafe/python2-MarkupSafe.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Slackware build script for MarkupSafe
+# Slackware build script for python2-MarkupSafe
# Copyright 2010-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
@@ -24,7 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=MarkupSafe
+PRGNAM=python2-MarkupSafe
+SRCNAM=MarkupSafe
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,9 +66,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/python/MarkupSafe/MarkupSafe.info b/python/python2-MarkupSafe/python2-MarkupSafe.info
index e03b7ff3780f0..afdeb2fea1858 100644
--- a/python/MarkupSafe/MarkupSafe.info
+++ b/python/python2-MarkupSafe/python2-MarkupSafe.info
@@ -1,4 +1,4 @@
-PRGNAM="MarkupSafe"
+PRGNAM="python2-MarkupSafe"
VERSION="1.1.1"
HOMEPAGE="https://pypi.python.org/pypi/MarkupSafe"
DOWNLOAD="https://pypi.io/packages/source/M/MarkupSafe/MarkupSafe-1.1.1.tar.gz"
diff --git a/python/python2-MarkupSafe/slack-desc b/python/python2-MarkupSafe/slack-desc
new file mode 100644
index 0000000000000..4a5ea901b9d77
--- /dev/null
+++ b/python/python2-MarkupSafe/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-MarkupSafe: python2-MarkupSafe (unicode subclass)
+python2-MarkupSafe:
+python2-MarkupSafe: MarkupSafe implements a unicode subclass that supports HTML strings.
+python2-MarkupSafe:
+python2-MarkupSafe: Homepage: https://pypi.python.org/pypi/MarkupSafe
+python2-MarkupSafe:
+python2-MarkupSafe:
+python2-MarkupSafe:
+python2-MarkupSafe:
+python2-MarkupSafe:
+python2-MarkupSafe: