15
0
forked from pool/python-enaml

Accepting request 1043239 from home:bnavigator:branches:devel:languages:python

- Update tp version 0.15.2
  * fix position of popup view when multiple displays are used PR
    #500
  * reimplement DockArea.initialize instead of shadowing the
    initialized member. PR #502
  * require qtpy>=2.1 far Qt backends version PR #501
  * qt: use QEvent.Type to coerce new registered event type with
    all bindings. PR #497 This requires PyQt 6.3.1 to work and
    allow to eliminate a deprecation warning.
  * fix loading of dock area guide images. PR #503
- Release 0.15.1
  * bump qtpy minimal required version for Qt6 PR #490
  * fix drag and drop support under Qt6 PR #491
  * fix date and time conversion under Qt6 PR #486
  * fix handling of mouse press event by popup views PR #486
  * fix flow widget size computation to only use integer (fixes
    Qt6) PR #492
  * add new extra requirements to ease use of widgets with extra
    dependencies PR #495
- Release 0.15.0
  * make install PEP 517 compliant and use a PEP 621 compliant
    pyproject.toml PR #485
  * add support for PyQt6 and Pyside6 PR #475
  * fix last occurrences of passing float instead of int to PyQt PR
    #481
  * add new declarative @observe which ignores 'create' and
    'container' events by default PR #479
  * use atom builtin filtering mechanism to avoid refreshing the
    declarative engine on 'create' and 'container' event PR # 479
- Release 0.14.1
  * fixes a bug in code generation for Python 3.10 PR #476
  * fixes several bugs in corner cases of the Qt dock area PR #469
  * add python fstring scintilla tokens PR #470
  * address PyQt deprecation of accepting float values for pixel
    dimensions PR #471

OBS-URL: https://build.opensuse.org/request/show/1043239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-enaml?expand=0&rev=5
This commit is contained in:
2022-12-16 08:24:32 +00:00
committed by Git OBS Bridge
parent ce7f117204
commit fc7155206e
4 changed files with 69 additions and 31 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:577635deab19a5a7d19a7f61c6622b0f65b98ec6e939ccb345b2f48715bd9489
size 7939232

3
enaml-0.15.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75ba5b120fe1a90418ff03103acdc6a25d1b044dc4e42bcc42cb7f2e76f6d95b
size 8108008

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Thu Dec 15 23:23:39 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update tp version 0.15.2
* fix position of popup view when multiple displays are used PR
#500
* reimplement DockArea.initialize instead of shadowing the
initialized member. PR #502
* require qtpy>=2.1 far Qt backends version PR #501
* qt: use QEvent.Type to coerce new registered event type with
all bindings. PR #497 This requires PyQt 6.3.1 to work and
allow to eliminate a deprecation warning.
* fix loading of dock area guide images. PR #503
- Release 0.15.1
* bump qtpy minimal required version for Qt6 PR #490
* fix drag and drop support under Qt6 PR #491
* fix date and time conversion under Qt6 PR #486
* fix handling of mouse press event by popup views PR #486
* fix flow widget size computation to only use integer (fixes
Qt6) PR #492
* add new extra requirements to ease use of widgets with extra
dependencies PR #495
- Release 0.15.0
* make install PEP 517 compliant and use a PEP 621 compliant
pyproject.toml PR #485
* add support for PyQt6 and Pyside6 PR #475
* fix last occurrences of passing float instead of int to PyQt PR
#481
* add new declarative @observe which ignores 'create' and
'container' events by default PR #479
* use atom builtin filtering mechanism to avoid refreshing the
declarative engine on 'create' and 'container' event PR # 479
- Release 0.14.1
* fixes a bug in code generation for Python 3.10 PR #476
* fixes several bugs in corner cases of the Qt dock area PR #469
* add python fstring scintilla tokens PR #470
* address PyQt deprecation of accepting float values for pixel
dimensions PR #471
-------------------------------------------------------------------
Mon Dec 6 16:41:25 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-enaml
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,12 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# python-cppy, python-bytecode is python3 only (at least)
%define skip_python2 1
%define skip_python36 1
Name: python-enaml
Version: 0.14.0
Version: 0.15.2
Release: 0
# Source code is under BSD but images are under different licenses
# and details are inside image_LICENSE.txt
@@ -29,36 +25,40 @@ Summary: Declarative DSL for building rich user interfaces in Python
License: BSD-3-Clause AND LGPL-2.1-only
URL: https://github.com/nucleic/enaml
Source: https://files.pythonhosted.org/packages/source/e/enaml/enaml-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module cppy >= 1.2.0}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.2}
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
Requires: python-QtPy >= 1.3
Requires: python-atom >= 0.7.0
Requires: python-bytecode >= 0.11.0
Requires: python-atom >= 0.8.0
Requires: python-bytecode >= 0.13.0
Requires: python-kiwisolver >= 1.2.0
Requires: python-ply >= 3.4
Requires: python-ply
# SECTION The Qt variants are optional variants in the python metadata, but probably either one is required and they all require QtPy
Requires: python-QtPy >= 2.1.0
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
# pyside is python3 only
Requires: (%python_flavor-qt5 or python3-pyside2)
# pyside is python3 only, PyQt5 (-qt5) and PyQt6 are multiflavored
Requires: (python-qt5 or python-PyQt6 >= 6.3.1 or python3-pyside2 or python3-pyside6 >= 6.2.3)
%else
Requires: python-qt5
Requires: (python-qt5 or python-PyQt6 >= 6.3.1)
%endif
# /SECTION
Requires(post): update-alternatives
Requires(postun):update-alternatives
# SECTION test requirements
BuildRequires: %{python_module QtPy >= 1.3}
BuildRequires: %{python_module atom >= 0.7.0}
BuildRequires: %{python_module bytecode}
BuildRequires: %{python_module cppy >= 1.1.0}
BuildRequires: %{python_module QtPy >= 2.1.0}
BuildRequires: %{python_module atom >= 0.8.0}
BuildRequires: %{python_module bytecode >= 0.13.0}
BuildRequires: %{python_module kiwisolver >= 1.2.0}
BuildRequires: %{python_module ply >= 3.4}
BuildRequires: %{python_module ply}
BuildRequires: %{python_module pytest-qt}
BuildRequires: %{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module qt5}
BuildRequires: %{python_module setuptools}
BuildRequires: xauth
BuildRequires: xorg-x11-fonts
# /SECTION
@@ -78,10 +78,10 @@ Python and Qt.
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_clone -a %{buildroot}%{_bindir}/enaml-compileall
%python_clone -a %{buildroot}%{_bindir}/enaml-run
@@ -92,13 +92,12 @@ export CFLAGS="%{optflags}"
# 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
donttest="test_focus_tracking or test_focus_traversal or test_displaying_no_image"
# Switching off temporarily the tests gh#nucleic/enaml#449
# See the skipif mark of the tests: 'Skip on linux CI where setting up a windows manager is a nightmare'
donttest="test_focus_tracking or test_focus_traversal"
%pytest_arch tests -k "not ($donttest)"
%post
%{python_install_alternative enaml-compileall enaml-run}
%python_install_alternative enaml-compileall enaml-run
%postun
%python_uninstall_alternative enaml-compileall
@@ -109,6 +108,6 @@ donttest="test_focus_tracking or test_focus_traversal or test_displaying_no_imag
%python_alternative %{_bindir}/enaml-compileall
%python_alternative %{_bindir}/enaml-run
%{python_sitearch}/enaml
%{python_sitearch}/enaml-*-info
%{python_sitearch}/enaml-%{version}*-info
%changelog