blob: e773809ef3e6ce12c45b33631c333030acfd028d (
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
|
# Maintainer: Anna Brünisholz <anna.bruenisholz@gmail.com>
_name=pyberny
pkgname=python-${_name,,}
pkgver=0.6.3
pkgrel=1
pkgdesc="Molecular/crystal structure optimizer"
arch=('any')
url="https://github.com/jhrmnn/pyberny"
license=("MPL-2.0")
depends=('python>=3.5'
python-numpy)
makedepends=('python-installer' 'python-wheel')
_whl="${_name//-/_}-$pkgver-py3-none-any.whl"
source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/$_whl")
sha256sums=('edb37aee86cc0f607b88b7f504dc6708a3eb167c6fc48a7d36bb9f92d0302a1d')
noextract=("$_whl")
package() {
_python_version="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
python -m installer --destdir="$pkgdir" "$_whl"
}
|