gpo.zugaina.org

Search Portage & Overlays:

dev-python/pyausaxs

Python wrapper around the AUSAXS C++ SAXS library

Screenshots

  • pyausaxs-1.1.5
    ~amd64
    python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: LGPL-3+   
    Overlay: stuff
  • pyausaxs-1.1.4
    ~amd64
    python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: LGPL-3+   
    Overlay: stuff
  • pyausaxs-1.1.3
    ~amd64
    python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: LGPL-3+   
    Overlay: stuff
  • pyausaxs-1.0.4
    ~amd64
    python_targets_python3_12 python_targets_python3_13 python_targets_python3_14

    View      Download      Browse     License: LGPL-3+   
    Overlay: stuff

ChangeLog

commit 2a403e15e0e0a36644405a5682cf71dfd1b6371d
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon May 18 19:32:30 2026 +0200

dev-python/pyausaxs: restore 1.0.4 stub for sasview's hard pin

sci-physics/sasview-6.1.3 RDEPENDs ~dev-python/pyausaxs-1.0.4
(an unsatisfiable cap given we only carry 1.1.3/1.1.4/1.1.5 —
pkgcheck NonexistentDeps). Sasview's own ebuild comment explains
the intent: "our pyausaxs is a stub triggering SasView's built-in
fallback to its pure-Python scattering engine." Restore the
original stub form from commit 9fd7e936 — minimal pyausaxs.AUSAXS
class that raises NotImplementedError on construction; SasView's
ausaxs_sans_debye try/except path catches it and falls back to
the pure-Python scattering calculator.

Narrowed KEYWORDS from the original ~amd64 ~x86 to ~amd64 only —
keeping ~x86 here would trip DroppedKeywords on 1.1.5 (whose
upstream wheel is manylinux2014_x86_64).

commit efbb13fb36c7ad5781f5ae0766506bb8b265692d
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 16 12:15:55 2026 +0200

dev-python/pyausaxs: drop !sci-libs/ausaxs blocker at 1.1.5

pyausaxs's loader.py uses pkg_resources to fetch the bundled .so via an absolute path
and feeds that path to ctypes.CDLL. CDLL with an absolute path doesn't consult
ldconfig, so a parallel /usr/lib64/libausaxs.so from sci-libs/ausaxs is invisible at
runtime. Empirically verified 2026-05-16: staged a from-source 1.2.3 libausaxs.so at
/usr/lib64/ (44 C symbols including debye_no_ff / cli_*), and
pyausaxs.loader.find_lib_path() still returned the bundled path; all six ctypes-wired
symbols loaded from the bundle and debye_no_ff stayed absent from the loaded library.
loader.py is identical across 1.1.3 / 1.1.4 / 1.1.5 — older 1.1.x ebuilds keep the
conservative blocker until next-touch retention drops them. Companion commit on sci-
libs/ausaxs follows.

commit 54fd935bf0a1b2bf8912cb8c9154cbfa561bf6a3
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 16 10:11:22 2026 +0200

dev-python/pyausaxs: drop 1.0.4

Retention: 1.1.x is the active line. Keep 1.1.3 and 1.1.4 alongside the new 1.1.5 —
three 1.1.x revisions for a brief overlap until 1.1.5 is verified in production.

commit da34c353b356f6810f7e6539111701734a5f23de
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 16 10:11:10 2026 +0200

dev-python/pyausaxs: add 1.1.5

PyPI wheel bump (hardcoded-hash SRC_URI workflow). Deps unchanged. sci-libs/ausaxs
symbol blocker retained — not re-verified at 1.1.5.

commit 570a0413a34c8153da0c05dff00a5e4672f678ac
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun May 10 14:50:38 2026 +0200

dev-python/pyausaxs: add 1.1.4

commit e1510ade45ce1ce50959d71a697fbc53b95797da
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 13:44:28 2026 +0200

dev-python/pyausaxs: align RDEPEND with wheel METADATA

Upstream ships only wheels, so the source of truth is each version's
.dist-info/METADATA Requires-Dist:

- 1.0.4: py-cpuinfo>=8.0.0, numpy>=1.20.0
- 1.1.3: same plus scipy>=1.10 and matplotlib>=3.7

The ebuilds had been declaring py-cpuinfo and numpy without bounds and
were missing scipy and matplotlib for 1.1.3 entirely. Add the upstream
lower bounds and the missing two entries.

commit 40aec45772a5e4233c8033cf0da4c98b78d083f4
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Apr 24 00:29:20 2026 +0200

dev-python/pyausaxs: bump to 1.1.3

Found via overlay-vs-PyPI drift scan (2026-04-24): overlay
carried 1.0.4, upstream had shipped 1.1.3. Keep 1.0.4
alongside for now; drop once 1.1.3 is confirmed working in
the SasView integration.

Upstream publishes manylinux2014_x86_64 wheels only, no sdist,
so the ebuild installs the wheel verbatim (same shape as
1.0.4). SRC_URI updated to the 1.1.3 wheel URL; pkgdev
manifest re-run.

The !sci-libs/ausaxs blocker is retained as a conservative
default — 1.0.4's bundled libausaxs.so exposed a specific
extern "C" symbol set (test_integration, evaluate_sans_debye,
fit_saxs, iterative_fit_start/step/finish) that the from-
source sci-libs/ausaxs could not satisfy. 1.1.3 has not yet
been re-verified against the current sci-libs/ausaxs symbol
set, so mutual exclusion stays. Drop the blocker only after
confirming that 1.1.3's bundled library symbols are a subset
of what sci-libs/ausaxs provides.

Pkgcheck clean.

commit 169e9138f6680d63be36ff8f0a4f7e83c415da87
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 20:45:22 2026 +0200

dev-python/pyausaxs: switch to bundled-lib wheel install

Previous stub ebuild tried to link pyausaxs against the system
AUSAXS C++ library (sci-libs/ausaxs-1.2.1), but the ABI between
pyausaxs's bundled pyausaxs/_ausaxs.so and current AUSAXS
diverged: pyausaxs's wheel ships its own forked libausaxs with
symbols that sci-libs/ausaxs no longer exports.

Install the wheel's bundled library as-is (no unbundling) and
add a RDEPEND block against sci-libs/ausaxs so users can't run
both simultaneously. Drop the block once upstream AUSAXS and
pyausaxs realign their ABIs.

commit 1c9f9a9ef5541823e941d40d791dace5e3d757ae
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 18:00:45 2026 +0200

dev-python/pyausaxs: new package, add 1.0.4