commit 9fc1788269dc89648e4253ea2592d23431e527743038af61697fb8b2a99bd5a8 Author: Todd R Date: Fri Sep 8 18:27:46 2017 +0000 Accepting request 522405 from home:TheBlackCat:branches:devel:languages:python singlespec version of python3-pyrsistent OBS-URL: https://build.opensuse.org/request/show/522405 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?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/pyrsistent-0.13.0.tar.gz b/pyrsistent-0.13.0.tar.gz new file mode 100644 index 0000000..5753712 --- /dev/null +++ b/pyrsistent-0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ede080bd770a6305bac53ac93ef80bbfb19be4c404a9da0593c73f360c9e4107 +size 96326 diff --git a/python-pyrsistent.changes b/python-pyrsistent.changes new file mode 100644 index 0000000..846658e --- /dev/null +++ b/python-pyrsistent.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Sep 7 22:41:57 UTC 2017 - toddrme2178@gmail.com + +- initial version diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec new file mode 100644 index 0000000..46cf4ea --- /dev/null +++ b/python-pyrsistent.spec @@ -0,0 +1,74 @@ +# +# spec file for package python-pyrsistent +# +# Copyright (c) 2017 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-%{**}} +%bcond_without test +Name: python-pyrsistent +Version: 0.13.0 +Release: 0 +License: MIT +Summary: Persistent, Functional, Immutable data structures +Url: http://github.com/tobgu/pyrsistent/ +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrsistent-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +%if %{with test} +BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module six} +%endif +Requires: python-six + +%python_subpackages + +%description +Pyrsistent is a number of persistent collections +(by some referred to as functional data structures). +Persistent in the sense that they are immutable. + +All methods on a data structure that would normally +mutate it instead return a new copy of the structure +containing the requested updates. The original structure +is left untouched. + +%prep +%setup -q -n pyrsistent-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%if %{with test} +%check +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} +py.test-%{$python_bin_suffix} +} +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc CHANGES.txt LICENCE.mit README README.rst +%{python_sitearch}/* + +%changelog