15
0
forked from pool/python-enaml

Accepting request 911483 from devel:languages:python

- Update to version 0.13.0+git.1627388100.6864e8bc (so as to make
  the test suite pass with pytest-qt > 3):
  * Add release notes entry
  * Flow Layout sort fix for stretch or ortho_stretch > 0
  * cis: test on python 3.10.b.4
  * tests: fix missing imports
  * cis: do not run with -W error due to ipykernel and add missed skip for focus
  * cis: skip focus tests on linux (ci) and run extended tests on 3.9 rather than 3.8
  * cis: bump to python 3.10 beta 3 and skip linux for the time being
  * tests: fix warnings and try another window manager

- Switching off temporarily the test suite
  (gh#nucleic/enaml#449).

OBS-URL: https://build.opensuse.org/request/show/911483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-enaml?expand=0&rev=7
This commit is contained in:
Richard Brown
2021-08-12 07:01:36 +00:00
committed by Git OBS Bridge
parent 866d5b65a8
commit 0efda11acf
6 changed files with 48 additions and 6 deletions

View File

@@ -20,14 +20,15 @@
# python-cppy, python-bytecode is python3 only (at least)
%define skip_python2 1
Name: python-enaml
Version: 0.13.0
Version: 0.13.0+git.1627388100.6864e8bc
Release: 0
# Source code is under BSD but images are under different licenses
# and details are inside image_LICENSE.txt
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://github.com/nucleic/enaml/archive/%{version}.tar.gz#/enaml-%{version}.tar.gz
# Source: https://github.com/nucleic/enaml/archive/%%{version}.tar.gz#/enaml-%%{version}.tar.gz
Source: enaml-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -93,6 +94,7 @@ export CFLAGS="%{optflags}"
export PYTHONPATH=$PWD/build/testlib
# not sure why these two are failing
donttest="test_focus_tracking or test_focus_traversal"
# Switching off temporarily the tests gh#nucleic/enaml#449
%pytest_arch tests -k "not ($donttest)"
%post
@@ -107,6 +109,6 @@ donttest="test_focus_tracking or test_focus_traversal"
%python_alternative %{_bindir}/enaml-compileall
%python_alternative %{_bindir}/enaml-run
%{python_sitearch}/enaml
%{python_sitearch}/enaml-%{version}*-info
%{python_sitearch}/enaml-*-info
%changelog