Hello community,

here is the log from the commit of package python-praatio for 
openSUSE:Leap:15.2 checked in at 2020-03-09 18:10:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-praatio (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-praatio.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-praatio"

Mon Mar  9 18:10:32 2020 rev:4 rq:776929 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-praatio/python-praatio.changes  
2020-01-15 15:51:39.987536794 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-praatio.new.26092/python-praatio.changes   
    2020-03-09 18:10:33.069126522 +0100
@@ -1,0 +2,38 @@
+Mon Feb 10 15:15:29 UTC 2020 - Todd R <[email protected]>
+
+- Update to 4.0.0
+  * Removed unlicensed xsampa.py file, along with associated utility 
sppas_util.py (originally added in Ver 3.4)
+    If you are not directly importing either of those files, you can upgrade 
without changing your code
+
+-------------------------------------------------------------------
+Thu Jan 30 15:14:20 UTC 2020 - Todd R <[email protected]>
+
+- Update to 3.8.1
+  * Verifying support for python 3.8
+
+-------------------------------------------------------------------
+Fri Jul 26 16:49:55 UTC 2019 - Todd R <[email protected]>
+
+- Update to 3.8.0
+  * Textgrids can be saved in the Textgrid long file format with .save(fn, 
useShortForm=False).
+    > For backwards compatibility, by default, it saves in the short file 
format.
+  * Textgrid output formatting is now closer to what Praat outputs.
+
+-------------------------------------------------------------------
+Tue May  7 13:04:06 UTC 2019 - John Vandenberg <[email protected]>
+
+- Activated test suite
+- Removed praatio/utilities/xsampa.py with unclear license
+- Added documentation, examples and tutorials to -doc subpackage
+- Update to v3.7.1
+  * FIX: removeUltrashortIntervals respects tg's minTimestamp
+- from v3.7.0
+  * Speaker normalization and normalization within local context
+    added to pitch and intensity query functions
+- from v3.6.15
+  * Hertz, semitones, etc. can now be extracted.  The default
+    is pitch, maintaining pre-existing behaviour
+- from v3.6.14
+  * Documentation enhancements
+
+-------------------------------------------------------------------

Old:
----
  praatio-3.6.13-py2.py3-none-any.whl

New:
----
  praatIO-4.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-praatio.spec ++++++
--- /var/tmp/diff_new_pack.pSCWAx/_old  2020-03-09 18:10:33.381126968 +0100
+++ /var/tmp/diff_new_pack.pSCWAx/_new  2020-03-09 18:10:33.385126975 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-praatio
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,33 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define         skip_python2 1
 Name:           python-praatio
-Version:        3.6.13
+Version:        4.0.0
 Release:        0
-%define minor   3.6
 Summary:        A library for working with praat
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/timmahrt/praatIO
-Source0:        
https://files.pythonhosted.org/packages/py2.py3/p/praatio/praatio-%{version}-py2.py3-none-any.whl
-BuildRequires:  %{python_module pip}
+URL:            https://github.com/timmahrt/praatIO
+Source0:        
https://github.com/timmahrt/praatIO/archive/v%{version}.tar.gz#/praatIO-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildArch:      noarch
 Recommends:     praat
-
+# SECTION test requirements
+BuildRequires:  %{python_module nose}
+# /SECTION
+BuildArch:      noarch
 %python_subpackages
 
+%package -n %{name}-doc
+Summary:        Documentation files for praatio
+Group:          Documentation/HTML
+Provides:       %{python_module praatio-doc = %{version}}
+
+%description -n %{name}-doc
+HTML Documentation and examples for praatio.
+
 %description
 A library for working with praat, time aligned audio transcripts, and
 audio files.
@@ -44,21 +54,33 @@
 use with praat.
 
 %prep
-%setup -c -T
+%setup -q -n praatIO-%{version}
+sed -i 's/\r$//' examples/files/mary.TextGrid
 
 %build
-# not needed
+%python_build
 
 %install
-%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
-%python_expand sed -i -e '/^#!\//, 1d' 
%{buildroot}%{$python_sitelib}/praatio/applied_scripts/xsampa.py
-%python_expand $python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/praatio/applied_scripts/
-%python_expand $python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/praatio/applied_scripts/
+%python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+# Reset examples after Python 2 test run
+cp -rp examples examples-orig
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+nosetests-%{$python_bin_suffix} --exe
+if [ -d examples-orig ]; then
+  rm -r examples
+  mv examples-orig examples
+fi
+}
+
 %files %{python_files}
-%license %{python_sitelib}/praatio-%{version}.dist-info/LICENSE.txt
-%{python_sitelib}/praatio-%{version}.dist-info/
-%{python_sitelib}/praatio/
+%license LICENSE
+%{python_sitelib}/*
+
+%files -n %{name}-doc
+%license LICENSE
+%doc README.md docs/* examples tutorials
 
 %changelog


Reply via email to