blob: df722cbda11537357b69690787488ccce1623f4b (
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
|
# Maintainer: Tomasz Zok <tomasz dot zok at gmail dot com>
pkgname=python-cli2rest-bio-git
_pkgname=cli2rest-bio
# pkgver is automatically generated by the pkgver() function
pkgver=0.1.1.r0.g762ab53
pkgrel=1
pkgdesc="Automatic configurations for wrapping different bioinformatics tools in cli2rest container images"
arch=('any')
url="https://github.com/tzok/cli2rest-bio"
license=('MIT')
depends=('python-docker' 'python-requests' 'python-pyyaml' 'docker')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel')
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|