diff --git a/enaml-0.11.2.tar.gz b/enaml-0.11.2.tar.gz deleted file mode 100644 index ad67a6f..0000000 --- a/enaml-0.11.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:79ace6cf0e1337d1fcf204d899c7c2855159318fde5a668a2f9567f59624f6d1 -size 8027596 diff --git a/enaml-0.13.0.tar.gz b/enaml-0.13.0.tar.gz new file mode 100644 index 0000000..6236b6c --- /dev/null +++ b/enaml-0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:766fe2d4a984b9ffbff4739d7220ad9171cde661ad69d4cd41945ecd9401d94d +size 8033788 diff --git a/python-enaml.changes b/python-enaml.changes index 977d1a0..851e830 100644 --- a/python-enaml.changes +++ b/python-enaml.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed Apr 28 16:10:23 UTC 2021 - Ben Greiner + +- Update to 0.13 + * fix Python 3.9 only syntax issue PR #443 + * make app editor more resilient to errors PR #440 + * fixes to vim syntax highlighting PR #439 + * fix documentation of ScrollArea example PR #438 + * add extra_requires to provide an easy way to install qt + bindings when relevant PR # 434 + * add support for explicit Qt app name PR #430 Allows setting + the WM_CLASS property for X11 (Linux) apps. +- Release 0.12.0 + * add support for Python 3.9 PR #424 + * add support for PySide2 and fix Qt deprecation PR #423 + * add support for subscription block PR #348 Subscription blocks + allow to write right to left synchronization logic over + multiple lines and using statements. The assigned value is the + value returned from the block. + * add support for Python 3.8 only syntax PR #422 This covers: + the walrus operator (:=), and the use of * in return and yields +- Don't alter the buildroot in %check + ------------------------------------------------------------------- Sun Jul 12 06:24:53 UTC 2020 - Bernhard Wiedemann diff --git a/python-enaml.spec b/python-enaml.spec index ea500eb..476e62f 100644 --- a/python-enaml.spec +++ b/python-enaml.spec @@ -1,7 +1,7 @@ # # spec file for package python-enaml # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ # python-cppy, python-bytecode is python3 only (at least) %define skip_python2 1 Name: python-enaml -Version: 0.11.2 +Version: 0.13.0 Release: 0 # Source code is under BSD but images are under different licenses # and details are inside image_LICENSE.txt @@ -34,34 +34,32 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros Requires: python-QtPy >= 1.3 -Requires: python-atom >= 0.4.2 +Requires: python-atom >= 0.6.0 Requires: python-bytecode >= 0.11.0 -Requires: python-future -Requires: python-kiwisolver >= 1.0.0 +Requires: python-kiwisolver >= 1.2.0 Requires: python-ply >= 3.4 +%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" +# pyside is python3 only +Requires: (%python_flavor-qt5 or python3-pyside2) +%else Requires: python-qt5 -Requires: python-qtwebengine-qt5 +%endif Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives # SECTION test requirements BuildRequires: %{python_module QtPy >= 1.3} -BuildRequires: %{python_module atom >= 0.4.2} +BuildRequires: %{python_module atom >= 0.6.0} BuildRequires: %{python_module bytecode} BuildRequires: %{python_module cppy >= 1.1.0} -BuildRequires: %{python_module future} -BuildRequires: %{python_module kiwisolver >= 1.0.0} +BuildRequires: %{python_module kiwisolver >= 1.2.0} BuildRequires: %{python_module ply >= 3.4} BuildRequires: %{python_module pytest-qt} BuildRequires: %{python_module pytest-xvfb} BuildRequires: %{python_module pytest} BuildRequires: %{python_module qt5} -BuildRequires: %{python_module qtwebengine-qt5} BuildRequires: %{python_module setuptools} -BuildRequires: gdb -BuildRequires: libqt5-qtwebengine-debuginfo BuildRequires: xauth BuildRequires: xorg-x11-fonts -BuildRequires: xorg-x11-server-Xvfb # /SECTION %python_subpackages @@ -88,11 +86,14 @@ export CFLAGS="%{optflags}" %python_clone -a %{buildroot}%{_bindir}/enaml-run %check -mv enaml enaml_temp +# use the builddir instead of buildroot in order to avoid +# packaging of unreproducible files generated during tests +# https://github.com/nucleic/enaml/issues/397 +%python_expand cp -r %{buildroot}%{$python_sitearch} build/testlib +export PYTHONPATH=$PWD/build/testlib # not sure why these two are failing -%pytest_arch -k "not (test_focus_tracking or test_focus_traversal)" -mv enaml_temp enaml -find %{buildroot} -name __enamlcache__ | xargs rm -r # drop unreproducible files https://github.com/nucleic/enaml/issues/397 +donttest="test_focus_tracking or test_focus_traversal" +%pytest_arch tests -k "not ($donttest)" %post %{python_install_alternative enaml-compileall enaml-run} @@ -105,6 +106,7 @@ find %{buildroot} -name __enamlcache__ | xargs rm -r # drop unreproducible files %license LICENSE %python_alternative %{_bindir}/enaml-compileall %python_alternative %{_bindir}/enaml-run -%{python_sitearch}/* +%{python_sitearch}/enaml +%{python_sitearch}/enaml-%{version}*-info %changelog