summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/python-vatnumber/slack-desc19
-rw-r--r--python/python2-vatnumber/README (renamed from python/python-vatnumber/README)0
-rw-r--r--python/python2-vatnumber/python2-vatnumber.SlackBuild (renamed from python/python-vatnumber/python-vatnumber.SlackBuild)6
-rw-r--r--python/python2-vatnumber/python2-vatnumber.info (renamed from python/python-vatnumber/python-vatnumber.info)2
-rw-r--r--python/python2-vatnumber/slack-desc19
5 files changed, 23 insertions, 23 deletions
diff --git a/python/python-vatnumber/slack-desc b/python/python-vatnumber/slack-desc
deleted file mode 100644
index 1c095707ac..0000000000
--- a/python/python-vatnumber/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-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/python-vatnumber/README b/python/python2-vatnumber/README
index 286101121b..286101121b 100644
--- a/python/python-vatnumber/README
+++ b/python/python2-vatnumber/README
diff --git a/python/python-vatnumber/python-vatnumber.SlackBuild b/python/python2-vatnumber/python2-vatnumber.SlackBuild
index fd93e5bd30..9dd6875bf3 100644
--- a/python/python-vatnumber/python-vatnumber.SlackBuild
+++ b/python/python2-vatnumber/python2-vatnumber.SlackBuild
@@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-vatnumber
+PRGNAM=python2-vatnumber
SRCNAM=vatnumber
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
@@ -72,9 +72,9 @@ 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 build
+python2 setup.py build
-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-vatnumber/python-vatnumber.info b/python/python2-vatnumber/python2-vatnumber.info
index bce87bce5b..440f322b6a 100644
--- a/python/python-vatnumber/python-vatnumber.info
+++ b/python/python2-vatnumber/python2-vatnumber.info
@@ -1,4 +1,4 @@
-PRGNAM="python-vatnumber"
+PRGNAM="python2-vatnumber"
VERSION="1.2"
HOMEPAGE="https://pypi.python.org/pypi/vatnumber"
DOWNLOAD="https://pypi.python.org/packages/d7/7c/869b59cd9cb6ed1057372cb704a3b86688ae8c12cfc7fcaedbc1424f5e7f/vatnumber-1.2.tar.gz"
diff --git a/python/python2-vatnumber/slack-desc b/python/python2-vatnumber/slack-desc
new file mode 100644
index 0000000000..449ae9f7cf
--- /dev/null
+++ b/python/python2-vatnumber/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-vatnumber: python2-vatnumber (Python module to validate VAT numbers)
+python2-vatnumber:
+python2-vatnumber: Python module to validate VAT numbers.
+python2-vatnumber:
+python2-vatnumber:
+python2-vatnumber:
+python2-vatnumber:
+python2-vatnumber:
+python2-vatnumber: Homepage: https://code.google.com/p/python-vatnumber/
+python2-vatnumber:
+python2-vatnumber: