summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/python2-mpd/README (renamed from python/python-mpd/README)0
-rw-r--r--python/python2-mpd/python2-mpd.SlackBuild (renamed from python/python-mpd/python-mpd.SlackBuild)11
-rw-r--r--python/python2-mpd/python2-mpd.info (renamed from python/python-mpd/python-mpd.info)2
-rw-r--r--python/python2-mpd/slack-desc (renamed from python/python-mpd/slack-desc)24
4 files changed, 19 insertions, 18 deletions
diff --git a/python/python-mpd/README b/python/python2-mpd/README
index 79d738c24b..79d738c24b 100644
--- a/python/python-mpd/README
+++ b/python/python2-mpd/README
diff --git a/python/python-mpd/python-mpd.SlackBuild b/python/python2-mpd/python2-mpd.SlackBuild
index a9bec536ce..b03a70fe38 100644
--- a/python/python-mpd/python-mpd.SlackBuild
+++ b/python/python2-mpd/python2-mpd.SlackBuild
@@ -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=python-mpd
+PRGNAM=python2-mpd
+SRCNAM=python-mpd
VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,9 +59,9 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION || exit 1
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION || exit 1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,7 +71,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-python setup.py install --root=$PKG || exit 1
+python2 setup.py install --root=$PKG || exit 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/python-mpd/python-mpd.info b/python/python2-mpd/python2-mpd.info
index bcb70e0939..b9cd91a6ab 100644
--- a/python/python-mpd/python-mpd.info
+++ b/python/python2-mpd/python2-mpd.info
@@ -1,4 +1,4 @@
-PRGNAM="python-mpd"
+PRGNAM="python2-mpd"
VERSION="0.3.0"
HOMEPAGE="https://pypi.python.org/pypi/python-mpd/"
DOWNLOAD="https://pypi.python.org/packages/source/p/python-mpd/python-mpd-0.3.0.tar.gz"
diff --git a/python/python-mpd/slack-desc b/python/python2-mpd/slack-desc
index 40dad4cefc..15b3bf5692 100644
--- a/python/python-mpd/slack-desc
+++ b/python/python2-mpd/slack-desc
@@ -5,15 +5,15 @@
# 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-mpd: python-mpd (python based mpd client library)
-python-mpd:
-python-mpd: Python-mpd is a MPD client library written in pure Python.
-python-mpd:
-python-mpd: Homepage: https://pypi.python.org/pypi/python-mpd/
-python-mpd:
-python-mpd:
-python-mpd:
-python-mpd:
-python-mpd:
-python-mpd:
+ |-----handy-ruler------------------------------------------------------|
+python2-mpd: python2-mpd (python based mpd client library)
+python2-mpd:
+python2-mpd: Python-mpd is a MPD client library written in pure Python.
+python2-mpd:
+python2-mpd: Homepage: https://pypi.python.org/pypi/python2-mpd/
+python2-mpd:
+python2-mpd:
+python2-mpd:
+python2-mpd:
+python2-mpd:
+python2-mpd: