summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/python-unicodecsv/slack-desc19
-rw-r--r--python/python2-unicodecsv/README (renamed from python/python-unicodecsv/README)0
-rw-r--r--python/python2-unicodecsv/python2-unicodecsv.SlackBuild (renamed from python/python-unicodecsv/python-unicodecsv.SlackBuild)6
-rw-r--r--python/python2-unicodecsv/python2-unicodecsv.info (renamed from python/python-unicodecsv/python-unicodecsv.info)2
-rw-r--r--python/python2-unicodecsv/slack-desc19
5 files changed, 23 insertions, 23 deletions
diff --git a/python/python-unicodecsv/slack-desc b/python/python-unicodecsv/slack-desc
deleted file mode 100644
index bd567b9fb5..0000000000
--- a/python/python-unicodecsv/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-unicodecsv: python-unicodecsv (csv module)
-python-unicodecsv:
-python-unicodecsv: Python2's stdlib csv module is nice, but it doesn't support unicode.
-python-unicodecsv: This module is a drop-in replacement which *does*.
-python-unicodecsv:
-python-unicodecsv: Homepage: https://github.com/jdunck/python-unicodecsv
-python-unicodecsv:
-python-unicodecsv:
-python-unicodecsv:
-python-unicodecsv:
-python-unicodecsv:
diff --git a/python/python-unicodecsv/README b/python/python2-unicodecsv/README
index 65f114ab66..65f114ab66 100644
--- a/python/python-unicodecsv/README
+++ b/python/python2-unicodecsv/README
diff --git a/python/python-unicodecsv/python-unicodecsv.SlackBuild b/python/python2-unicodecsv/python2-unicodecsv.SlackBuild
index 1e7339339c..a08ad3d17d 100644
--- a/python/python-unicodecsv/python-unicodecsv.SlackBuild
+++ b/python/python2-unicodecsv/python2-unicodecsv.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-unicodecsv
-SRCNAM=$(echo $PRGNAM | cut -c8-17)
+PRGNAM=python2-unicodecsv
+SRCNAM=$( echo $PRGNAM | cut -d- -f2 )
VERSION=${VERSION:-0.14.1}
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-unicodecsv/python-unicodecsv.info b/python/python2-unicodecsv/python2-unicodecsv.info
index 4efb7351a6..41eed8b4c8 100644
--- a/python/python-unicodecsv/python-unicodecsv.info
+++ b/python/python2-unicodecsv/python2-unicodecsv.info
@@ -1,4 +1,4 @@
-PRGNAM="python-unicodecsv"
+PRGNAM="python2-unicodecsv"
VERSION="0.14.1"
HOMEPAGE="https://github.com/jdunck/python-unicodecsv"
DOWNLOAD="https://pypi.python.org/packages/source/u/unicodecsv/unicodecsv-0.14.1.tar.gz"
diff --git a/python/python2-unicodecsv/slack-desc b/python/python2-unicodecsv/slack-desc
new file mode 100644
index 0000000000..4db372563c
--- /dev/null
+++ b/python/python2-unicodecsv/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-unicodecsv: python2-unicodecsv (csv module)
+python2-unicodecsv:
+python2-unicodecsv: Python2's stdlib csv module is nice, but it doesn't support unicode.
+python2-unicodecsv: This module is a drop-in replacement which *does*.
+python2-unicodecsv:
+python2-unicodecsv: Homepage: https://github.com/jdunck/python2-unicodecsv
+python2-unicodecsv:
+python2-unicodecsv:
+python2-unicodecsv:
+python2-unicodecsv:
+python2-unicodecsv: