summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/python2-Safe/README (renamed from python/python-Safe/README)0
-rw-r--r--python/python2-Safe/python2-Safe.SlackBuild (renamed from python/python-Safe/python-Safe.SlackBuild)6
-rw-r--r--python/python2-Safe/python2-Safe.info (renamed from python/python-Safe/python-Safe.info)2
-rw-r--r--python/python2-Safe/slack-desc (renamed from python/python-Safe/slack-desc)24
4 files changed, 16 insertions, 16 deletions
diff --git a/python/python-Safe/README b/python/python2-Safe/README
index 83b7d2914a..83b7d2914a 100644
--- a/python/python-Safe/README
+++ b/python/python2-Safe/README
diff --git a/python/python-Safe/python-Safe.SlackBuild b/python/python2-Safe/python2-Safe.SlackBuild
index 7a83bf4d08..5cc695d6cb 100644
--- a/python/python-Safe/python-Safe.SlackBuild
+++ b/python/python2-Safe/python2-Safe.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-Safe
-SRCNAM=$(printf $PRGNAM | cut -c8-11)
+PRGNAM=python2-Safe
+SRCNAM=$( printf $PRGNAM | cut -d- -f2 )
VERSION=${VERSION:-0.4}
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-Safe/python-Safe.info b/python/python2-Safe/python2-Safe.info
index 6c10302a6b..1a3f510d02 100644
--- a/python/python-Safe/python-Safe.info
+++ b/python/python2-Safe/python2-Safe.info
@@ -1,4 +1,4 @@
-PRGNAM="python-Safe"
+PRGNAM="python2-Safe"
VERSION="0.4"
HOMEPAGE="https://github.com/lepture/safe"
DOWNLOAD="https://pypi.python.org/packages/d2/3d/ea0fa7a262431f4b94845df59637bbb4ccac9d03a696ca1d894631da8614/Safe-0.4.tar.gz"
diff --git a/python/python-Safe/slack-desc b/python/python2-Safe/slack-desc
index 99fdb05981..b40be4caf6 100644
--- a/python/python-Safe/slack-desc
+++ b/python/python2-Safe/slack-desc
@@ -5,15 +5,15 @@
# 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-Safe: python-Safe (Check the password strength)
-python-Safe:
-python-Safe: Is your password safe? Safe will check the password strength for you.
-python-Safe:
-python-Safe: Homepage: https://github.com/lepture/safe
-python-Safe:
-python-Safe:
-python-Safe:
-python-Safe:
-python-Safe:
-python-Safe:
+ |-----handy-ruler------------------------------------------------------|
+python2-Safe: python-Safe2 (Check the password strength)
+python2-Safe:
+python2-Safe: Is your password safe? Safe will check the password strength for you.
+python2-Safe:
+python2-Safe: Homepage: https://github.com/lepture/safe
+python2-Safe:
+python2-Safe:
+python2-Safe:
+python2-Safe:
+python2-Safe:
+python2-Safe: