python/python-memcached: Renamed python2-memcached.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-06 17:11:19 +01:00 committed by Willy Sudiarto Raharjo
parent 3635a560db
commit 21d2f67b66
No known key found for this signature in database
GPG key ID: 3F617144D7238786
5 changed files with 26 additions and 25 deletions

View file

@ -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:

View file

@ -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

View file

@ -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"

View file

@ -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: