mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
34 lines
1 KiB
Text
34 lines
1 KiB
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-secure-cookie
|
|
_pyname=secure-cookie
|
|
pkgver=0.1.0
|
|
pkgrel=2
|
|
pkgdesc="Secure cookies and sessions for WSGI"
|
|
url="https://github.com/pallets/secure-cookie"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3 py3-werkzeug"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/s/secure-cookie/secure-cookie-$pkgver.tar.gz
|
|
werkzeug-2-0-compattible.patch
|
|
"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD"/build/lib pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build
|
|
}
|
|
|
|
sha512sums="
|
|
2e57dba6f73ceb03eda33c804dbe2277c9fe700dd1be219bb3d8d43a5c9105c2323fb6b28d74d3a1dfc8fbbd938b91ab54d3e1bac1dc74490335b1d27e43b55a secure-cookie-0.1.0.tar.gz
|
|
c752939ccf2702b3905d2fefaa8d3f79acbfa84073b3fee549dc301bf881f6176b1597e95be6e2cd225d248a827caeac3abdf626ff57d4210fcd2eaaefd92ab1 werkzeug-2-0-compattible.patch
|
|
"
|