summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/python-elementtree/slack-desc19
-rw-r--r--python/python2-elementtree/README (renamed from python/python-elementtree/README)0
-rw-r--r--python/python2-elementtree/python2-elementtree.SlackBuild (renamed from python/python-elementtree/python-elementtree.SlackBuild)4
-rw-r--r--python/python2-elementtree/python2-elementtree.info (renamed from python/python-elementtree/python-elementtree.info)2
-rw-r--r--python/python2-elementtree/slack-desc19
5 files changed, 22 insertions, 22 deletions
diff --git a/python/python-elementtree/slack-desc b/python/python-elementtree/slack-desc
deleted file mode 100644
index 875c823cd1..0000000000
--- a/python/python-elementtree/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-elementtree: python-elementtree (Python library wrapper for XML)
-python-elementtree:
-python-elementtree: The Element type is a simple but flexible container object, designed
-python-elementtree: to store hierarchical data structures, such as simplified XML
-python-elementtree: infosets, in memory. The element type can be described as a cross
-python-elementtree: between a Python list and a Python dictionary.
-python-elementtree:
-python-elementtree: The ElementTree wrapper type adds code to load XML files as trees of
-python-elementtree: Element objects, and save them back again.
-python-elementtree:
-python-elementtree: Homepage: http://effbot.org/zone/element-index.htm
diff --git a/python/python-elementtree/README b/python/python2-elementtree/README
index e0c761f808..e0c761f808 100644
--- a/python/python-elementtree/README
+++ b/python/python2-elementtree/README
diff --git a/python/python-elementtree/python-elementtree.SlackBuild b/python/python2-elementtree/python2-elementtree.SlackBuild
index e499e891f5..782072d41e 100644
--- a/python/python-elementtree/python-elementtree.SlackBuild
+++ b/python/python2-elementtree/python2-elementtree.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-elementtree
+PRGNAM=python2-elementtree
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,7 +58,7 @@ find -L . \
\( -perm 666 -o -perm 664 -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 | xargs 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-elementtree/python-elementtree.info b/python/python2-elementtree/python2-elementtree.info
index 9977ee0590..ea353e1362 100644
--- a/python/python-elementtree/python-elementtree.info
+++ b/python/python2-elementtree/python2-elementtree.info
@@ -1,4 +1,4 @@
-PRGNAM="python-elementtree"
+PRGNAM="python2-elementtree"
VERSION="1.3"
HOMEPAGE="http://effbot.org/zone/element-index.htm"
DOWNLOAD="https://github.com/vkris/py-elementtree/archive/405fb0295388a54104f3641eedfeb4c8a3e1ae4d/py-elementtree-405fb0295388a54104f3641eedfeb4c8a3e1ae4d.tar.gz"
diff --git a/python/python2-elementtree/slack-desc b/python/python2-elementtree/slack-desc
new file mode 100644
index 0000000000..57b06ce929
--- /dev/null
+++ b/python/python2-elementtree/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-elementtree: python2-elementtree (Python library wrapper for XML)
+python2-elementtree:
+python2-elementtree: The Element type is a simple but flexible container object, designed
+python2-elementtree: to store hierarchical data structures, such as simplified XML
+python2-elementtree: infosets, in memory. The element type can be described as a cross
+python2-elementtree: between a Python list and a Python dictionary.
+python2-elementtree:
+python2-elementtree: The ElementTree wrapper type adds code to load XML files as trees of
+python2-elementtree: Element objects, and save them back again.
+python2-elementtree:
+python2-elementtree: Homepage: http://effbot.org/zone/element-index.htm