15
0
forked from pool/python-enaml

Accepting request 936086 from devel:languages:python

- Update to version 0.14.0
  * use enum.IntEnum/IntFlag instead of atom.IntEnum PR #453
  * fix operator bindings in template instances PR #445
  * fix FlowLayout error with FlowItems that have non-zero stretch or ortho_stretch PR #448
  * add support for styling notebook tabs PR #452
  * drop official support for Python 3.6 and add minimal support for Python 3.10
    As with earlier Python version, support for 3.10 is currently limited to running on
    Python 3.10 excluding any features that were added in Python 3.10
- Stop building on Python 3.6 which is no longer supported
- Switch back to using upstream tarball URL in Source field
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/936086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-enaml?expand=0&rev=8
This commit is contained in:
2021-12-07 22:59:49 +00:00
committed by Git OBS Bridge
6 changed files with 24 additions and 29 deletions

View File

@@ -1,16 +0,0 @@
<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>

View File

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

View File

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

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

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

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 6 16:41:25 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.14.0
* use enum.IntEnum/IntFlag instead of atom.IntEnum PR #453
* fix operator bindings in template instances PR #445
* fix FlowLayout error with FlowItems that have non-zero stretch or ortho_stretch PR #448
* add support for styling notebook tabs PR #452
* drop official support for Python 3.6 and add minimal support for Python 3.10
As with earlier Python version, support for 3.10 is currently limited to running on
Python 3.10 excluding any features that were added in Python 3.10
- Stop building on Python 3.6 which is no longer supported
- Switch back to using upstream tarball URL in Source field
- Update BuildRequires and Requires from setup.py
-------------------------------------------------------------------
Wed Aug 11 12:40:12 UTC 2021 - mcepl@cepl.eu

View File

@@ -19,23 +19,23 @@
%{?!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.13.0+git.1627388100.6864e8bc
Version: 0.14.0
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: enaml-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/e/enaml/enaml-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
Requires: python-QtPy >= 1.3
Requires: python-atom >= 0.6.0
Requires: python-atom >= 0.7.0
Requires: python-bytecode >= 0.11.0
Requires: python-kiwisolver >= 1.2.0
Requires: python-ply >= 3.4
@@ -49,7 +49,7 @@ Requires(post): update-alternatives
Requires(postun):update-alternatives
# SECTION test requirements
BuildRequires: %{python_module QtPy >= 1.3}
BuildRequires: %{python_module atom >= 0.6.0}
BuildRequires: %{python_module atom >= 0.7.0}
BuildRequires: %{python_module bytecode}
BuildRequires: %{python_module cppy >= 1.1.0}
BuildRequires: %{python_module kiwisolver >= 1.2.0}
@@ -93,7 +93,7 @@ export CFLAGS="%{optflags}"
%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"
donttest="test_focus_tracking or test_focus_traversal or test_displaying_no_image"
# Switching off temporarily the tests gh#nucleic/enaml#449
%pytest_arch tests -k "not ($donttest)"