Date: Saturday, August 17, 2013 @ 16:38:28 Author: fyan Revision: 95839
archrelease: copy trunk to community-testing-any Added: python-boto/repos/community-testing-any/ python-boto/repos/community-testing-any/LICENSE (from rev 95838, python-boto/trunk/LICENSE) python-boto/repos/community-testing-any/PKGBUILD (from rev 95838, python-boto/trunk/PKGBUILD) ----------+ LICENSE | 19 +++++++++++++++++++ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) Copied: python-boto/repos/community-testing-any/LICENSE (from rev 95838, python-boto/trunk/LICENSE) =================================================================== --- community-testing-any/LICENSE (rev 0) +++ community-testing-any/LICENSE 2013-08-17 14:38:28 UTC (rev 95839) @@ -0,0 +1,19 @@ +Copyright (c) 2007 Mitch Garnaat + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. Copied: python-boto/repos/community-testing-any/PKGBUILD (from rev 95838, python-boto/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2013-08-17 14:38:28 UTC (rev 95839) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Maintainer: Kaiting Chen <kaitocr...@gmail.com> +# Maintainer: Aaron Schaefer <aa...@elasticdog.com> + +pkgbase=python-boto +pkgname=python2-boto +pkgver=2.10.0 +pkgrel=2 +pkgdesc='A Python interface to Amazon Web Services (AWS)' +arch=('any') +url='https://github.com/boto/boto' +license=('MIT') +depends=('python2') +makedepends=('python2-setuptools') +conflicts=('python-boto>=2.5.2-1') +replaces=('python-boto>=2.5.2-1') +source=("http://github.com/boto/boto/archive/$pkgver.tar.gz" + 'LICENSE') + +prepare() { + cd "$srcdir/boto-$pkgver" + + # python2 fix + find . -name '*.py' -type f -print0 | xargs -0 \ + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' +} + +package_python2-boto() { + cd "$srcdir/boto-$pkgver" + + python2 setup.py install --root="$pkgdir" + install -D -m644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +md5sums=('77af8e4dcd851a26b93e8751faa25c7d' + '35ebd993c05c79ba78e9f4fb3e65e547')