From 80589210e36fb6ef81782fcc40e6497fb9912d2e Mon Sep 17 00:00:00 2001 From: s-ol Date: Sun, 16 Mar 2025 16:59:35 +0100 Subject: initial commit --- python-or-tools-whl/PKGBUILD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 python-or-tools-whl/PKGBUILD (limited to 'python-or-tools-whl') diff --git a/python-or-tools-whl/PKGBUILD b/python-or-tools-whl/PKGBUILD new file mode 100644 index 0000000..9698784 --- /dev/null +++ b/python-or-tools-whl/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Sol Bekic + +_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 +} -- cgit v1.2.3