[arch-commits] Commit in s3cmd/repos/community-any (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Apr 17 06:28:31 UTC 2020
Date: Friday, April 17, 2020 @ 06:28:31
Author: svenstaro
Revision: 615411
archrelease: copy trunk to community-any
Added:
s3cmd/repos/community-any/1061.patch
(from rev 615410, s3cmd/trunk/1061.patch)
s3cmd/repos/community-any/PKGBUILD
(from rev 615410, s3cmd/trunk/PKGBUILD)
Deleted:
s3cmd/repos/community-any/1061.patch
s3cmd/repos/community-any/PKGBUILD
------------+
1061.patch | 50 +++++++++++++++++++++++++-------------------------
PKGBUILD | 55 ++++++++++++++++++++++++-------------------------------
2 files changed, 49 insertions(+), 56 deletions(-)
Deleted: 1061.patch
===================================================================
--- 1061.patch 2020-04-17 06:28:23 UTC (rev 615410)
+++ 1061.patch 2020-04-17 06:28:31 UTC (rev 615411)
@@ -1,25 +0,0 @@
-From 8665ff5dc95900798bd8e935c61a10324115579a Mon Sep 17 00:00:00 2001
-From: Konstantin Shalygin <k0ste at k0ste.ru>
-Date: Mon, 18 Nov 2019 11:28:53 +0700
-Subject: [PATCH] s3cmd: python 3.8 compat
-
----
- s3cmd | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/s3cmd b/s3cmd
-index cef1e9c5..3e18af1b 100755
---- a/s3cmd
-+++ b/s3cmd
-@@ -317,9 +317,9 @@ def cmd_expiration_set(args):
- raise ParameterError("Expecting S3 URI with just the bucket name set instead of '%s'" % arg)
- try:
- response = s3.expiration_set(uri, cfg.bucket_location)
-- if response["status"] is 200:
-+ if response["status"] == 200:
- output(u"Bucket '%s': expiration configuration is set." % (uri.uri()))
-- elif response["status"] is 204:
-+ elif response["status"] == 204:
- output(u"Bucket '%s': expiration configuration is deleted." % (uri.uri()))
- except S3Error as e:
- if e.info["Code"] in S3.codes:
Copied: s3cmd/repos/community-any/1061.patch (from rev 615410, s3cmd/trunk/1061.patch)
===================================================================
--- 1061.patch (rev 0)
+++ 1061.patch 2020-04-17 06:28:31 UTC (rev 615411)
@@ -0,0 +1,25 @@
+From 8665ff5dc95900798bd8e935c61a10324115579a Mon Sep 17 00:00:00 2001
+From: Konstantin Shalygin <k0ste at k0ste.ru>
+Date: Mon, 18 Nov 2019 11:28:53 +0700
+Subject: [PATCH] s3cmd: python 3.8 compat
+
+---
+ s3cmd | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/s3cmd b/s3cmd
+index cef1e9c5..3e18af1b 100755
+--- a/s3cmd
++++ b/s3cmd
+@@ -317,9 +317,9 @@ def cmd_expiration_set(args):
+ raise ParameterError("Expecting S3 URI with just the bucket name set instead of '%s'" % arg)
+ try:
+ response = s3.expiration_set(uri, cfg.bucket_location)
+- if response["status"] is 200:
++ if response["status"] == 200:
+ output(u"Bucket '%s': expiration configuration is set." % (uri.uri()))
+- elif response["status"] is 204:
++ elif response["status"] == 204:
+ output(u"Bucket '%s': expiration configuration is deleted." % (uri.uri()))
+ except S3Error as e:
+ if e.info["Code"] in S3.codes:
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-17 06:28:23 UTC (rev 615410)
+++ PKGBUILD 2020-04-17 06:28:31 UTC (rev 615411)
@@ -1,31 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Simon Lipp <aur at simon.lipp.name>
-# Contributor: Daniel Grana <dangra at gmail.com>
-
-pkgname=s3cmd
-pkgver=2.0.2
-pkgrel=4
-pkgdesc="A command line client for Amazon S3"
-arch=('any')
-url='http://s3tools.org/s3cmd'
-license=('GPL')
-depends=('python' 'python-dateutil')
-makedepends=('python-setuptools')
-optdepends=('gnupg: encrypted file storage'
- 'python-magic: determine mimetype based on contents')
-source=(https://github.com/s3tools/s3cmd/releases/download/v${pkgver}/s3cmd-${pkgver}.tar.gz
- 1061.patch)
-sha512sums=('4cd155f4e24e462fcab009b5ae0844718b728134cf436a4c43a9380c178c2172bb5bccc780f0f174cb43793554cb4f9b5ca432c757c9e5a4a8eaa4efe656133d'
- 'e95ed8a881d4e168a2ea8a644d8db47a6517fe5be34264e947ab5249f71e2c105a605b513e73be3bd735b4ccea0994d73eacbe9f3a9aed5b1c2dcae2a4b8a652')
-# validpgpkeys=(0D37A8F4A5D183D5541D85D9241769189AC3D00B)
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "$srcdir"/1061.patch
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py install --root="$pkgdir"
-}
Copied: s3cmd/repos/community-any/PKGBUILD (from rev 615410, s3cmd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-17 06:28:31 UTC (rev 615411)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Simon Lipp <aur at simon.lipp.name>
+# Contributor: Daniel Grana <dangra at gmail.com>
+
+pkgname=s3cmd
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="A command line client for Amazon S3"
+arch=('any')
+url='http://s3tools.org/s3cmd'
+license=('GPL')
+depends=('python' 'python-dateutil')
+makedepends=('python-setuptools')
+optdepends=('gnupg: encrypted file storage'
+ 'python-magic: determine mimetype based on contents')
+source=(https://github.com/s3tools/s3cmd/releases/download/v${pkgver}/s3cmd-${pkgver}.tar.gz)
+sha512sums=('98156218c4379e233185662d29fa4299b4a4e45a0fe143a145f30ff7d03362a4558b5fff5e5da0da850f5cce2c760fcd031bcf5ff7a6bd2c6352259e791d65e6')
+# validpgpkeys=(0D37A8F4A5D183D5541D85D9241769189AC3D00B)
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install --root="$pkgdir"
+}
More information about the arch-commits
mailing list