From 2de22b0859b180bc9009046cf98a88714e41a590 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Thu, 18 Jan 2024 18:21:47 -0800 Subject: [PATCH] =?UTF-8?q?science/py-dwave-samplers:=20update=201.1.0=20?= =?UTF-8?q?=E2=86=92=201.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported by: portscout --- science/py-dwave-samplers/Makefile | 9 +++++---- science/py-dwave-samplers/distinfo | 6 +++--- .../py-dwave-samplers/files/patch-pyproject.toml | 15 --------------- 3 files changed, 8 insertions(+), 22 deletions(-) delete mode 100644 science/py-dwave-samplers/files/patch-pyproject.toml diff --git a/science/py-dwave-samplers/Makefile b/science/py-dwave-samplers/Makefile index 12580770ba122..4a4d826682496 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 d905baf1915c2..fecdbb1d4f3b8 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 bd6206e88df1f..0000000000000 --- 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" -