blob: 141558716e4ac00fd0e2a35ae1487441b3554c38 (
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
31
32
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Abdó Roig-Maranges <abdo.roig@gmail.com>
pkgname=python-jwcrypto
_pkgname=${pkgname#*-}
pkgver=1.4.2
pkgrel=3
pkgdesc="Python implementation of JWK, JWS, JWE specifications"
arch=("any")
url="https://github.com/latchset/jwcrypto"
license=("LGPL3")
depends=(
'python<3.11'
'python>=3.10')
makedepends=(
'python-setuptools')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/latchset/$_pkgname/archive/v$pkgver.tar.gz")
sha512sums=('9967e626bc4a13a12ef09bbf3dada589c2c5374f4addff743c3ca9762c66659f59ca2e0f495cda6bc5821b6ed62aae95d478bf14de0acd6b2696bf0e1a9e7a49')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --skip-build --root="${pkgdir}" --optimize=1
rm -Rf "${pkgdir}/usr/share/doc"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|