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

16
_service Normal file
View File

@@ -0,0 +1,16 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="versionprefix">0.13.0+git</param>
<param name="url">https://github.com/nucleic/enaml.git</param>
<param name="revision">main</param>
<param name="scm">git</param>
<param name="exclude">.git*</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">mcepl@cepl.eu</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled" />
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/nucleic/enaml.git</param>
<param name="changesrevision">8f02a3c1a80c0a6930508551c7de1d345095173d</param></service></servicedata>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9120c99e73e310e043c26ba440221d1cbebafb82a399ca2f423075953c9b216e
size 8078091

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:766fe2d4a984b9ffbff4739d7220ad9171cde661ad69d4cd41945ecd9401d94d
size 8033788

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Wed Aug 11 12:40:12 UTC 2021 - mcepl@cepl.eu
- 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
-------------------------------------------------------------------
Wed Aug 11 09:41:55 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Switching off temporarily the test suite
(gh#nucleic/enaml#449).
-------------------------------------------------------------------
Wed Apr 28 16:10:23 UTC 2021 - Ben Greiner <code@bnavigator.de>

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