summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 507e8c73963345b322fc6995b8ffb192a10933cb (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
# Maintainer: Letu Ren <fantasquex at gmail dot com>
# Contributor: Peter Mattern <pmattern at arcor dot de>
pkgname='python-pyjwkest'
_name=${pkgname#python-}
pkgver=1.4.2
pkgrel=1
pkgdesc='Implementation of JWT, JWS, JWE and JWK'
arch=('any')
url='https://github.com/rohe/${_name}'
license=('Apache')
depends=(
  'python'
  'python-pycryptodomex'
  'python-requests'
  'python-six'
  'python-future'
)
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha512sums=('2d2c8bcd77697850e92ae6c61ac6884cc5f6b62f6104d5f98acf3c0c07f8537cad1dcabd6840f36fcacdbabc04e85f069f94e400bc1aecaa6cb7710aeeb4cf13')

build() {
  cd ${_name}-${pkgver}
  python setup.py build
}

package() {
  cd ${_name}-${pkgver}
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}