summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/python-vatnumber/README (renamed from python/vatnumber/README)0
-rw-r--r--python/python-vatnumber/python-vatnumber.SlackBuild (renamed from python/vatnumber/vatnumber.SlackBuild)11
-rw-r--r--python/python-vatnumber/python-vatnumber.info (renamed from python/vatnumber/vatnumber.info)2
-rw-r--r--python/python-vatnumber/slack-desc20
-rw-r--r--python/vatnumber/slack-desc20
5 files changed, 27 insertions, 26 deletions
diff --git a/python/vatnumber/README b/python/python-vatnumber/README
index 286101121b..286101121b 100644
--- a/python/vatnumber/README
+++ b/python/python-vatnumber/README
diff --git a/python/vatnumber/vatnumber.SlackBuild b/python/python-vatnumber/python-vatnumber.SlackBuild
index aeb3a5601f..ba754c81fd 100644
--- a/python/vatnumber/vatnumber.SlackBuild
+++ b/python/python-vatnumber/python-vatnumber.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for vatnumber
+# Slackware build script for python-vatnumber
# Copyright 2013 Mohamed LYAHYAOUI <mlyahyaoui@gmail.com>
# All rights reserved.
@@ -22,7 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=vatnumber
+PRGNAM=python-vatnumber
+SRCNAM=vatnumber
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ fi
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/vatnumber/vatnumber.info b/python/python-vatnumber/python-vatnumber.info
index eec78da636..1a1ab28111 100644
--- a/python/vatnumber/vatnumber.info
+++ b/python/python-vatnumber/python-vatnumber.info
@@ -1,4 +1,4 @@
-PRGNAM="vatnumber"
+PRGNAM="python-vatnumber"
VERSION="1.1"
HOMEPAGE="https://code.google.com/p/vatnumber"
DOWNLOAD="https://vatnumber.googlecode.com/files/vatnumber-1.1.tar.gz"
diff --git a/python/python-vatnumber/slack-desc b/python/python-vatnumber/slack-desc
new file mode 100644
index 0000000000..6d39516013
--- /dev/null
+++ b/python/python-vatnumber/slack-desc
@@ -0,0 +1,20 @@
+# 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-vatnumber: python-vatnumber (Python module to validate VAT numbers)
+python-vatnumber:
+python-vatnumber: Python module to validate VAT numbers.
+python-vatnumber:
+python-vatnumber:
+python-vatnumber:
+python-vatnumber:
+python-vatnumber:
+python-vatnumber: Homepage: https://code.google.com/p/python-vatnumber/
+python-vatnumber:
+python-vatnumber:
+
diff --git a/python/vatnumber/slack-desc b/python/vatnumber/slack-desc
deleted file mode 100644
index f238ec4017..0000000000
--- a/python/vatnumber/slack-desc
+++ /dev/null
@@ -1,20 +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------------------------------------------------------|
-vatnumber: vatnumber (Python module to validate VAT numbers)
-vatnumber:
-vatnumber: Python module to validate VAT numbers.
-vatnumber:
-vatnumber:
-vatnumber:
-vatnumber:
-vatnumber:
-vatnumber: Homepage: https://code.google.com/p/vatnumber/
-vatnumber:
-vatnumber:
-