summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHugo Rodrigues2018-02-26 14:24:15 +0000
committerHugo Rodrigues2018-02-26 14:24:15 +0000
commitfca10a1728ea0b12c8659361b5489a7abdf28d66 (patch)
treefd1c450b320b221fbfd3958d0c9712afe3f35fd4 /PKGBUILD
downloadaur-python2-minio.tar.gz
PKBUILD v1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..45b8750172c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Hugo Rodrigues <me@hugorodrigues.net>
+_pipname=minio
+pkgname=python2-${_pipname}
+pkgver=3.0.3
+pkgrel=1
+pkgdesc="Minio Python Library for Amazon S3 Compatible Cloud Storage for Python"
+arch=("any")
+url="https://github.com/minio/minio-py"
+license=("Apache")
+depends=("python2" "python2-certifi" "python2-nose")
+makedepends=("python2-pip")
+
+build() {
+ pip2 install --no-deps --target="${_pipname}" ${_pipname}==${pkgver}
+}
+
+package() {
+ mkdir -p $pkgdir/usr/lib/python2.7/site-packages/
+ cp -r $srcdir/${_pipname}/* $pkgdir/usr/lib/python2.7/site-packages/
+}
+