diff --git a/0.4.3.tar.gz b/0.4.3.tar.gz new file mode 100644 index 0000000..44b0154 --- /dev/null +++ b/0.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a07d6a973acbfaa90f9cc8155f3afa4a0a2e0aae0a8f153e371c38640257fd8 +size 110408 diff --git a/atom-0.4.1.tar.gz b/atom-0.4.1.tar.gz deleted file mode 100644 index 4e89558..0000000 --- a/atom-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bbca07d519defbf0d6066a725285a9b30cb8bbf7c880f602f062b83189929f2b -size 65082 diff --git a/python-atom.changes b/python-atom.changes index c112c9e..9c287e4 100644 --- a/python-atom.changes +++ b/python-atom.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 6 12:58:53 UTC 2019 - Tomáš Chvátal + +- Update to 0.4.3: + * Remove dependency on future which was slowing down import time +- Switch to github tarball for tests and license + ------------------------------------------------------------------- Tue May 15 15:31:15 UTC 2018 - toddrme2178@gmail.com diff --git a/python-atom.spec b/python-atom.spec index c95e265..3393a33 100644 --- a/python-atom.spec +++ b/python-atom.spec @@ -1,7 +1,7 @@ # # spec file for package python-atom # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,28 +12,25 @@ # 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-%{**}} Name: python-atom -Version: 0.4.1 +Version: 0.4.3 Release: 0 Summary: Memory efficient Python objects License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/nucleic/atom -Source: https://files.pythonhosted.org/packages/source/a/atom/atom-%{version}.tar.gz +Source: https://github.com/nucleic/atom/archive/%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module future} -# /SECTION -Requires: python-future %python_subpackages @@ -45,19 +42,21 @@ model binding behaviour for the Enaml UI framework. %prep %setup -q -n atom-%{version} -sed -i 's/\r$//' README.rst %build -export CFLAGS="%{optflags}" +export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_bin_suffix} -v + %files %{python_files} %doc README.rst -%license COPYING.txt +%license LICENSE %{python_sitearch}/* %changelog