summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5d0a7e30617f3d8050363704fc1920fbf164b5ec (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
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
# Co-Maintainer: Maxime "pep" Buquet <archlinux@bouah.net>

pkgname='python-hkdf'
pkgver=0.0.3
pkgrel=4
pkgdesc="This module implements the HMAC Key Derivation function, defined at http://tools.ietf.org/html/draft-krawczyk-hkdf-01"
arch=('any')
url="https://pypi.python.org/packages/c3/be/hkdf-${pkgver}"
license=('BSD')
depends=('python')
makedepends=('python-setuptools')
source=("https://pypi.python.org/packages/c3/be/327e072850db181ce56afd51e26ec7aa5659b18466c709fa5ea2548c935f/hkdf-${pkgver}.tar.gz")

build() {
  cd "${srcdir}/${pkgname#python-}-${pkgver}"
  python setup.py build
}

package() {
  cd "${srcdir}/${pkgname#python-}-${pkgver}"
  python setup.py install --root="${pkgdir}/" --optimize=1
}

sha256sums=('622a31c634bc185581530a4b44ffb731ed208acf4614f9c795bdd70e77991dca')