Date: Tuesday, October 2, 2012 @ 17:14:51 Author: eric Revision: 167674
archrelease: copy trunk to staging-any Added: python2-httplib2/repos/staging-any/ python2-httplib2/repos/staging-any/COPYING (from rev 167673, python2-httplib2/trunk/COPYING) python2-httplib2/repos/staging-any/PKGBUILD (from rev 167673, python2-httplib2/trunk/PKGBUILD) ----------+ COPYING | 24 ++++++++++++++++++++++++ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: python2-httplib2/repos/staging-any/COPYING (from rev 167673, python2-httplib2/trunk/COPYING) =================================================================== --- staging-any/COPYING (rev 0) +++ staging-any/COPYING 2012-10-02 21:14:51 UTC (rev 167674) @@ -0,0 +1,24 @@ +Httplib2 Software License + +Copyright (c) 2006 by Joe Gregorio + +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: python2-httplib2/repos/staging-any/PKGBUILD (from rev 167673, python2-httplib2/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2012-10-02 21:14:51 UTC (rev 167674) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Giorgio Lando <patroc...@gmail.com> +# Contributor: Nicolas Quienot <niQo@aur> +# Contributor: Jesse Young <jesse.yo...@gmail.com> + +pkgbase=python2-httplib2 +pkgname=(python-httplib2 python2-httplib2) +_pkgbasename=httplib2 +pkgver=0.7.6 +pkgrel=1 +pkgdesc="A comprehensive HTTP client library, supporting many features" +url="http://code.google.com/p/httplib2/" +license=('MIT') +arch=('any') +makedepends=('python' 'python2') +provides=('httplib2') +replaces=('httplib2') +source=(http://httplib2.googlecode.com/files/${_pkgbasename}-${pkgver}.tar.gz + COPYING) +sha1sums=('4ad095cb3d65ddded5381dc4edc4078f908d7885' + 'fada4b38c7b9354de71ce80b014a313a4363c7dc') + +build() { + cd "${srcdir}" + cp -a "${_pkgbasename}-${pkgver}" "${pkgname[0]}-$pkgver" + cp -a "${_pkgbasename}-${pkgver}" "${pkgname[1]}-$pkgver" +} + +package_python-httplib2() { + depends=('python') + + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" + install -D -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_python2-httplib2() { + depends=('python2') + + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" + install -D -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}