blob: c3cf26b3a69a86232820aba6a4277eb945c3e706 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-ruffus
pkgver=2.8.3
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="b6d94a135af4858b90a5a9183836d35b1123c73d328762d48736a60a501881e8d3aad9853a64d3fd1aa2eb2c8db71128d6572c563f6298b39b58e48e700901b7 ruffus-2.8.3.tar.gz"
|