* Use default python3-Cython for builds instead of pinning to python3-Cython < 3.
* Minor rebase of sover.diff to apply cleanly against new version.
* Add YODA.rpmlintrc to suppress false warning from rpmlint about requiring explicit lib, where python3-matplotlib is a python module, and not a lib, despite its name.
* Build with hdf5 support for Leap 16 and Tumbleweed.
OBS-URL: https://build.opensuse.org/package/show/science/YODA?expand=0&rev=60
* Update to version 1.9.7
* Add YODA-correct-python-platlib.patch: Use correct python platlib ($prefix/lib64) consistently across different python versions; although we do not build for multiple python versions, we would not want to adapt the file list everytime upstream python vacillates between lib (e.g. python 3.8/3.10) vs lib64 (e.g. python 3.9) for platlib.
OBS-URL: https://build.opensuse.org/request/show/1030608
OBS-URL: https://build.opensuse.org/package/show/science/YODA?expand=0&rev=48
- Add YODA-py3-compatibility-for-IO_pyx.patch -- Py3 compatibilty
for IO.pyx; patch taken from upstream commit and modified to fix
further similar errors
(https://gitlab.com/hepcedar/yoda/issues/4).
- Change hashbangs referring to python or `env python` to use
`/usr/bin/python3` consistently in source dir, rather than
from buildroot after installation. This allows to run the tests
correctly in the %check section.
- Move binaries using the python module to python3-%{name}
package.
- Run make check.
OBS-URL: https://build.opensuse.org/request/show/765512
OBS-URL: https://build.opensuse.org/package/show/science/YODA?expand=0&rev=29
- Switch to python3:
* Requires and BuildRequires switched to python3 versions
* Rename python package to python3-%{name} and provide
python-%{name} from it; this makes the py3 switch clear to
users.
* Explicitly pass PYTHON_VERSION as py3 version to make it build
against python3
* Drop an unecessary hashbang from a file in non-exec location.
- Remove an sed hack for buildroot in *.pyc file(s); no longer
needed.
OBS-URL: https://build.opensuse.org/request/show/762494
OBS-URL: https://build.opensuse.org/package/show/science/YODA?expand=0&rev=27
- Update to version 1.8.0:
* Add extra optional bool arguments to the mkScatter converter
functions for Histo1D and Histo2D types.
* Force rebuild of the Python interface if a sufficient Cython
is found, even if the generated .cpp file is present at
configure-time.
* Final conversion to use ast module not just in autotype but as
first choice in AO.annotation.
* Remove ALL uses of @property in the Python interfaces: all
methods must have call-parentheses now.
* Improve Python annotation parsing to preferentially use ast
rather than yaml.
* Add x/yErrs and x/yErrAvgs functions to Scatter2D Python.
- Rebase so numbering patch for updated version.
OBS-URL: https://build.opensuse.org/request/show/760827
OBS-URL: https://build.opensuse.org/package/show/science/YODA?expand=0&rev=25
- Update to version 1.7.7:
* Fix printing of YAML annotations.
* Fix Python 3 / Unicode compatibility for Point.pyx.
- Changes from version 1.7.6:
* Add xEdges and yEdges methods to the 2D Histo and Profile
classes, in C++ and Python.
* Remove @property attributes from Python xEdges methods.
* Fix Python3/argparse attribute access bug in yodamerge.
- Changes from version 1.7.5:
* Convert bin/* scripts to use Python3-compatible argparse
rather than old optparse.
* Fix Histo1D::integralRange to include the second-argument bin
content as described in the docstring.
* Fix Python3 StringIO import compatibility
* Add -m/-M filtering to yodadiff.
* Fix HistoBin2D printing in Python interface.
* Protect yodamerge against zero-valued (?!) ScaledBy
attributes.
- Drop conditional for boost BuildRequires pertaining to outdated
versions of openSUSE.
OBS-URL: https://build.opensuse.org/request/show/724993
OBS-URL: https://build.opensuse.org/package/show/science/YODA?expand=0&rev=23
- Update to version 1.7.4:
* Roll out sameBinning methods for Profile1D and Profile2D.
* Add sameBinning methods for Histo1D and Histo2D.
* Remove debug couts from single-AO Writer::write() function.
* Add --ignore-missing and --ignore-new flags to yodadiff.
* Tidy up point-comparison output of yodadiff.
* Fix additional weighting in yodamerge
- See %{_docdir}/YODA-devel/ChangeLog for changes between version
1.7.1 through 1.7.3.
- Rebase sover.diff to apply cleanly.
OBS-URL: https://build.opensuse.org/request/show/699964
OBS-URL: https://build.opensuse.org/package/show/science/YODA?expand=0&rev=21
- Update to version 1.7.0:
* Add Nentries printout to yodals -v
* Patches for ROOT conversion from Robert Hatcher -- thanks!
* Add YODA format version annotation, at version 2, and update
YODA reader to use version info and multiline YAML EOF marker.
* Write YODA annotations in YAML with a --- YAML break-line.
* Enable compressed writing from Python.
* Remove UNUSED macro in favour of anonymous args.
* Enable zipped writing... but only works from C++ so far.
* Add HistoBin2D::area(), and provide a default normto=1.0
argument on the Python Histo2D.normalize() method.
* Change license explicitly to GPLv3, cf. MCnet3 agreement.
* Parse YODA format AO headers as YAML (restriction to
single-line dict entries for now).
* Use a slightly enhanced fast numeric parser in ReaderYODA
(taken from LHAPDF, originally inspired by Gavin Salam).
* Add an UNSCALE spec option to yodascale, to undo ScaledBy
effects.
* Add optional zlib support via zstr
* Fix setVal(i, x) numbered-axis methods on Point2D and Point3D:
switch break statements were missing.
* Explicitly load all ROOT objects as a list rather than
generator. Patch from Dmitry Kalinkin.
* Improvements to yodaplot, including two operating modes: the
default CMP mode is suitable for plotting histos by path, from
raw .yoda files.
* Update yoda.plotting functions to treat plot-keys as args and
AO annotations via case-insensitive keys.
* Add annotationsDict to the Python AO interface.
* Add AO as an alias for AnalysisObject.
OBS-URL: https://build.opensuse.org/request/show/612630
OBS-URL: https://build.opensuse.org/package/show/science/YODA?expand=0&rev=19
- Update to version 1.6.7:
* pyext/yoda/rootcompat.pyx: Fix ordering of TH1 vs. TProfile
conversion
* Add static Reader methods to match the Writer ones.
* Fix Histo2D and Profile2D total distribution reading from YODA
format.
* Convert TH1F to TH1D in root2flat. Much simpler than
duplicating the TH1D stuff in pyext.
- Changes from version 1.6.6:
* Bugfixes in Cython bins accessors for Histo2D.
* Fixed warning messages about the obsoleteness of AIDA so that
the scripts actually still work.
OBS-URL: https://build.opensuse.org/request/show/513771
OBS-URL: https://build.opensuse.org/package/show/science/YODA?expand=0&rev=17