jobextra/python3-memoizedb/PKGBUILD
2022-03-20 14:34:07 +02:00

43 lines
1.4 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=python3-memoizedb
pkgver=2021
pkgrel=02
pkgdesc='Generic data retrieval memoizer that uses an sqlite database to cache data.'
arch=(any)
url="https://xyne.dev/projects/python3-memoizedb"
depends=(python3)
source=(
https://xyne.dev/projects/python3-memoizedb/src/python3-memoizedb-2021.tar.xz
https://xyne.dev/projects/python3-memoizedb/src/python3-memoizedb-2021.tar.xz.sig
)
package ()
{
cd "$srcdir/$pkgname-$pkgver"
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
#---- license gpg-key sha512sums ----
license=(GPL)
validpgpkeys=('EC3CBE7F607D11E663149E811D1F0DC78F173680')
sha512sums=(
33667aa062742bcc42410048b8c397031103aac144e863ad074d60e8169611d849a589e331407c26c49d9de4ebd9281978ef2d8b0ee058b4df1db8458f1c6aaf
76e4b0e3a1c0653790368c3b387fa14fc2013283aebe0cabf1776f469f89a14661ac974ef324a2162ea16fc973ccd721ba2b9cc726c956eb1600b7b8ebfd5115
)
md5sums=(
6c522e5b6aea2360a5e3cf4fe1dd05b6
741ca0316c97fd44d200e3ce0707958d
)
sha256sums=(4edc3b6c65812c2bea70ceb8e4a11b911519a376c33c7884177f8dcd77150744 # python3-memoizedb-2021.tar.xz
aef447c73e786033b932a6702554559a03260d7af2688d2e02b7e81fb11c7713) # python3-memoizedb-2021.tar.xz.sig