mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added aur/python2-certifi
This commit is contained in:
parent
ec4cf7a51a
commit
f13a25e1e1
1 changed files with 28 additions and 0 deletions
28
aur/python2-certifi/PKGBUILD
Normal file
28
aur/python2-certifi/PKGBUILD
Normal 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')
|
Loading…
Reference in a new issue