2020-12-30 09:37:08 +00:00
|
|
|
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
|
|
|
|
# Co-Maintainer: Maxime "pep" Buquet <archlinux@bouah.net>
|
|
|
|
|
|
|
|
pkgname='python-hkdf'
|
|
|
|
pkgver=0.0.3
|
2021-03-06 08:54:34 +00:00
|
|
|
pkgrel=5
|
2020-12-30 09:37:08 +00:00
|
|
|
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')
|