summaryrefslogtreecommitdiffstats
path: root/main/py-ecdsa/APKBUILD
blob: 637457246d0964f2c941d04128cd82bacb707edc (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-ecdsa
_pkgname=ecdsa
pkgver=0.8
pkgrel=0
pkgdesc="A Python cryptographic signature library"
url="http://github.com/warner/python-ecdsa"
arch="noarch"
license="MIT"
depends="py-crypto"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="a3575705afb24d7cbc1694960d3965b1  ecdsa-0.8.tar.gz"
sha256sums="926dbc7f31f5e099079884e1ae8121d25c43b17f1db48d77c9540cd1e40acc1a  ecdsa-0.8.tar.gz"
sha512sums="1f89954bf7b45bf135dd55c64f0555014de00e3316ba2334054282fe8c542c070793220e4f4c5e69507ba2fd756795fda72cf3dfe43b6f42b554a7a3818f7a80  ecdsa-0.8.tar.gz"