summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorElvis Angelaccio2017-06-28 17:49:05 +0200
committerElvis Angelaccio2017-06-28 17:49:05 +0200
commit5af20f0ba9840e2e5523633e63aea7bd246e8bb3 (patch)
tree6a50c7879c488ddca866d38338cdd0260d63b86d
parent12fa8c8d75bd8e38a3c8f671928d788cd1804467 (diff)
downloadaur-5af20f0ba9840e2e5523633e63aea7bd246e8bb3.tar.gz
Port to python3, not working yet
See https://github.com/dlapiduz/certbot-s3front/issues/56
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 553b8d43fdf..0e4c6ae35d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,20 +7,18 @@ pkgdesc="Amazon S3/Cloudfront plugin for Let’s Encrypt client"
arch=('any')
license=('MIT')
url="https://pypi.python.org/pypi/$pkgname"
-depends=('certbot' 'python2-boto3' 'python2-zope-component' 'python2-zope-interface'
- 'python2-futures' # TODO: should be pulled by python2-s3transfer?
- )
+depends=('certbot' 'python-boto3' 'python-zope-component' 'python-zope-interface')
source=("https://pypi.io/packages/source/c/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('d3fe8c152cf4c9f1dcd17c4edd8008e3')
validpgpkeys=('F07D85CAA18ACF46A346FD017C7FC6EA8633B4EA')
build() {
cd "$srcdir"/$pkgname-$pkgver
- python2 setup.py build
+ python setup.py build
}
package() {
cd "$srcdir"/$pkgname-$pkgver
- python2 setup.py install --root="$pkgdir"
+ python setup.py install --root="$pkgdir"
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}