summaryrefslogtreecommitdiffstats
path: root/python-or-tools-whl
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2025-03-16 15:59:35 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-16 15:59:35 +0000
commit80589210e36fb6ef81782fcc40e6497fb9912d2e (patch)
tree5bdf100beb6db693f95dd07b181dd1950c2b8319 /python-or-tools-whl
downloadaur-80589210e36fb6ef81782fcc40e6497fb9912d2e.tar.gz
aur-80589210e36fb6ef81782fcc40e6497fb9912d2e.zip
initial commit
Diffstat (limited to 'python-or-tools-whl')
-rw-r--r--python-or-tools-whl/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
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 <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
+}