blob: d8e6fe798fe8b18bd51eef9385895d98f79b0d49 (
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
33
|
# Maintainer: Cyril <cyrwae[at]hotmail[dot]com>
pkgname=python-olca-ipc
_name=${pkgname#python-}
pkgver=2.0.3
pkgrel=1
pkgdesc="API for communicating with an openLCA IPC server"
arch=('x86_64')
url="https://github.com/GreenDelta/olca-ipc.py"
license=('MPL2')
groups=()
depends=()
makedepends=(python-build python-installer python-wheel)
optdepends=()
provides=('python-olca-ipc')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz)
noextract=()
md5sums=('5b179d75dfd015c18b5dfba9063cb95f')
build() {
cd ${_name//-/_}-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd ${_name//-/_}-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
}
|