aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-boto/APKBUILD
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-03-14 15:57:30 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-03-18 09:26:47 +0000
commit13ce8ecff9f1716df7e008a4a1ec18511c45aa57 (patch)
treeefc69c0f493783913b02dcd7e3b2f41396874b82 /testing/py-boto/APKBUILD
parent35889755914b6a93c5f306da65a051ce7c1fcdf0 (diff)
downloadaports-13ce8ecff9f1716df7e008a4a1ec18511c45aa57.tar.bz2
aports-13ce8ecff9f1716df7e008a4a1ec18511c45aa57.tar.xz
testing/py-boto: new aport
Python interface to Amazon Web Services https://github.com/boto/boto [TT: Clarify license]
Diffstat (limited to 'testing/py-boto/APKBUILD')
-rw-r--r--testing/py-boto/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/py-boto/APKBUILD b/testing/py-boto/APKBUILD
new file mode 100644
index 0000000000..511a870f7c
--- /dev/null
+++ b/testing/py-boto/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+pkgname=py-boto
+_pkgname=boto
+pkgver=2.39.0
+pkgrel=0
+pkgdesc="Python interface to Amazon Web Services"
+url="https://github.com/boto/boto"
+arch="noarch"
+license="MIT"
+depends="python py-requests py-rsa py-simplejson py-paramiko py-yaml"
+depends_dev=
+makedepends="python-dev py-setuptools"
+install=
+subpackages="$pkgname-tools"
+source="$_pkgname-$pkgver.tar.gz::https://github.com/boto/$_pkgname/archive/$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+tools() {
+ pkgdesc="Command line tools to deal with Amazon Web Services"
+ depends="$pkgname"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
+md5sums="0ffc0c59b2b468bab9491881194db4df boto-2.39.0.tar.gz"
+sha256sums="bfde8bb2fc0222168c3397a22941dd4ae1f69e52db51085b308c912464df9b59 boto-2.39.0.tar.gz"
+sha512sums="323d2366f45978c218a295bf08e46e26024a2a1b0ab193a43f90a9a50d2f87f61aebaddfc5ea9c4d84feec6eb9ade1fcb369135e435358ce40e26e5c15fbeb3b boto-2.39.0.tar.gz"