commit 4ff64c26cccf27b67f2297ef5d55f92ca5e9d9091db78af31a866efe00b5ef20 Author: Todd R Date: Tue May 15 15:49:08 2018 +0000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atom?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/atom-0.4.1.tar.gz b/atom-0.4.1.tar.gz new file mode 100644 index 0000000..4e89558 --- /dev/null +++ b/atom-0.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbca07d519defbf0d6066a725285a9b30cb8bbf7c880f602f062b83189929f2b +size 65082 diff --git a/python-atom.changes b/python-atom.changes new file mode 100644 index 0000000..c112c9e --- /dev/null +++ b/python-atom.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue May 15 15:31:15 UTC 2018 - toddrme2178@gmail.com + +- Initial version diff --git a/python-atom.spec b/python-atom.spec new file mode 100644 index 0000000..c95e265 --- /dev/null +++ b/python-atom.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-atom +# +# Copyright (c) 2018 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 +# 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. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-atom +Version: 0.4.1 +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 +BuildRequires: %{python_module devel} +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 + +%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} +sed -i 's/\r$//' README.rst + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%files %{python_files} +%doc README.rst +%license COPYING.txt +%{python_sitearch}/* + +%changelog