forked from pool/python-enaml
Accepting request 770291 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/770291 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-enaml?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f10e7c711c34f76618f54aa88aafde5e931aba2bbe8ace844f42160676f63007
|
||||
size 1568147
|
||||
3
enaml-0.10.4.tar.gz
Normal file
3
enaml-0.10.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c28c537e7f78543a459ad39a06812ecafff1e0a7133b6303e9894a52b2a7818e
|
||||
size 8061180
|
||||
@@ -1,3 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 13:57:41 UTC 2020 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Update to 0.10.4
|
||||
* Fix issue with validator fields, where clearing the error
|
||||
state does not restore the original stylesheet
|
||||
* Update Looper loop index when items are reordered
|
||||
* widgets: add logic to track the members of a ButtonGroup
|
||||
* Add button group widget
|
||||
* qt: handle the absence of a pixmap when computing the aspect_ratio
|
||||
* widgets: add sync_time attribute to Field
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 25 19:33:19 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Update to 0.10.3
|
||||
* implement import hooks using Python 3 interface
|
||||
* make enaml-run exit immediately when pressing ^c
|
||||
* add support for f-strings in enaml files on supported Python versions
|
||||
* add support for declarative async function
|
||||
* add a enaml-compileallcommand to generate pyc and enamlc files
|
||||
* fix the tp_name value of all C extensions
|
||||
* add pickle support for enaml's Color
|
||||
* add support for tiling and cascading to MdiArea
|
||||
* fix issue # 174 (MdiWindow not automatically shown when added)
|
||||
* add minimal workbench documentation
|
||||
* add support for font-stretch
|
||||
* remove dependency on future to reduce import time
|
||||
* add constraints to enforce image aspect ratio in ImageView
|
||||
* improvements to the scintilla widget and live editor
|
||||
* Multiple improvements to the documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 16 16:19:03 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-enaml
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,45 +12,53 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define X_display ":98"
|
||||
Name: python-enaml
|
||||
Version: 0.10.2
|
||||
Version: 0.10.4
|
||||
Release: 0
|
||||
# Source code is under BSD but images are under different licenses
|
||||
# and details are inside image_LICENSE.txt
|
||||
License: BSD-3-Clause and LGPL-2.1
|
||||
Summary: Declarative DSL for building rich user interfaces in Python
|
||||
Url: https://github.com/nucleic/enaml
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/e/enaml/enaml-%{version}.tar.gz
|
||||
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
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module QtPy >= 1.3}
|
||||
BuildRequires: %{python_module atom >= 0.4.1}
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module kiwisolver >= 1.0.0}
|
||||
BuildRequires: %{python_module ply >= 3.4}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytest-qt}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: xorg-x11-server
|
||||
# /SECTION
|
||||
Requires: python-QtPy >= 1.3
|
||||
Requires: python-atom >= 0.4.1
|
||||
Requires: python-atom >= 0.4.2
|
||||
Requires: python-future
|
||||
Requires: python-kiwisolver >= 1.0.0
|
||||
Requires: python-ply >= 3.4
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
|
||||
Requires: python-qt5
|
||||
Requires: python-qtwebengine-qt5
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module QtPy >= 1.3}
|
||||
BuildRequires: %{python_module atom >= 0.4.2}
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module ipython}
|
||||
BuildRequires: %{python_module kiwisolver >= 1.0.0}
|
||||
BuildRequires: %{python_module ply >= 3.4}
|
||||
BuildRequires: %{python_module pytest-qt}
|
||||
BuildRequires: %{python_module pytest-xvfb}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module qt5}
|
||||
BuildRequires: %{python_module qtwebengine-qt5}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: gdb
|
||||
BuildRequires: libqt5-qtwebengine-debuginfo
|
||||
BuildRequires: xauth
|
||||
BuildRequires: xorg-x11-fonts
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -72,32 +80,24 @@ export CFLAGS="%{optflags}"
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
%python_clone -a %{buildroot}%{_bindir}/enaml-compileall
|
||||
%python_clone -a %{buildroot}%{_bindir}/enaml-run
|
||||
|
||||
%check
|
||||
#############################################
|
||||
### Launch a virtual framebuffer X server ###
|
||||
#############################################
|
||||
export DISPLAY=%{X_display}
|
||||
Xvfb %{X_display} >& Xvfb.log &
|
||||
trap "kill $! || true" EXIT
|
||||
sleep 10
|
||||
|
||||
export QT_HASH_SEED=0
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||
py.test-%{$python_bin_suffix} tests
|
||||
}
|
||||
mv enaml enaml_temp
|
||||
%pytest_arch
|
||||
mv enaml_temp enaml
|
||||
|
||||
%post
|
||||
%python_install_alternative enaml-run
|
||||
%{python_install_alternative enaml-compileall enaml-run}
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative enaml-run
|
||||
%python_uninstall_alternative enaml-compileall
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license COPYING.txt licenses/
|
||||
%doc README.rst releasenotes.rst
|
||||
%license LICENSE licenses/*
|
||||
%python_alternative %{_bindir}/enaml-compileall
|
||||
%python_alternative %{_bindir}/enaml-run
|
||||
%{python_sitearch}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user