added aur/python2-certifi

This commit is contained in:
Kevin Mihelich 2013-04-05 00:44:22 +00:00
parent ec4cf7a51a
commit f13a25e1e1

View file

@ -0,0 +1,28 @@
# $Id: PKGBUILD 81227 2012-12-13 19:50:09Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: William J Bowman <bluephoenix47@gmail.com>
pkgname=python2-certifi
_libname=${pkgname/python2-/}
pkgver=0.0.8
pkgrel=2
pkgdesc="Mozilla's SSL Certs"
arch=(any)
url="http://pypi.python.org/pypi/certifi/${pkgver}"
license=('GPL')
depends=('python2')
makedepends=('python2-distribute')
source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz)
build() {
cd "$srcdir/$_libname-$pkgver"
sed -i '1 s|python$|python2|' certifi/core.py
}
package() {
cd "$srcdir/$_libname-$pkgver"
python2 setup.py install --root="$pkgdir" -O1
install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha256sums=('46ecf5f7526a08cc1f8bc8232adf0cffce046f46ceff95539daec42ebc4849ef')