commit YODA for openSUSE:Factory
Hello community, here is the log from the commit of package YODA for openSUSE:Factory checked in at 2018-05-30 12:23:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/YODA (Old) and /work/SRC/openSUSE:Factory/.YODA.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "YODA" Wed May 30 12:23:07 2018 rev:11 rq:612675 version:1.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/YODA/YODA.changes 2017-08-24 18:45:06.003082908 +0200 +++ /work/SRC/openSUSE:Factory/.YODA.new/YODA.changes 2018-05-30 13:07:58.455770873 +0200 @@ -1,0 +2,51 @@ +Wed May 23 08:17:39 UTC 2018 - badshah400@gmail.com + +- 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. + * Add parallel/compatibility yoda1 package to aid eventual + transition to YODA v2. + * Add x,y,zMins and Maxs to all 1D data types and scatters (and + x,yMin/Max to the scatters) -- Python interface only. + * Rework some of the yoda.plotting tools, making it a bit more + compatible with user-scripted matplotlib. + * Add convenience aliases H1D, H2D, P1D, P2D, and S1D, S2D, S3D + for the HistoXD, ProfileXD, and ScatterXD classes + respectively. + * Add xyVals/Errs and other 'bin array property' accessors to + the Python Histo1D and Profile1D types: important for + connection to matplotlib. + * Use Python natsort library to sort yodals output if available. +- Rebase sover.diff. +- Add BuildRequires: pkgconfig(zlib); now required for bulding + YODA. +- Fix env-based hashbangs. + +------------------------------------------------------------------- Old: ---- YODA-1.6.7.tar.bz2 New: ---- YODA-1.7.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ YODA.spec ++++++ --- /var/tmp/diff_new_pack.06pBfv/_old 2018-05-30 13:07:59.107746291 +0200 +++ /var/tmp/diff_new_pack.06pBfv/_new 2018-05-30 13:07:59.111746140 +0200 @@ -1,7 +1,7 @@ # # spec file for package YODA # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,13 @@ # -%define so_name lib%{name}-1_6_7 +%define so_name lib%{name}-1_7_0 Name: YODA -Version: 1.6.7 +Version: 1.7.0 Release: 0 Summary: A small set of data analysis classes for MC event generator validation analyses -License: GPL-2.0 +License: GPL-2.0-only Group: Development/Libraries/C and C++ Url: http://yoda.hepforge.org/ Source: http://www.hepforge.org/archive/yoda/%{name}-%{version}.tar.bz2 @@ -37,6 +37,7 @@ BuildRequires: pkg-config BuildRequires: python-Cython BuildRequires: python-devel +BuildRequires: pkgconfig(zlib) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -120,6 +121,13 @@ # Remove traces of BUILDROOT from files sed -i "s|%{buildroot}||g" %{buildroot}%{python_sitearch}/yoda/*.pyc +# FIX env BASED HASHBANGS +for exe in %{buildroot}%{_bindir}/* +do + sed -E -i "s|^#! /usr/bin/env python|#! /usr/bin/python|" ${exe} +done +sed -E -i "s|^#! /usr/bin/env bash|#! /bin/bash|" %{buildroot}%{_bindir}/yoda-config + %post -n %{so_name} -p /sbin/ldconfig %postun -n %{so_name} -p /sbin/ldconfig @@ -153,6 +161,7 @@ %files -n python-%{name} %defattr(-,root,root) %{python_sitearch}/yoda/ +%{python_sitearch}/yoda1/ %{python_sitearch}/yoda*.egg-info %changelog ++++++ YODA-1.6.7.tar.bz2 -> YODA-1.7.0.tar.bz2 ++++++ ++++ 141195 lines of diff (skipped) ++++++ sover.diff ++++++ --- /var/tmp/diff_new_pack.06pBfv/_old 2018-05-30 13:08:00.819681741 +0200 +++ /var/tmp/diff_new_pack.06pBfv/_new 2018-05-30 13:08:00.823681590 +0200 @@ -2,15 +2,16 @@ src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: YODA-1.6.5/src/Makefile.am +Index: YODA-1.7.0/src/Makefile.am =================================================================== ---- YODA-1.6.5.orig/src/Makefile.am -+++ YODA-1.6.5/src/Makefile.am -@@ -23,6 +23,6 @@ libYODA_la_SOURCES = \ +--- YODA-1.7.0.orig/src/Makefile.am ++++ YODA-1.7.0/src/Makefile.am +@@ -23,7 +23,7 @@ libYODA_la_SOURCES = \ + Scatter2D.cc \ Scatter3D.cc - -libYODA_la_LDFLAGS = -avoid-version +libYODA_la_LDFLAGS = -release ${PACKAGE_VERSION} - libYODA_la_LIBADD = tinyxml/libtinyxml.la - libYODA_la_CPPFLAGS = $(AM_CPPFLAGS) -DTIXML_USE_STL + libYODA_la_LIBADD = $(builddir)/tinyxml/libyoda-tinyxml.la $(builddir)/yamlcpp/libyoda-yaml-cpp.la + libYODA_la_CPPFLAGS = $(AM_CPPFLAGS) -DTIXML_USE_STL -I$(srcdir)/yamlcpp -I$(srcdir) -DYAMLCPP_API=3 -DYAML_NAMESPACE=YODA_YAML +
participants (1)
-
root