# Maintainer: Ismo Toijala pkgname=python-simpleeval _name=${pkgname#python-} pkgver=0.9.6 pkgrel=2 pkgdesc="A simple, safe single expression evaluator library." arch=(any) url="https://github.com/danthedeckie/simpleeval" license=(MIT) depends=( python ) makedepends=( python-setuptools ) source=( "https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz" "https://raw.githubusercontent.com/danthedeckie/simpleeval/${pkgver}/LICENCE" ) sha256sums=( 848fdb9ee5f30cf93b9f0d840db6e7562633d20abf7d67c2382a0a2162a79410 91efc982fa45add893fa80ec3ab1524f31e50a1386adba1424ddcf432359850a ) prepare() { cd "${_name}-${pkgver}" # don't try to install missing dependencies, error instead cat >> setup.cfg <