# Maintainer: Natanael Copa pkgname=py3-pyfakefs _pkgname=${pkgname#py3-} pkgver=5.0.0 pkgrel=0 pkgdesc="fake file system that mocks the Python file system modules" options="!check" # flaky tests url="https://github.com/jmcgeheeiv/pyfakefs/" arch="noarch" license="Apache-2.0" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 807042f7fcffb72590cada04634ec4a1c9bdc901f56012907cef67df2c04e847d23c2f4b6925240664e03d9640d9ebe3f2137efd0d28190de53386bb9a15cca2 pyfakefs-5.0.0.tar.gz "