# Maintainer: Sol Bekic <s+aur at s-ol dot nu>

_name=ortools
_py=cp312
pkgname=("python-$_name-whl")
pkgver=9.10.4067
pkgrel=1
pkgdesc="Google's Operations Research tools"
arch=('x86_64')
url="https://github.com/google/or-tools"
license=('Apache-2.0')
provides=("python-$_name")
conflicts=("python-$_name")
makedepends=('python-pip' 'python-wheel')
depends=('python' 'python-protobuf' 'absl-py' 'python-numpy' 'python-requests')
source=("https://files.pythonhosted.org/packages/$_py/${_name::1}/$_name/${_name//-/_}-$pkgver-$_py-${_py}-manylinux_2_17_x86_64.manylinux2014_x86_64.whl")
sha256sums=('bdc8980266522e2c203e07fe7c83f286408f475998dd2748531455576a4fcdfd')

package() {
  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl
}
