pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-cantera: wip, committing for mailing list discussion



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Mon Sep 23 22:50:57 2024 +0530
Changeset:	edc0384fa7c5cd2b87800079341e8c6b0412014c

Modified Files:
	py-cantera/Makefile
	py-cantera/TODO
	py-cantera/distinfo
Added Files:
	py-cantera/patches/patch-SConstruct

Log Message:
py-cantera: wip, committing for mailing list discussion

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=edc0384fa7c5cd2b87800079341e8c6b0412014c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-cantera/Makefile                 | 12 +++++++++++-
 py-cantera/TODO                     |  5 ++++-
 py-cantera/distinfo                 |  1 +
 py-cantera/patches/patch-SConstruct | 13 +++++++++++++
 4 files changed, 29 insertions(+), 2 deletions(-)

diffs:
diff --git a/py-cantera/Makefile b/py-cantera/Makefile
index 982f591d59..eef2d51fca 100644
--- a/py-cantera/Makefile
+++ b/py-cantera/Makefile
@@ -24,7 +24,17 @@ SCONS_BUILD_ARGS+=	build
 PKGCONFIG_OVERRIDE+=	platform/posix/cantera.pc.in
 
 DEPENDS+=	${PYPKGPREFIX}-packaging>0:../../devel/py-packaging
-
+DEPENDS+=	googletest>=1.15.2:../../devel/googletest
+DEPENDS+=	eigen3>=3.4.0:../../math/eigen3
+DEPENDS+=	boost-libs>=1.85.0:../../devel/boost-libs
+DEPENDS+=	sundials>=7.1.1:../../wip/sundials
+
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../math/eigen3/buildlink3.mk"
+.include "../../wip/sundials/buildlink3.mk"
+.include "../../textproc/yaml-cpp/buildlink3.mk"
+.include "../../textproc/fmtlib/buildlink3.mk"
 .include "../../devel/scons4/build.mk"
+.include "../../devel/googletest/buildlink3.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-cantera/TODO b/py-cantera/TODO
index f3842c4f6a..07cc921b07 100644
--- a/py-cantera/TODO
+++ b/py-cantera/TODO
@@ -1 +1,4 @@
-wip: committed to seek help on mailing list
+Requires this in scons4/build.mk
+
+	_SCONS_BUILD_ARGS+=     prefix=${PREFIX}
+
diff --git a/py-cantera/distinfo b/py-cantera/distinfo
index c4e908cfe2..2f88b4acfc 100644
--- a/py-cantera/distinfo
+++ b/py-cantera/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
 BLAKE2s (cantera/v3.1.0a4.tar.gz) = 43809ea958c6d95d4e4877c27020510b53d921b94b1d65127e301a4ab25077d4
 SHA512 (cantera/v3.1.0a4.tar.gz) = 9083659cfd534f4cc019daddff7ce6fa370d3c79c043ebcc0d9330c52f9bb5d87887e40cbf125e40c853d22a63c759aa19ff05ae74810ebcc943303aeee679d4
 Size (cantera/v3.1.0a4.tar.gz) = 2551741 bytes
+SHA1 (patch-SConstruct) = 440d2da5fcc4c3a7bcbc58c81e3bc82dd7f2265f
diff --git a/py-cantera/patches/patch-SConstruct b/py-cantera/patches/patch-SConstruct
new file mode 100644
index 0000000000..e03b44f981
--- /dev/null
+++ b/py-cantera/patches/patch-SConstruct
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- SConstruct.orig	2024-09-23 15:15:56.609908629 +0000
++++ SConstruct
+@@ -850,7 +850,7 @@ else:
+     toolchain = ["default"]
+ 
+ env = Environment(tools=toolchain+["textfile", "subst", "recursiveInstall", "UnitsInterfaceBuilder", "wix", "gch"],
+-                  ENV={"PATH": os.environ["PATH"]},
++                  ENV=os.environ,
+                   toolchain=toolchain,
+                   **extraEnvArgs)
+ 


Home | Main Index | Thread Index | Old Index