# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=py3-ruffus pkgver=2.8.2 pkgrel=0 pkgdesc="Python library for computational pipelines" url="http://www.ruffus.org.uk/" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/r/ruffus/ruffus-$pkgver.tar.gz" builddir="$srcdir/ruffus-$pkgver" replaces=py-ruffus # Backwards compatibility provides=py-ruffus=$pkgver-r$pkgrel # Backwards compatibility prepare() { default_prepare # remove interpreter line from libraries sed -i '/#!\//d' ruffus/*/*.py } build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="7962c335ea1fd3d3e56f2e2cf44423f2e83616bdedbdb1696afccd0e070070366ab4493b72f562826651ada81a722bb315d64f4fc045850e6e9052daa78f5d90 ruffus-2.8.2.tar.gz"