archpkgs/python-hkdf/PKGBUILD
Gabriel Ebner 6345fa008e git subrepo pull python-hkdf
subrepo:
  subdir:   "python-hkdf"
  merged:   "5c08029"
upstream:
  origin:   "https://aur.archlinux.org/python-hkdf"
  branch:   "master"
  commit:   "5c08029"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2021-03-06 09:54:34 +01:00

26 lines
846 B
Bash

# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
# Co-Maintainer: Maxime "pep" Buquet <archlinux@bouah.net>
pkgname='python-hkdf'
pkgver=0.0.3
pkgrel=5
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')