blob: 89425bb851076795b38dc15aff21eed3bcc1a0a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=py-certifi
_pkgname=certifi
pkgver=2015.9.6.2
pkgrel=0
pkgdesc="Python package for providing Mozilla's CA Bundle"
url="https://pypi.python.org/pypi/certifi"
arch="noarch"
license="ISC"
depends="python"
depends_dev="py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
source="https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 || return 1
}
md5sums="323884431b31aa0eccb5f8086d92196b certifi-2015.9.6.2.tar.gz"
sha256sums="dc3a2b2d9d1033dbf27586366ae61b9d7c44d8c3a6f29694ffcbb0618ea7aea6 certifi-2015.9.6.2.tar.gz"
sha512sums="78166fa708e7f5162bc36c5b552b1c19e316f4f540db5733167730e9d3a7610b90622546b9e49bc539d9d4de543a169046d24fbbcded98b74f68351a91d15f31 certifi-2015.9.6.2.tar.gz"
|