aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMohamed LYAHYAOUI <mlyahyaoui@gmail.com>2013-12-25 08:27:36 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-12-25 15:05:41 -0600
commit15aeee6437f54ed7a9fc2b9704c450db049b1928 (patch)
treef05b8e33ac8c7e5f8bd6e32680eca36eb9c60060 /python
parentb768bea16f2477ee5d6d8567e677d65186db6494 (diff)
python/python-vatnumber: Renamed from vatnumber
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 286101121b09c..286101121b09c 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 aeb3a5601f9a2..ba754c81fdc9c 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 eec78da63605f..1a1ab28111698 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 0000000000000..6d3951601394f
--- /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 f238ec4017735..0000000000000
--- 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:
-