blob: f502075c7fefae71af66cd827873f42af9bb4910 (
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
|
# Maintainer: Oystein Sture <oysstu a.t protonmail.com>
# Contributor:
pkgname=python-imcpy
pkgver=1.1.0
pkgrel=1
pkgdesc="Python bindings for Inter-Module Communication Protocol (IMC)"
arch=("any")
license=("MIT")
url="https://github.com/oysstu/imcpy"
depends=('python' 'python-ifaddr')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'cmake')
optdepends=('python-pandas: LSFExporter')
source=("git+https://github.com/oysstu/imcpy.git#tag=v${pkgver}")
sha256sums=('SKIP')
prepare() {
cd "imcpy"
git submodule update --init --recursive
}
build() {
cd "imcpy"
python setup.py build
}
package() {
cd "imcpy"
python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
}
|