Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
F
FreeBSD ports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
FreeBSD
FreeBSD ports
Commits
390d4205
Commit
390d4205
authored
6 months ago
by
Yuri Victorovich
Browse files
Options
Downloads
Patches
Plain Diff
science/cantera: update 3.0.0 → 3.0.1
parent
9508bf5e
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
science/cantera/Makefile
+17
-7
17 additions, 7 deletions
science/cantera/Makefile
science/cantera/distinfo
+3
-3
3 additions, 3 deletions
science/cantera/distinfo
science/cantera/pkg-plist
+97
-345
97 additions, 345 deletions
science/cantera/pkg-plist
with
117 additions
and
355 deletions
science/cantera/Makefile
+
17
−
7
View file @
390d4205
PORTNAME
=
cantera
DISTVERSIONPREFIX
=
v
DISTVERSION
=
3.0.0
PORTREVISION
=
3
DISTVERSION
=
3.0.1
CATEGORIES
=
science
# chemistry physics
MAINTAINER
=
yuri@FreeBSD.org
...
...
@@ -20,7 +19,7 @@ LIB_DEPENDS= libfmt.so:devel/libfmt \
libopenblas.so:math/openblas
\
libyaml-cpp.so:devel/yaml-cpp
USES
=
compiler:c++17-lang eigen:3 localbase scons
USES
=
compiler:c++17-lang eigen:3
gettext-runtime
localbase scons
USE_LDCONFIG
=
yes
USE_GITHUB
=
yes
...
...
@@ -44,7 +43,7 @@ ALL_TARGET= build
TEST_TARGET
=
test
# some tests fail, see https://github.com/Cantera/cantera/issues/1095
OPTIONS_DEFINE
=
OCTAVE PYTHON
OPTIONS_DEFAULT
=
#
PYTHON
is broken;
OCTAVE is off by default because Octave interface is not a frequently requested feature
OPTIONS_DEFAULT
=
PYTHON
#
OCTAVE is off by default because Octave interface is not a frequently requested feature
OPTIONS_SUB
=
yes
OCTAVE_DESC
=
Octave support
...
...
@@ -60,14 +59,15 @@ PYTHON_USES_OFF= python:env
PYTHON_USE
=
PYTHON
=
cython
PYTHON_MAKE_ARGS
=
python_cmd
=
${
PYTHON_CMD
}
python_package
=
full
PYTHON_MAKE_ARGS_OFF
=
python_package
=
"none"
PYTHON_BUILD_DEPENDS
=
${
PYNUMPY
}
PYTHON_BUILD_DEPENDS
=
${
PYNUMPY
}
\
${
PYTHON_PKGNAMEPREFIX
}
wheel>0:devel/py-wheel@
${
PY_FLAVOR
}
\
${
PYTHON_PKGNAMEPREFIX
}
pip>0:devel/py-pip@
${
PY_FLAVOR
}
PYTHON_RUN_DEPENDS
=
${
PYNUMPY
}
\
${
PYTHON_PKGNAMEPREFIX
}
h5py>0:science/py-h5py@
${
PY_FLAVOR
}
\
${
PYTHON_PKGNAMEPREFIX
}
matplotlib>0:math/py-matplotlib@
${
PY_FLAVOR
}
\
${
PYTHON_PKGNAMEPREFIX
}
pandas>0:math/py-pandas@
${
PY_FLAVOR
}
\
${
PYTHON_PKGNAMEPREFIX
}
ruamel.yaml>0:devel/py-ruamel.yaml@
${
PY_FLAVOR
}
\
${
PYTHON_PKGNAMEPREFIX
}
scipy>0:science/py-scipy@
${
PY_FLAVOR
}
PYTHON_BROKEN
=
https://github.com/Cantera/cantera/issues/1601
do-install
:
cd
${
WRKSRC
}
&&
\
...
...
@@ -76,8 +76,18 @@ do-install:
@${
STRIP_CMD
}
${
STAGEDIR
}${
PREFIX
}
/lib/libcantera_shared.so.
${
PORTVERSION
}
do-install-PYTHON-on
:
# delete .pyc files to fix the stage reference problem, see https://github.com/Cantera/cantera/issues/1601
@
for
f
in
`
${
FIND
}
${
STAGEDIR
}
-name
"*.pyc"
`
;
do
\
${
RM
}
$${
f
};
\
done
# strip
@${
STRIP_CMD
}
${
STAGEDIR
}${
PYTHON_SITELIBDIR
}
/cantera/_cantera.cpython-
${
PYTHON_SUFFIX
}
.so
@${
STRIP_CMD
}
\
${
STAGEDIR
}${
PYTHON_SITELIBDIR
}
/cantera/_cantera.cpython-
${
PYTHON_SUFFIX
}
.so
\
${
STAGEDIR
}${
PREFIX
}
/lib/libcantera_python3_11.so
# remove empty dirs
@${
RMDIR
}
\
${
STAGEDIR
}${
PYTHON_SITELIBDIR
}
/cantera/__pycache__
\
${
STAGEDIR
}${
PYTHON_SITELIBDIR
}
/cantera/with_units/__pycache__
post-patch-OCTAVE-on
:
#
adjust Octave version in SConscript (python styled os.environ['OCTAVE_VERSION'] somehow doesn't work for this)
@${
REINPLACE_CMD
}
-e
"s|, 'bin', 'glnx.*')|, 'lib', 'octave', '
${
OCTAVE_VERSION
}
')|"
${
WRKSRC
}
/src/matlab/SConscript
...
...
This diff is collapsed.
Click to expand it.
science/cantera/distinfo
+
3
−
3
View file @
390d4205
TIMESTAMP = 1
692765950
SHA256 (Cantera-cantera-v3.0.
0
_GH0.tar.gz) =
6d17cdef21dae9deaf91351260b68ccf7e264c37c6030c9d4bf26a2cefb2b905
SIZE (Cantera-cantera-v3.0.
0
_GH0.tar.gz) = 2451
103
TIMESTAMP = 1
726538499
SHA256 (Cantera-cantera-v3.0.
1
_GH0.tar.gz) =
3c51803c2d776e4cb2fed14d5eb17b2fa78a274d0e54d87eb91f23afe3cc4a8c
SIZE (Cantera-cantera-v3.0.
1
_GH0.tar.gz) = 2451
841
SHA256 (LLNL-sundials-887af43_GH0.tar.gz) = 147919c4887c93157c9975f195e8d45903285b61303d42f9dfdee251468abdb7
SIZE (LLNL-sundials-887af43_GH0.tar.gz) = 18888776
This diff is collapsed.
Click to expand it.
science/cantera/pkg-plist
+
97
−
345
View file @
390d4205
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment