mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
32 lines
931 B
Text
32 lines
931 B
Text
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
pkgname=py3-ruffus
|
|
pkgver=2.8.4
|
|
pkgrel=3
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="5f38ad4ca5aca007e63b59be6117af85618bc27e8d98cc3b32add82ac48766c37b3fb2633a28c98941397ab3154553ba57509b321d2c80d01c753ac189f092e7 ruffus-2.8.4.tar.gz"
|