15
0
forked from pool/python-enaml

Accepting request 936072 from home:glaubitz:branches: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/936072
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-enaml?expand=0&rev=2
This commit is contained in:
2021-12-06 17:24:49 +00:00
committed by Git OBS Bridge
parent 0efda11acf
commit 9b439d6937
5 changed files with 24 additions and 9 deletions

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://github.com/nucleic/enaml/archive/%{version}.tar.gz#/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}