archpkgs/python-hkdf/PKGBUILD
Gabriel Ebner 21169d9869 git subrepo clone https://aur.archlinux.org/python-hkdf
subrepo:
  subdir:   "python-hkdf"
  merged:   "0084d22"
upstream:
  origin:   "https://aur.archlinux.org/python-hkdf"
  branch:   "master"
  commit:   "0084d22"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2020-12-30 10:37:08 +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=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')