git: e6b7476e34d4 - main - science/py-tweedledum: update 1.1.1 → 1.1.1-20221123
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jun 2024 04:24:22 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e6b7476e34d48d04d5a2878866366ce75999c355
commit e6b7476e34d48d04d5a2878866366ce75999c355
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-03 04:21:54 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-03 04:24:15 +0000
science/py-tweedledum: update 1.1.1 → 1.1.1-20221123
---
science/py-tweedledum/Makefile | 15 ++++++++++-----
science/py-tweedledum/distinfo | 8 +++++---
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/science/py-tweedledum/Makefile b/science/py-tweedledum/Makefile
index a84812a9390c..10ce11b59787 100644
--- a/science/py-tweedledum/Makefile
+++ b/science/py-tweedledum/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tweedledum
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.1
+DISTVERSION= 1.1.1-20221123
CATEGORIES= science python # quantum-computing
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,10 +21,15 @@ USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://github.c
USE_GITHUB= yes
GH_ACCOUNT= boschmitt
+GH_TAGNAME= 9d3a2fa
+GH_TUPLE= pybind:pybind11:v2.12.0:pybind11
-.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1400000
-USE_GCC= 12
-.endif
+#MAKE_ENV= CMAKE_ARGS=-DTWEEDLEDUM_USE_EXTERNAL_PYBIND11=ON # external pybind11 should work but it fails to configure
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC= ${WRKSRC}/python/test
+
+post-extract:
+ @${RM} -r ${WRKSRC}/external/pybind11
+ @${CP} -r ${WRKSRC_pybind11} ${WRKSRC}/external/pybind11
.include <bsd.port.mk>
diff --git a/science/py-tweedledum/distinfo b/science/py-tweedledum/distinfo
index 9695e73327fe..5d94cbc01fd6 100644
--- a/science/py-tweedledum/distinfo
+++ b/science/py-tweedledum/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1659924254
-SHA256 (boschmitt-tweedledum-v1.1.1_GH0.tar.gz) = ba1c79808dfae1cf65a06eb6c5aeee4daf9e826386c582b5fea0c5c634f4d15b
-SIZE (boschmitt-tweedledum-v1.1.1_GH0.tar.gz) = 5105832
+TIMESTAMP = 1717377388
+SHA256 (boschmitt-tweedledum-v1.1.1-20221123-9d3a2fa_GH0.tar.gz) = 5c87dc693dbe9e58853e5ef00c99cff4ba060bdde9577c882db0b0fa700012eb
+SIZE (boschmitt-tweedledum-v1.1.1-20221123-9d3a2fa_GH0.tar.gz) = 5205908
+SHA256 (pybind-pybind11-v2.12.0_GH0.tar.gz) = bf8f242abd1abcd375d516a7067490fb71abd79519a282d22b6e4d19282185a7
+SIZE (pybind-pybind11-v2.12.0_GH0.tar.gz) = 771004