15
0
forked from pool/python-atom

- Update to 0.4.3:

* Remove dependency on future which was slowing down import time
- Switch to github tarball for tests and license

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atom?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2019-03-06 13:09:45 +00:00
committed by Git OBS Bridge
parent 31b1211e77
commit 3666cb8dc0
4 changed files with 20 additions and 14 deletions

3
0.4.3.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 6 12:58:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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

View File

@@ -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