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
4f22ba27
Commit
4f22ba27
authored
3 years ago
by
Yuri Victorovich
Browse files
Options
Downloads
Patches
Plain Diff
science/py-PyNE: Add the moab dependency; Install the nuc_data.h5 file; Build in parallel
parent
4ab191a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
science/py-PyNE/Makefile
+18
-5
18 additions, 5 deletions
science/py-PyNE/Makefile
science/py-PyNE/distinfo
+3
-1
3 additions, 1 deletion
science/py-PyNE/distinfo
science/py-PyNE/pkg-plist
+2
-0
2 additions, 0 deletions
science/py-PyNE/pkg-plist
with
23 additions
and
6 deletions
science/py-PyNE/Makefile
+
18
−
5
View file @
4f22ba27
PORTNAME
=
PyNE
DISTVERSION
=
0.7.5
PORTREVISION
=
1
CATEGORIES
=
science
MASTER_SITES
=
http://raw.githubusercontent.com/pyne/data/master/:decay
\
http://raw.githubusercontent.com/pyne/data/master/:cram
\
http://raw.githubusercontent.com/pyne/data/master/:dlc
\
http://raw.githubusercontent.com/pyne/data/master/:clc
http://raw.githubusercontent.com/pyne/data/master/:clc
\
https://github.com/pyne/data/raw/master/:nuc_data
PKGNAMEPREFIX
=
${
PYTHON_PKGNAMEPREFIX
}
DISTFILES
=
decay.tar.gz:decay
\
cram.tar.gz:cram
\
decay-linux-clang.tar.gz:dlc
\
cram-linux-clang.tar.gz:clc
cram-linux-clang.tar.gz:clc
\
prebuilt_nuc_data.h5:nuc_data
DIST_SUBDIR
=
${
PORTNAME
}
-
${
PORTVERSION
}
EXTRACT_ONLY
=
${
DISTNAME
}
.tar.gz
...
...
@@ -26,6 +29,7 @@ PY_DEPENDS= ${PYNUMPY} \
BUILD_DEPENDS
=
cmake:devel/cmake
\
${
PY_DEPENDS
}
LIB_DEPENDS
=
libhdf5.so:science/hdf5
\
libMOAB.so:math/moab
\
libsz.so:science/szip
RUN_DEPENDS
=
${
PY_DEPENDS
}
...
...
@@ -39,8 +43,15 @@ GH_PROJECT= pyne
MAKE_ENV
=
DESTDIR
=
${
STAGEDIR
}
FFLAGS
+=
-fallow-argument-mismatch
PYDISTUTILS_BUILDARGS
=
--slow
# this chooses slow compilation of sources from {decay,cram
}
.tar.gz
# over incompatible pre-compiled assembly from {decay,cram}-linux-clang.tar.gz
# all arguments are described here: http://pyne.io/install/source.html#source
PY_EXTRA_ARGS
=
--slow
# this chooses slow compilation of sources from {decay,cram
}
.tar.gz
# over incompatible pre-compiled assembly from {decay,cram}-linux-clang.tar.gz
PY_EXTRA_ARGS
+=
${
_MAKE_JOBS
}
PY_EXTRA_ARGS
+=
--hdf5
${
LOCALBASE
}
PY_EXTRA_ARGS
+=
--moab
${
LOCALBASE
}
PYDISTUTILS_CONFIGUREARGS
=
${
PY_EXTRA_ARGS
}
PYDISTUTILS_BUILDARGS
=
${
PY_EXTRA_ARGS
}
post-extract
:
.for
f
in
decay.tar.gz
cram.tar.gz
decay-linux-clang.tar.gz
cram-linux-clang.tar.gz
...
...
@@ -48,9 +59,11 @@ post-extract:
.
endfor
do-install
:
# install
# install
project
cd
${
INSTALL_WRKSRC
}
&&
\
${
SETENV
}
${
MAKE_ENV
}
${
PYTHON_CMD
}
${
PYDISTUTILS_SETUP
}
${
PYDISTUTILS_INSTALL_TARGET
}
# also install nuc_data.h5 because it is referred to in the code and is required by Jupyter notebooks
${
INSTALL_DATA
}
${
DISTDIR
}
/
${
DIST_SUBDIR
}
/prebuilt_nuc_data.h5
${
STAGEDIR
}${
PYTHON_SITELIBDIR
}
/pyne/nuc_data.h5
# strip
${
STRIP_CMD
}
\
${
STAGEDIR
}${
LOCALBASE
}
/lib/lib
*
.so
\
...
...
This diff is collapsed.
Click to expand it.
science/py-PyNE/distinfo
+
3
−
1
View file @
4f22ba27
TIMESTAMP = 1633
733586
TIMESTAMP = 1633
887568
SHA256 (PyNE-0.7.5/decay.tar.gz) = aa1aa69cb84685731eb234c046c56f9167a0bcc9686ccd5437f62186ac9bd441
SIZE (PyNE-0.7.5/decay.tar.gz) = 8012492
SHA256 (PyNE-0.7.5/cram.tar.gz) = 5ea1443226234787e0b8ef7f1d4c9cb0a6846b9da00bc843557051ad74e4a2f5
...
...
@@ -7,5 +7,7 @@ SHA256 (PyNE-0.7.5/decay-linux-clang.tar.gz) = 6fa05231e7fbfe5994e9a6705131bdcac
SIZE (PyNE-0.7.5/decay-linux-clang.tar.gz) = 18904467
SHA256 (PyNE-0.7.5/cram-linux-clang.tar.gz) = 0a7a04b5268db91fea7bec75dbefe3ec23036f9e250aacc6fb353d17d8e84538
SIZE (PyNE-0.7.5/cram-linux-clang.tar.gz) = 20477898
SHA256 (PyNE-0.7.5/prebuilt_nuc_data.h5) = 77a8fbda6db3ed154766f4a7c134651ba710f52d35304f0e456dc6f7e7a69936
SIZE (PyNE-0.7.5/prebuilt_nuc_data.h5) = 13021601
SHA256 (PyNE-0.7.5/pyne-pyne-0.7.5_GH0.tar.gz) = 80143d5e232b89ffd89121363c0e1e615acc28c26f5d7682521eb9baf98311c4
SIZE (PyNE-0.7.5/pyne-pyne-0.7.5_GH0.tar.gz) = 9262728
This diff is collapsed.
Click to expand it.
science/py-PyNE/pkg-plist
+
2
−
0
View file @
4f22ba27
...
...
@@ -206,6 +206,7 @@ lib/libpyne.so
%%PYTHON_SITELIBDIR%%/pyne/mcnp.py
%%PYTHON_SITELIBDIR%%/pyne/mesh.py
%%PYTHON_SITELIBDIR%%/pyne/njoy.py
%%PYTHON_SITELIBDIR%%/pyne/nuc_data.h5
%%PYTHON_SITELIBDIR%%/pyne/nucname.pxd
%%PYTHON_SITELIBDIR%%/pyne/nucname.so
%%PYTHON_SITELIBDIR%%/pyne/openmc_utils.py
...
...
@@ -224,6 +225,7 @@ lib/libpyne.so
%%PYTHON_SITELIBDIR%%/pyne/source.pxd
%%PYTHON_SITELIBDIR%%/pyne/source.so
%%PYTHON_SITELIBDIR%%/pyne/source_sampling.pxd
%%PYTHON_SITELIBDIR%%/pyne/source_sampling.so
%%PYTHON_SITELIBDIR%%/pyne/spatialsolver.py
%%PYTHON_SITELIBDIR%%/pyne/spectanalysis.py
%%PYTHON_SITELIBDIR%%/pyne/stlcontainers.pxd
...
...
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