Date: Sunday, February 21, 2010 @ 10:52:06 Author: jgc Revision: 69633
Add new package: httplib2. Dependency for totem BBC iPlayer plugin Added: httplib2/ httplib2/repos/ httplib2/trunk/ httplib2/trunk/COPYING httplib2/trunk/PKGBUILD ----------+ COPYING | 24 ++++++++++++++++++++++++ PKGBUILD | 23 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) Added: httplib2/trunk/COPYING =================================================================== --- httplib2/trunk/COPYING (rev 0) +++ httplib2/trunk/COPYING 2010-02-21 15:52:06 UTC (rev 69633) @@ -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. + Added: httplib2/trunk/PKGBUILD =================================================================== --- httplib2/trunk/PKGBUILD (rev 0) +++ httplib2/trunk/PKGBUILD 2010-02-21 15:52:06 UTC (rev 69633) @@ -0,0 +1,23 @@ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Giorgio Lando <patroc...@gmail.com> +# Contributor: Nicolas Quienot <n...@aur> +pkgname=httplib2 +pkgver=0.6.0 +pkgrel=1 +pkgdesc="A comprehensive HTTP client library, supporting many features" +url="http://code.google.com/p/httplib2/" +license=('MIT') +arch=(any) +depends=(python) +source=(http://httplib2.googlecode.com/files/${pkgname}-${pkgver}.tar.gz + COPYING) +md5sums=('04f73e296c02c9cd7151db33a2671b7c' + 'd65321d20730e3d9291dd63b43fdcda9') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py build || return 1 + python setup.py install --root="${pkgdir}" || return 1 + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 +}