# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-fs _pkgname=fs pkgver=2.4.16 pkgrel=3 pkgdesc="Python's filesystem abstraction layer" options="!check" # Tests fail on builder url="https://pypi.org/project/fs/" arch="noarch" license="MIT" replaces="py-fs" # for backwards compatibility provides="py-fs=$pkgver-r$pkgrel" # for backwards compatibility depends="python3 py3-appdirs py3-six py3-setuptools py3-tz" makedepends="py3-setuptools" checkdepends="py3-mock py3-nose py3-openssl py3-psutil py3-pyftpdlib" subpackages="$pkgname-pyc" 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=" 7d9a03b5a782cce048189a7ff527757e60ef6fbb99925713b0179dc9c483f63b54fb1911f39bf2230366c789c526a1b8927863ce93e13a0f71fd8734a7fdb9df fs-2.4.16.tar.gz "