summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSameer Puri2024-03-13 10:34:23 -0700
committerSameer Puri2024-03-13 10:36:31 -0700
commit5948ff4be2b31a77f68adda4e587b1258f139667 (patch)
tree8e98cd34ee69a35ccf6d80bf7249c2965784c28c
parent43963a0be1805527eeabc8f600ff3aa6dc2872d2 (diff)
downloadaur-python-or-tools.tar.gz
v9.9
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
-rw-r--r--da02dfeac7f008cb7b30a5487add19401bd94b9e.patch56
3 files changed, 6 insertions, 68 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 22de2f753c7c..f10ef7cd75df 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-or-tools
pkgdesc = Google's Operations Research tools
- pkgver = 9.8
+ pkgver = 9.9
pkgrel = 2
url = https://github.com/google/or-tools
arch = x86_64
@@ -26,9 +26,7 @@ pkgbase = python-or-tools
optdepends = python-pandas: used by some examples
optdepends = python-matplotlib: used by some examples
options = !emptydirs
- source = https://github.com/google/or-tools/archive/v9.8.tar.gz
- source = da02dfeac7f008cb7b30a5487add19401bd94b9e.patch
- b2sums = 03f94d016eb9d89227c98a70cf81af2d018fbadf5debe5dae3767d5ced3f772ecfcd8e00fcf2d4df32086e369d0c5f42700b854f4efb8ea3700b86774680b672
- b2sums = SKIP
+ source = https://github.com/google/or-tools/archive/v9.9.tar.gz
+ b2sums = be3e813e57140c97f451223e481f57085494294e65f5e1c4df1a3429f0bc56d0e6e2145fa41977d4aa98f3765b24a0341863b77926257464bf2ae64858b22186
pkgname = python-or-tools
diff --git a/PKGBUILD b/PKGBUILD
index 876b7abda257..8f51d623469f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Sameer Puri <aur@purisa.me>
pkgname=python-or-tools
-pkgver=9.8
+pkgver=9.9
pkgrel=2
pkgdesc="Google's Operations Research tools"
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
@@ -10,12 +10,8 @@ depends=('python>=3.6' 'swig' 'python-protobuf>=3.19.4' 'absl-py' 'python-numpy>
makedepends=('cmake' 'wget' 'lsb-release' 'automake' 'python-wheel' 'python-pip' 'git' 'python-mypy-protobuf' 'python-virtualenv')
optdepends=('cplex: CPLEX solver support' 'python-pandas: used by some examples' 'python-matplotlib: used by some examples')
options=(!emptydirs)
-source=("https://github.com/google/or-tools/archive/v${pkgver}.tar.gz" "da02dfeac7f008cb7b30a5487add19401bd94b9e.patch")
-b2sums=('03f94d016eb9d89227c98a70cf81af2d018fbadf5debe5dae3767d5ced3f772ecfcd8e00fcf2d4df32086e369d0c5f42700b854f4efb8ea3700b86774680b672' 'SKIP')
-
-prepare() {
- patch --directory="${srcdir}/or-tools-${pkgver}" --forward --strip=1 --input="${srcdir}/da02dfeac7f008cb7b30a5487add19401bd94b9e.patch"
-}
+source=("https://github.com/google/or-tools/archive/v${pkgver}.tar.gz")
+b2sums=('be3e813e57140c97f451223e481f57085494294e65f5e1c4df1a3429f0bc56d0e6e2145fa41977d4aa98f3765b24a0341863b77926257464bf2ae64858b22186')
build() {
cd "${srcdir}/or-tools-${pkgver}"
diff --git a/da02dfeac7f008cb7b30a5487add19401bd94b9e.patch b/da02dfeac7f008cb7b30a5487add19401bd94b9e.patch
deleted file mode 100644
index b8381b194753..000000000000
--- a/da02dfeac7f008cb7b30a5487add19401bd94b9e.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From da02dfeac7f008cb7b30a5487add19401bd94b9e Mon Sep 17 00:00:00 2001
-From: Corentin Le Molgat <corentinl@google.com>
-Date: Tue, 16 Jan 2024 15:09:40 +0100
-Subject: [PATCH] Fix pybind11_* commit sha1sum (Fix #4027)
-
----
- WORKSPACE | 6 ++----
- cmake/dependencies/CMakeLists.txt | 4 ++--
- 2 files changed, 4 insertions(+), 6 deletions(-)
-
-diff --git a/WORKSPACE b/WORKSPACE
-index 86377227f8..e361770963 100644
---- a/WORKSPACE
-+++ b/WORKSPACE
-@@ -219,7 +219,7 @@ install_notebook_deps()
-
- git_repository(
- name = "pybind11_bazel",
-- commit = "fc56ce8a8b51e3dd941139d329b63ccfea1d304b",
-+ commit = "23926b00e2b2eb2fc46b17e587cf0c0cfd2f2c4b", # 2023/11/29
- patches = ["//patches:pybind11_bazel.patch"],
- patch_args = ["-p1"],
- remote = "https://github.com/pybind/pybind11_bazel.git",
-@@ -234,9 +234,7 @@ new_git_repository(
-
- new_git_repository(
- name = "pybind11_protobuf",
-- #build_file = "@pybind11_bazel//:pybind11.BUILD",
-- #tag = "v2.10.3",
-- commit = "5baa2dc9d93e3b608cde86dfa4b8c63aeab4ac78",
-+ commit = "b713501f1da56d9b76c42f89efd00b97c26c9eac", # 2023/11/29
- remote = "https://github.com/pybind/pybind11_protobuf.git",
- )
-
-diff --git a/cmake/dependencies/CMakeLists.txt b/cmake/dependencies/CMakeLists.txt
-index af3a28c113..f6ec06b2d0 100644
---- a/cmake/dependencies/CMakeLists.txt
-+++ b/cmake/dependencies/CMakeLists.txt
-@@ -164,7 +164,7 @@ if(BUILD_PYTHON AND BUILD_pybind11)
- FetchContent_Declare(
- pybind11
- GIT_REPOSITORY "https://github.com/pybind/pybind11.git"
-- GIT_TAG "v2.10.3"
-+ GIT_TAG "v2.11.1"
- PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/../../patches/pybind11.patch"
- )
- FetchContent_MakeAvailable(pybind11)
-@@ -178,7 +178,7 @@ if(BUILD_PYTHON AND BUILD_pybind11_protobuf)
- FetchContent_Declare(
- pybind11_protobuf
- GIT_REPOSITORY "https://github.com/pybind/pybind11_protobuf.git"
-- GIT_TAG "main"
-+ GIT_TAG "b713501f1da56d9b76c42f89efd00b97c26c9eac" # 2023/11/29
- PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/../../patches/pybind11_protobuf.patch"
- )
- FetchContent_MakeAvailable(pybind11_protobuf)