31 lines
891 B
Text
31 lines
891 B
Text
# Contributor: prspkt <prspkt@protonmail.com>
|
|
# Maintainer: prspkt <prspkt@protonmail.com>
|
|
pkgname=py3-jwcrypto
|
|
_pkgname=jwcrypto
|
|
pkgver=0.8
|
|
pkgrel=4
|
|
pkgdesc="Python module implementing JOSE Web standards"
|
|
url="https://github.com/latchset/jwcrypto"
|
|
arch="noarch"
|
|
license="LGPL-3.0-only"
|
|
depends="python3 py3-cryptography py3-six"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-doc $pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"/$_pkgname
|
|
py.test-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="e8dc62d6159e5722a572e049c41edc8e31fe0d022aa47987ab6720c7057cbac2f98cec5d35af1ea02f6bc6efde769810fde4b868e019956b138cfac529cc027d jwcrypto-0.8.tar.gz"
|