summaryrefslogtreecommitdiffstats
path: root/main/py-ecdsa/APKBUILD
blob: dbdc7a0e2e2af6264741162841d3db2fa49dc3d7 (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.11
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="8ef586fe4dbb156697d756900cb41d7c  ecdsa-0.11.tar.gz"
sha256sums="8e3b6c193f91dc94b2f3b0261e3eabbdc604f78ff99fdad324a56fdd0b5e958c  ecdsa-0.11.tar.gz"
sha512sums="77fc2bc26456d90a630e2ef98d94a1448b30e1c3bcebf81c52f12f8ce0ea305eceacc87e14273d340a70c60ad83fad61361c9dea83dea04546ed3604875b78fb  ecdsa-0.11.tar.gz"