Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2023 04:20:13 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: df9b162e1d1f - main - =?utf-8?Q?science/dwave-preprocessing:=20Update=200.5.4=20=E2=86=92=200.6.2?=
Message-ID:  <202307120420.36C4KDg3022989@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df9b162e1d1f8030c02b32fae9359a4d0ee014d2

commit df9b162e1d1f8030c02b32fae9359a4d0ee014d2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-12 04:14:01 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-12 04:14:01 +0000

    science/dwave-preprocessing: Update 0.5.4 → 0.6.2
    
    Reported by:    portscout
---
 science/dwave-preprocessing/Makefile               |  2 +-
 science/dwave-preprocessing/distinfo               |  6 ++--
 ...ch-dwave_preprocessing_include_dwave_presolve.h | 11 -------
 .../files/patch-testscpp_Makefile                  | 37 ++++++++--------------
 .../patch-testscpp_tests_test__roof__duality.cpp   | 12 +++----
 5 files changed, 23 insertions(+), 45 deletions(-)

diff --git a/science/dwave-preprocessing/Makefile b/science/dwave-preprocessing/Makefile
index 59b943e612d6..72d49e260fb0 100644
--- a/science/dwave-preprocessing/Makefile
+++ b/science/dwave-preprocessing/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dwave-preprocessing
-DISTVERSION=	0.5.4
+DISTVERSION=	0.6.2
 CATEGORIES=	science # quantum-computing
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/science/dwave-preprocessing/distinfo b/science/dwave-preprocessing/distinfo
index 3856873fccd3..c37a7fdd4f11 100644
--- a/science/dwave-preprocessing/distinfo
+++ b/science/dwave-preprocessing/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687113085
-SHA256 (dwavesystems-dwave-preprocessing-0.5.4_GH0.tar.gz) = 864ec18a8f14a83f0439d3cb6a9006c0d9577012f2cab14b622dc715bac17b24
-SIZE (dwavesystems-dwave-preprocessing-0.5.4_GH0.tar.gz) = 104138
+TIMESTAMP = 1689134786
+SHA256 (dwavesystems-dwave-preprocessing-0.6.2_GH0.tar.gz) = e73f9fcb9210351f02d3982cd497b7fcd2eb935275ba1f2ef798fb87805ef699
+SIZE (dwavesystems-dwave-preprocessing-0.6.2_GH0.tar.gz) = 125568
diff --git a/science/dwave-preprocessing/files/patch-dwave_preprocessing_include_dwave_presolve.h b/science/dwave-preprocessing/files/patch-dwave_preprocessing_include_dwave_presolve.h
deleted file mode 100644
index 729aad02ae68..000000000000
--- a/science/dwave-preprocessing/files/patch-dwave_preprocessing_include_dwave_presolve.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- dwave/preprocessing/include/dwave/presolve.h.orig	2023-06-18 18:36:53 UTC
-+++ dwave/preprocessing/include/dwave/presolve.h
-@@ -19,7 +19,7 @@
- #include <utility>
- #include <vector>
- 
--#include "spdlog/spdlog.h"
-+#include <spdlog/spdlog.h>
- #include "dimod/constrained_quadratic_model.h"
- 
- namespace dwave {
diff --git a/science/dwave-preprocessing/files/patch-testscpp_Makefile b/science/dwave-preprocessing/files/patch-testscpp_Makefile
index e8c4e6997413..4abca62bdf8c 100644
--- a/science/dwave-preprocessing/files/patch-testscpp_Makefile
+++ b/science/dwave-preprocessing/files/patch-testscpp_Makefile
@@ -1,32 +1,21 @@
---- testscpp/Makefile.orig	2022-12-19 19:58:20 UTC
+--- testscpp/Makefile.orig	2023-07-06 22:19:16 UTC
 +++ testscpp/Makefile
-@@ -1,10 +1,10 @@
+@@ -1,15 +1,15 @@
  ROOT := ..
- SRC := $(ROOT)/dwave/preprocessing/
- CATCH2 := $(ROOT)/testscpp/Catch2/single_include/
+ INCLUDE := $(ROOT)/dwave/preprocessing/include
+ SRC := $(ROOT)/dwave/preprocessing/src
 -DIMOD := $(shell python -c 'import dimod; print(dimod.get_include())')
 +#DIMOD := $(shell python -c 'import dimod; print(dimod.get_include())')
+ CATCH2 := $(ROOT)/testscpp/Catch2/single_include/
  SPDLOG := $(ROOT)/extern/spdlog/include/
- INCLUDES := -I $(SRC)/include/ -I $(DIMOD) -I $(CATCH2) -I $(SPDLOG)
--FLAGS := -std=c++17 -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-deprecated-declarations -fcompare-debug-second -O3 
-+FLAGS := ${CXXFLAGS} -std=c++17 -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-deprecated-declarations
- 
- all: update test_main test_main_parallel tests tests_parallel
- 
-@@ -15,12 +15,12 @@ tests_parallel: test_main_parallel.out
- 	./test_main_parallel
+-FLAGS := -std=c++17 -Wall -Wno-unknown-pragmas -fcompare-debug-second -O3
++FLAGS := ${CXXFLAGS} -std=c++17 -Wall -Wno-unknown-pragmas
  
- test_main: test_main.cpp
--	g++ $(FLAGS) -c test_main.cpp
--	g++ $(FLAGS) test_main.o tests/*.cpp -o test_main $(INCLUDES)
-+	${CXX} $(FLAGS) -c test_main.cpp
-+	${CXX} $(FLAGS) ${LDFLAGS} test_main.o tests/*.cpp -o test_main $(INCLUDES)
+ all: update tests
  
- test_main_parallel: test_main.cpp
--	g++ $(FLAGS) -fopenmp -c test_main.cpp -o test_main_parallel.o
--	g++ $(FLAGS) -fopenmp test_main_parallel.o tests/*.cpp -o test_main_parallel $(INCLUDES)
-+	${CXX} $(FLAGS) -fopenmp -c test_main.cpp -o test_main_parallel.o
-+	${CXX} $(FLAGS) ${LDFLAGS} -fopenmp test_main_parallel.o tests/*.cpp -o test_main_parallel $(INCLUDES)
+ test_main.o:
+-	$(CXX) test_main.cpp -c
++	$(CXX) $(FLAGS) test_main.cpp -c
  
- update:
- 	git submodule init
+ # Developer note: we could make this more generic, but because the package structure
+ # is not at all consistent and because we have so few test files I think it's clearer to
diff --git a/science/dwave-preprocessing/files/patch-testscpp_tests_test__roof__duality.cpp b/science/dwave-preprocessing/files/patch-testscpp_tests_test__roof__duality.cpp
index e679ab3df1c0..33d657fdb02c 100644
--- a/science/dwave-preprocessing/files/patch-testscpp_tests_test__roof__duality.cpp
+++ b/science/dwave-preprocessing/files/patch-testscpp_tests_test__roof__duality.cpp
@@ -1,11 +1,11 @@
---- testscpp/tests/test_roof_duality.cpp.orig	2022-12-19 19:58:20 UTC
+--- testscpp/tests/test_roof_duality.cpp.orig	2023-07-06 22:19:16 UTC
 +++ testscpp/tests/test_roof_duality.cpp
-@@ -12,7 +12,7 @@
- // See the License for the specific language governing permissions and
- // limitations under the License.
+@@ -14,7 +14,7 @@
  
--#include "catch2/catch.hpp"
-+#include <catch2/catch.hpp>
  #include <dimod/quadratic_model.h>
  
+-#include "catch2/catch.hpp"
++#include <catch2/catch.hpp>
  #include "dwave-preprocessing/fix_variables.hpp"
+ 
+ namespace fix_variables_ {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307120420.36C4KDg3022989>