#!/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 sha256sums ----

license=(GPL)

validpgpkeys=('EC3CBE7F607D11E663149E811D1F0DC78F173680')

sha256sums=(4edc3b6c65812c2bea70ceb8e4a11b911519a376c33c7884177f8dcd77150744 # python3-memoizedb-2021.tar.xz
	aef447c73e786033b932a6702554559a03260d7af2688d2e02b7e81fb11c7713) #  python3-memoizedb-2021.tar.xz.sig
