diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2016-03-14 15:59:39 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-18 09:26:47 +0000 |
commit | 300bedd717db017697b64925bec387e9ea500cd9 (patch) | |
tree | ed6cebbeba1db3394f753d8aa186fd120778b2f3 /testing/py-boto3 | |
parent | eec77ae848a6072add494456b7a7a32f39752c59 (diff) | |
download | aports-300bedd717db017697b64925bec387e9ea500cd9.tar.bz2 aports-300bedd717db017697b64925bec387e9ea500cd9.tar.xz |
testing/py-boto3: new aport
AWS SDK for Python (Boto3)
http://aws.amazon.com/sdk-for-python
Diffstat (limited to 'testing/py-boto3')
-rw-r--r-- | testing/py-boto3/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/py-boto3/APKBUILD b/testing/py-boto3/APKBUILD new file mode 100644 index 0000000000..75d60eb04b --- /dev/null +++ b/testing/py-boto3/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +# Contributor: Valery Kartel <valery.kartel@gmail.com> +pkgname=py-boto3 +_pkgname=boto3 +pkgver=1.2.6 +pkgrel=0 +pkgdesc="AWS SDK for Python (Boto3)" +url="http://aws.amazon.com/sdk-for-python/" +arch="noarch" +license="apache2" +depends="python py-botocore py-jmespath" +depends_dev= +makedepends="python-dev py-setuptools" +install= +#subpackages="$pkgname-doc $pkgname-tools" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$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="50284b2f79b7920e0b5821cdfa6743a0 boto3-1.2.6.tar.gz" +sha256sums="bdfb52711a6467d82332be2f821f9d535243c7391b041f87f73e89c920e7e45f boto3-1.2.6.tar.gz" +sha512sums="b93fc4a6e45baf93bb832d7841d6d08ab9e0cc2b799f672c8ff7fc085347e32165f6bbbd1e0d47a9a9b376663cdb590bb30258891ad9350b2fe6b50469968f06 boto3-1.2.6.tar.gz" |