aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-08-09 03:12:49 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-08-09 03:28:57 +0000
commitae0d6879b5bd756ccf8e07ebfc5f93a67f6719c5 (patch)
treee0dedf0c45fd37f3f9104f58b063f2f621e8aa91
parentacd04a08126e716b6cb03960bf74b1b25255049a (diff)
downloadports-ae0d6879b5bd756ccf8e07ebfc5f93a67f6719c5.tar.gz
ports-ae0d6879b5bd756ccf8e07ebfc5f93a67f6719c5.zip
science/qiskit-aer: Update 0.5.2 -> 0.10.0-72
-rw-r--r--science/qiskit-aer/Makefile17
-rw-r--r--science/qiskit-aer/distinfo8
2 files changed, 17 insertions, 8 deletions
diff --git a/science/qiskit-aer/Makefile b/science/qiskit-aer/Makefile
index 042760b4d1d9..b62084b27288 100644
--- a/science/qiskit-aer/Makefile
+++ b/science/qiskit-aer/Makefile
@@ -1,24 +1,31 @@
PORTNAME= qiskit-aer
-DISTVERSION= 0.5.2
-PORTREVISION= 4
-CATEGORIES= science
+DISTVERSION= 0.10.0-72
+DISTVERSIONSUFFIX= -g021faf8
+CATEGORIES= science # quantum-computing
+
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES= 46d86944f349a177acb40fb8a3adc301c395fe60.patch:-p1 # https://github.com/Qiskit/qiskit-aer/pull/1576
MAINTAINER= yuri@FreeBSD.org
-COMMENT= Simulator for quantum circuits, including noise models
+COMMENT= Quantum circuits simulator submodule of the Qiskit framework
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_i386= undefined reference to `__atomic_load'
+BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
LIB_DEPENDS= libfmt.so:devel/libfmt \
libopenblas.so:math/openblas \
libspdlog.so:devel/spdlog
-USES= cmake compiler:c++11-lang
+USES= cmake compiler:c++11-lang localbase:ldflags
+
USE_GITHUB= yes
GH_ACCOUNT= Qiskit
+CONFIGURE_ENV= DISABLE_CONAN=yes
+
PLIST_FILES= bin/qasm_simulator
.include <bsd.port.mk>
diff --git a/science/qiskit-aer/distinfo b/science/qiskit-aer/distinfo
index fe6c08cfdeae..f35a0708868f 100644
--- a/science/qiskit-aer/distinfo
+++ b/science/qiskit-aer/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1591418268
-SHA256 (Qiskit-qiskit-aer-0.5.2_GH0.tar.gz) = eb6a81cd46acb03802495dad4afc497aa39b5219d3767866b2e23409b105f4bc
-SIZE (Qiskit-qiskit-aer-0.5.2_GH0.tar.gz) = 8164330
+TIMESTAMP = 1660011855
+SHA256 (Qiskit-qiskit-aer-0.10.0-72-g021faf8_GH0.tar.gz) = b300835cb7e737b06b55fc51b891656fecbb88d73c973ed56f0a520315820153
+SIZE (Qiskit-qiskit-aer-0.10.0-72-g021faf8_GH0.tar.gz) = 6682301
+SHA256 (46d86944f349a177acb40fb8a3adc301c395fe60.patch) = d1600a164264ab70698bbbc998e6efe260bd691cd9c807e31088f877bdd2a082
+SIZE (46d86944f349a177acb40fb8a3adc301c395fe60.patch) = 2434