2018-05-15 15:49:08 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-atom
|
|
|
|
|
#
|
2024-01-30 12:02:23 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2018-05-15 15:49:08 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2019-03-06 13:09:45 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-05-15 15:49:08 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2023-06-01 07:57:23 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2018-05-15 15:49:08 +00:00
|
|
|
Name: python-atom
|
2024-10-29 05:21:40 +00:00
|
|
|
Version: 0.11.0
|
2018-05-15 15:49:08 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Memory efficient Python objects
|
|
|
|
|
License: BSD-3-Clause
|
2020-05-07 02:49:55 +00:00
|
|
|
URL: https://github.com/nucleic/atom
|
2022-12-16 08:23:21 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/a/atom/atom-%{version}.tar.gz
|
|
|
|
|
BuildRequires: %{python_module cppy >= 1.2.0}
|
2024-10-29 05:21:40 +00:00
|
|
|
BuildRequires: %{python_module devel >= 3.10}
|
2022-12-16 08:23:21 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2019-03-06 13:09:45 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2022-12-16 08:23:21 +00:00
|
|
|
BuildRequires: %{python_module setuptools >= 61.2}
|
|
|
|
|
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
2018-05-15 15:49:08 +00:00
|
|
|
BuildRequires: c++_compiler
|
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2024-10-29 05:21:40 +00:00
|
|
|
%if 0%{?python_version_nodots} < 311
|
|
|
|
|
Requires: python-typing-extensions
|
|
|
|
|
%endif
|
2018-05-15 15:49:08 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Atom is a framework for creating memory efficient Python objects with
|
|
|
|
|
enhanced features such as dynamic initialization, validation, and
|
|
|
|
|
change notification for object attributes. It provides the default
|
|
|
|
|
model binding behaviour for the Enaml UI framework.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n atom-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2019-03-06 13:09:45 +00:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
2022-12-16 08:23:21 +00:00
|
|
|
%pyproject_wheel
|
2018-05-15 15:49:08 +00:00
|
|
|
|
|
|
|
|
%install
|
2022-12-16 08:23:21 +00:00
|
|
|
%pyproject_install
|
2018-05-15 15:49:08 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
|
|
|
|
|
2019-03-06 13:09:45 +00:00
|
|
|
%check
|
2022-12-16 08:23:21 +00:00
|
|
|
%pytest_arch
|
2019-03-06 13:09:45 +00:00
|
|
|
|
2018-05-15 15:49:08 +00:00
|
|
|
%files %{python_files}
|
|
|
|
|
%doc README.rst
|
2019-03-06 13:09:45 +00:00
|
|
|
%license LICENSE
|
2022-12-16 08:23:21 +00:00
|
|
|
%{python_sitearch}/atom
|
2024-10-29 05:21:40 +00:00
|
|
|
%{python_sitearch}/atom-%{version}.dist-info
|
2018-05-15 15:49:08 +00:00
|
|
|
|
|
|
|
|
%changelog
|