gpo.zugaina.org

Search Portage & Overlays:

dev-python/pyprismatic

Python bindings for the Prismatic STEM simulation framework

Screenshots

  • pyprismatic-2.0
    ~amd64
    gpu python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 debug

    View      Download      Browse     License: GPL-3   
    Overlay: stuff

ChangeLog

commit 946b3d5e6f85aa6d17632eb69d8c14152e056548
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 23:16:52 2026 +0200

*/*: normalize metadata.xml DTD URL and indent

Repo-wide sweep: 144 metadata.xml files updated to use the
https://www.gentoo.org/dtd/metadata.dtd DTD URL (was http://) and
2-space indentation (was tabs). Maintainer blocks left untouched —
the 2026-04-22 normalization sweep added <name> alongside <email>
where the maintainer was Ivan, but third-party maintainer entries
(lebedev.vasya@gmail.com, megagreener@gmail.com, brothermechanic@gmail.com,
etc.) keep their email-only blocks since we can't safely guess the
corresponding <name>.

pkgcheck stays silent on all metadata-* and maintainer-* checks.

commit 5db7d981962ce867a53e7c9f893077f652030376
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 16:24:34 2026 +0200

dev-python/pyprismatic: bump nvcc -arch to sm_75 on CUDA 13

Mirrors the sci-physics/prismatic CUDA 13 fix: the bundled CMakeLists.txt hard-codes
`-arch=sm_60`, which CUDA 13 rejects because compute capability < 7.5 was dropped.
Adds a src_prepare that, when CUDA_VERSION reported by the live cuda.h is >= 13000,
sed-replaces the line to `-arch=sm_75`. CUDA 12 systems keep the original sm_60.
Tested live with nvidia-cuda-toolkit-13.2.1: pyprismatic-2.0 USE=gpu builds and
`import pyprismatic` succeeds.

commit 0b54b7d9b325c875843cd3541cb936fb4248f47c
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 13:53:29 2026 +0200

dev-python/pyprismatic: declare upstream numpy lower bound

Upstream setup.py for 2.0 declares install_requires=['numpy>=1.13.0'];
the ebuild was leaving the version unbounded. Tighten the lower bound.
h5py and scipy are intentionally kept in RDEPEND despite being absent
from upstream metadata: pyprismatic/process.py and __init__.py import
them directly.

commit 44e29ed04b834235689a4cb9760a712a31ec5b05
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Apr 24 20:13:03 2026 +0200

dev-python/pyprismatic: fix 2.0 build and declare missing Python deps

The ebuild didn't build against current ::gentoo and wouldn't import
even if it did. Fixes:

* cxx17-standard.patch: CMAKE_CXX_STANDARD 11 -> 17 (Boost 1.90 math
headers require it) plus NVCC_FLAGS_EXTRA -std=c++11 -> c++17 for
the gpu path.
* boost-bessel-qualify.patch: disambiguate cyl_bessel_k between
boost::math:: and C++17's std::cyl_bessel_k in projectedPotential.
* complex-literal.patch: std::complex<float> = 0.0 + 1.0i no longer
narrows silently under GCC 15; use the two-arg constructor.

Three patches are copies of the ones landed in sci-physics/prismatic
(same upstream source tree); packages own their own FILESDIR.

Ebuild cleanups:

* Drop unused debug / python / doc IUSE; the flags had no wiring.
* Move dev-build/cmake from RDEPEND to BDEPEND, move CUDA there too
under gpu? (build-time only).
* Drop the cargo-cult BUILD_DIR=$ override.

Runtime deps fix:

* Add dev-python/{numpy,h5py,scipy} via python_gen_cond_dep. These
were missing entirely -- import pyprismatic pulls them in via
process.py / fileio.py, so the previous ebuild would ImportError
at first use regardless of build success.

Tested on python3.13: core.so builds, loads, and exposes the go()
entry point. Full import pyprismatic blocked on this host by an
unrelated system-wide h5py/HDF5 ABI mismatch.

commit b91cd93a12cb39be1b4976cdc1af27ca13ce34e5
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Apr 21 15:16:42 2026 +0200

*/*: bump PYTHON_COMPAT from python3_ to python3_

::gentoo has dropped python3.11 from most of the scientific Python
stack - scipy, pandas, ipython, sphinx, sympy, etc. all target
python3_ now. Overlay ebuilds still claiming python3_11
support therefore fail to resolve their PYTHON_USEDEP=[...,
python_targets_python3_11(-),...] clauses against those upstream
packages, which is the bulk of pkgcheck's NonsolvableDeps noise.

Sweep PYTHON_COMPAT across the overlay accordingly. Files touched
include 193 pure-python3 ebuilds plus 4 sci-libs/pycifrw ebuilds that
retain the python2_7 target. Commented-out COMPAT lines and one
ebuild using a custom $ array are left alone.

pkgcheck dropped from 710 to 475 lines after this change; specifically
NonsolvableDepsIn{Dev,Stable} fell from 391 to 182 combined.

Users on a python3.11 profile lose access to the updated versions in
this overlay, mirroring what ::gentoo already did to the rest of the
scientific stack.

Signed-off-by: Raukaan Cogbrother <cogbrother@raukaan.local>

commit 333a849082e704941d018a7f0b99678eda18904f
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Apr 21 01:07:29 2026 +0200

*/*: bump PYTHON_COMPAT to python3_

Match the ::gentoo convention (main tree dropped 3.9 / 3.10 support
a while ago). Three mechanical substitutions:

- python3_ -> python3_ (189 ebuilds)
- python3_ -> python3_ (llvmlite)
- python2_7 python3_ -> python2_7 python3_ (pycifrw)

Leaves the legacy python2_7-only ebuilds and dev-python/cython
(special PYTHON_TESTED pattern on the 0.29 series) untouched.

commit a33d44fa70785ccc57ef09ca67745073c1881156
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Apr 19 14:51:22 2026 +0200

dev-python/pyprismatic: rename distfile to share with sci-physics/prismatic

commit f23ece73c4451e2377c17d8b90acb53bee608563
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Jan 15 21:28:34 2026 +0100

*/*: UPD header, Happy New Year

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit 7313b9aeadb331a92c46a2fbf9a31359ad288979
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Dec 11 14:28:32 2025 +0100

dev-python/pyprismatic: styling

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit bd56ad8c4cfa96514317be4d851cb4fcbd6b8802
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Dec 11 10:40:56 2025 +0100

*/*: adjusting python compat to 3.9 to 3.14

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit 02fee3b133501e13cd97dc4acb029379621c8d56
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Dec 11 01:05:20 2025 +0100

multiple styling corrections to make pkgscan happy

Signed-off-by: Ivan S. Titov <iohann.s.titov@gmail.com>

commit 75d55441dbb2e55a7102e44b643e2e17cdfbc05d
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Oct 17 21:58:20 2025 +0200

finally upd year to 2025 :)

commit 4e98d8e859ba751c01de3f76f3d3bf9fe9f7f5d2
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Sun Sep 21 19:27:20 2025 +0100

prismatic

commit b451ac3b81ed540a5ce0bbef96d542cd2a2a0dcd
Author: istitov <istitov@github>
Date: Mon Feb 12 10:45:30 2024 +0100

upd copyright to 2024

commit 5b6b04a1d18b8ca4777209caaca0f9f8bb849432
Author: VasilyLebedev <lebedevv@tcd.ie>
Date: Sun Feb 11 11:24:32 2024 +0000

Update pyprismatic-2.0.ebuild

commit 0b7fcf9639be3e82b30db7da1cc4785887b54326
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Nov 25 04:52:49 2023 +0300

mass updated PYTHON_COMPAT for python:3

commit 0e523faf7b184df56a5394f0cbc663cb2b998f44
Author: VasilyLebedev <vasily.lebedev@ul.ie>
Date: Tue Nov 21 18:49:09 2023 +0000

prismatic added (#228)

* Add files via upload

* sk1

* Add files via upload

* alpine

* Add files via upload

* Add files via upload

* Deadbeef

* yd-tools

* gcc-switcher

* portopts

* aptana

* lxpanelx

* py2_eclass

* fontforge py2

* ortp

* sofastat

* Add files via upload

* skb

* Add files via upload

* wmfs

* Update link-traits-1.0.3.ebuild

* Add files via upload

* zarr

* Add files via upload

* Add files via upload

* Add files via upload

* dev-python/monty added

potential issues with pytorch

* Add files via upload

* traitsui

* Add files via upload

* Add files via upload

* Add files via upload

* fabio

* Add files via upload

* pyprismatic added

* prismatic added

* atomap added

* opencv[cuda]