blob: a917c4d5c84f3c85e2652bb6866d2dce65d3644c (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-ndg_httpsclient
pkgver=0.4.0
pkgrel=0
pkgdesc="HTTPS client implementation for httplib and urllib2 based on PyOpenSSL"
url="https://github.com/cedadev/ndg_httpsclient"
arch="noarch"
license="BSD"
depends="py-openssl py-asn1"
depends_dev=""
makedepends="$depends_dev py-setuptools"
install=""
subpackages=""
source="ndg_httpsclient-$pkgver.tar.gz::https://github.com/cedadev/ndg_httpsclient/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/ndg_httpsclient-$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" || return 1
}
md5sums="b7577b1eaa2a25915c7a963e0d2f80a5 ndg_httpsclient-0.4.0.tar.gz"
sha256sums="d8954102b851dc775b12535d6623d41ee0849146ea8b8a2d937a5c12ca8ba19d ndg_httpsclient-0.4.0.tar.gz"
sha512sums="4ff71ce7a475e2828e4836f77cbbcc6c9f99c6d5b0e4510b805be0e50f95a337665d73a54b355dc3ae51d752857dd886ba0c9c1dcc7d7041ebbed6df8842cd88 ndg_httpsclient-0.4.0.tar.gz"
|