git: 2de22b0859b1 - main - science/py-dwave-samplers: update 1.1.0 → 1.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Jan 2024 02:22:49 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2de22b0859b180bc9009046cf98a88714e41a590
commit 2de22b0859b180bc9009046cf98a88714e41a590
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-19 02:21:47 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-19 02:22:38 +0000
science/py-dwave-samplers: update 1.1.0 → 1.2.0
Reported by: portscout
---
science/py-dwave-samplers/Makefile | 9 +++++----
science/py-dwave-samplers/distinfo | 6 +++---
science/py-dwave-samplers/files/patch-pyproject.toml | 15 ---------------
3 files changed, 8 insertions(+), 22 deletions(-)
diff --git a/science/py-dwave-samplers/Makefile b/science/py-dwave-samplers/Makefile
index 12580770ba12..4a4d82668249 100644
--- a/science/py-dwave-samplers/Makefile
+++ b/science/py-dwave-samplers/Makefile
@@ -1,5 +1,5 @@
PORTNAME= dwave-samplers
-DISTVERSION= 1.1.0
+DISTVERSION= 1.2.0
CATEGORIES= science python # quantum-computing
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,16 +10,17 @@ WWW= https://github.com/dwavesystems/dwave-samplers
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.12.1:science/py-dimod@${PY_FLAVOR} \
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dimod>=0.12.13:science/py-dimod@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}networkx>=2.6.3:math/py-networkx@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}reno>0:textproc/py-reno@${PY_FLAVOR}
-BUILD_DEPENDS= ${PY_DEPENDS}
+BUILD_DEPENDS= ${PY_DEPENDS} \
+ ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR}
RUN_DEPENDS= ${PY_DEPENDS}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils cython unittest
+USE_PYTHON= distutils unittest
USE_GITHUB= yes
GH_ACCOUNT= dwavesystems
diff --git a/science/py-dwave-samplers/distinfo b/science/py-dwave-samplers/distinfo
index d905baf1915c..fecdbb1d4f3b 100644
--- a/science/py-dwave-samplers/distinfo
+++ b/science/py-dwave-samplers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1690091243
-SHA256 (dwavesystems-dwave-samplers-1.1.0_GH0.tar.gz) = ca254ece94421305ffa2202a328f1068312699bc4aacf87984e6b50ce59db205
-SIZE (dwavesystems-dwave-samplers-1.1.0_GH0.tar.gz) = 146912
+TIMESTAMP = 1705614591
+SHA256 (dwavesystems-dwave-samplers-1.2.0_GH0.tar.gz) = 080fd7d78a173efb14a5333315a587725a8b3c9ce084865e78cff66afc793204
+SIZE (dwavesystems-dwave-samplers-1.2.0_GH0.tar.gz) = 147099
diff --git a/science/py-dwave-samplers/files/patch-pyproject.toml b/science/py-dwave-samplers/files/patch-pyproject.toml
deleted file mode 100644
index bd6206e88df1..000000000000
--- a/science/py-dwave-samplers/files/patch-pyproject.toml
+++ /dev/null
@@ -1,15 +0,0 @@
---- pyproject.toml.orig 2022-11-25 23:11:15 UTC
-+++ pyproject.toml
-@@ -3,9 +3,9 @@ requires = [
- "setuptools>=46.4.0", # PEP-420 support, PEP-517/518 support, setup.cfg attr: support
- "wheel>=0.30.0", # limited python api support
- "cython>=0.29.24,<3.0",
-- 'dimod==0.12.0',
-- 'numpy==1.19.0;python_version<"3.9"', # C API for numpy.random
-- 'oldest-supported-numpy;python_version>="3.9"',
-+ 'dimod>=0.12.0',
-+ 'numpy>=1.19.0;python_version<"3.9"', # C API for numpy.random
-+ #'oldest-supported-numpy;python_version>="3.9"',
- ]
- build-backend = "setuptools.build_meta"
-