# Contributor: Andy Hawkins # Maintainer: Andy Hawkins pkgname=py3-makefun pkgver=1.15.1 pkgrel=1 pkgdesc="Small library to dynamically create python functions" url="https://github.com/smarie/python-makefun" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends=" py3-pytest py3-pytest-runner py3-setuptools py3-setuptools_scm " subpackages="$pkgname-pyc" source="https://pypi.python.org/packages/source/m/makefun/makefun-$pkgver.tar.gz" builddir="$srcdir/makefun-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" d5a43283eba61576546dbce7791825607a813658a4ef68ed6d173f8438e08f6a84027a7ce75a748e245f8dd532ca6a9eb1afa0ce795517e77b08f03c29fea034 makefun-1.15.1.tar.gz "