diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-15 16:28:49 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-19 18:40:21 +0700 |
commit | 269b9b1d68d34557b0b55ecffc3fc0b585c272dd (patch) | |
tree | 65450fbdb96532f8bfe5f1373b64289364c14cea /python/s3cmd | |
parent | a99ed41b536ae160527d178fdb3c5a271828e8c6 (diff) |
python/s3cmd: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/s3cmd')
-rw-r--r-- | python/s3cmd/README | 16 | ||||
-rw-r--r-- | python/s3cmd/s3cmd.SlackBuild | 2 | ||||
-rw-r--r-- | python/s3cmd/s3cmd.info | 2 |
3 files changed, 11 insertions, 9 deletions
diff --git a/python/s3cmd/README b/python/s3cmd/README index 5d8aa8791ad29..8d6b7f7c2945e 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 f54fb81ed4560..e01561cbbae70 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 bedf4a1af3254..45ce4939e8505 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" |