summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 17:11:19 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:49 +0700
commit21d2f67b66994b33c3e38e9045b4a2edbb9832b5 (patch)
treef8b00ac6ffa84e11936874d5c0fbcb9f384fefce /python
parent3635a560db742506639b41e3967acb783b6d906f (diff)
downloadslackbuilds-21d2f67b66994b33c3e38e9045b4a2edbb9832b5.tar.gz
python/python-memcached: Renamed python2-memcached.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-memcached/slack-desc19
-rw-r--r--python/python2-memcached/README (renamed from python/python-memcached/README)0
-rw-r--r--python/python2-memcached/python2-memcached.SlackBuild (renamed from python/python-memcached/python-memcached.SlackBuild)11
-rw-r--r--python/python2-memcached/python2-memcached.info (renamed from python/python-memcached/python-memcached.info)2
-rw-r--r--python/python2-memcached/slack-desc19
5 files changed, 26 insertions, 25 deletions
diff --git a/python/python-memcached/slack-desc b/python/python-memcached/slack-desc
deleted file mode 100644
index f089e21945..0000000000
--- a/python/python-memcached/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-memcached: python-memcached (Python client for memached)
-python-memcached:
-python-memcached: This software is a 100% Python interface to the memcached memory
-python-memcached: cache daemon. It is the client side software which allows storing
-python-memcached: values in one or more, possibly remote, memcached servers. Search
-python-memcached: google for memcached for more information.
-python-memcached:
-python-memcached: Homepage: https://github.com/linsomniac/python-memcached
-python-memcached:
-python-memcached:
-python-memcached:
diff --git a/python/python-memcached/README b/python/python2-memcached/README
index 80f55a7514..80f55a7514 100644
--- a/python/python-memcached/README
+++ b/python/python2-memcached/README
diff --git a/python/python-memcached/python-memcached.SlackBuild b/python/python2-memcached/python2-memcached.SlackBuild
index 58c17bde24..33771880ca 100644
--- a/python/python-memcached/python-memcached.SlackBuild
+++ b/python/python2-memcached/python2-memcached.SlackBuild
@@ -25,7 +25,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-memcached
+PRGNAM=python2-memcached
+SRCNAM=python-memcached
VERSION=${VERSION:-1.58}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,9 +63,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-release-$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 \
@@ -72,7 +73,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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog PSF.LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/python-memcached/python-memcached.info b/python/python2-memcached/python2-memcached.info
index 172079d209..b83dadef60 100644
--- a/python/python-memcached/python-memcached.info
+++ b/python/python2-memcached/python2-memcached.info
@@ -1,4 +1,4 @@
-PRGNAM="python-memcached"
+PRGNAM="python2-memcached"
VERSION="1.58"
HOMEPAGE="https://github.com/linsomniac/python-memcached/"
DOWNLOAD="https://pypi.python.org/packages/f7/62/14b2448cfb04427366f24104c9da97cf8ea380d7258a3233f066a951a8d8/python-memcached-1.58.tar.gz"
diff --git a/python/python2-memcached/slack-desc b/python/python2-memcached/slack-desc
new file mode 100644
index 0000000000..87eb4a044d
--- /dev/null
+++ b/python/python2-memcached/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-memcached: python2-memcached (Python client for memached)
+python2-memcached:
+python2-memcached: This software is a 100% Python interface to the memcached memory
+python2-memcached: cache daemon. It is the client side software which allows storing
+python2-memcached: values in one or more, possibly remote, memcached servers. Search
+python2-memcached: google for memcached for more information.
+python2-memcached:
+python2-memcached: Homepage: https://github.com/linsomniac/python2-memcached
+python2-memcached:
+python2-memcached:
+python2-memcached: