From 269b9b1d68d34557b0b55ecffc3fc0b585c272dd Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Sat, 15 May 2021 16:28:49 +0100 Subject: python/s3cmd: Convert python to python2. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- python/s3cmd/README | 16 +++++++++------- python/s3cmd/s3cmd.SlackBuild | 2 +- python/s3cmd/s3cmd.info | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) (limited to 'python/s3cmd') diff --git a/python/s3cmd/README b/python/s3cmd/README index 5d8aa8791a..8d6b7f7c29 100644 --- a/python/s3cmd/README +++ b/python/s3cmd/README @@ -1,9 +1,11 @@ -S3cmd is a command line tool for uploading, retrieving and managing data in -Amazon S3. It is best suited for power users who don't fear command line. It is -also ideal for scripts, automated backups triggered from cron, etc. +S3cmd is a command line tool for uploading, retrieving and managing data +in Amazon S3. It is best suited for power users who don't fear command +line. It is also ideal for scripts, automated backups triggered from +cron, etc. -Optional: python-magic +Optional: python2-magic -Before s3cmd can be used it must first be set up. Run 's3cmd --configure' and -enter in you access key and your secret key and follow the instructions. This -will create ~/.s3cfg file with your s3 credentials. +Before s3cmd can be used it must first be set up. Run 's3cmd +--configure' and enter in you access key and your secret key and follow +the instructions. This will create ~/.s3cfg file with your s3 +credentials. diff --git a/python/s3cmd/s3cmd.SlackBuild b/python/s3cmd/s3cmd.SlackBuild index f54fb81ed4..e01561cbba 100644 --- a/python/s3cmd/s3cmd.SlackBuild +++ b/python/s3cmd/s3cmd.SlackBuild @@ -59,7 +59,7 @@ sed -i 's|\(doc_path\)+"/s3cmd"|\1|' setup.py S3CMD_INSTPATH_DOC="/usr/doc/$PRGNAM-$VERSION" \ S3CMD_INSTPATH_MAN="/usr/man" \ -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/s3cmd/s3cmd.info b/python/s3cmd/s3cmd.info index bedf4a1af3..45ce4939e8 100644 --- a/python/s3cmd/s3cmd.info +++ b/python/s3cmd/s3cmd.info @@ -5,6 +5,6 @@ DOWNLOAD="https://downloads.sourceforge.net/s3tools/s3cmd-2.0.2.tar.gz" MD5SUM="7e4043186f46a6832ba3fb4d9cb59bb8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-dateutil" +REQUIRES="python2-dateutil" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" -- cgit v1.2.3-80-g2a13