diff --git a/.files b/.files new file mode 100644 index 0000000..46d3776 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..b106a7d --- /dev/null +++ b/.meta @@ -0,0 +1,9 @@ + + Library implementing a mutable variant of namedtuple + Mutable variant of namedtuple -- recordclass, which support assignments, and +other memory saving variants. + + + + https://bitbucket.org/intellimath/recordclass + diff --git a/.rev b/.rev new file mode 100644 index 0000000..1766043 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + 1796098956e06321db2d97189abd71d1 + 0.17.2 + + RBrownFactory + New package needed for updates to python-Mathics + 991967 + + diff --git a/python-recordclass.changes b/python-recordclass.changes new file mode 100644 index 0000000..e158b78 --- /dev/null +++ b/python-recordclass.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Jul 31 21:55:59 UTC 2022 - Atri Bhattacharya + +- Initial package. diff --git a/python-recordclass.spec b/python-recordclass.spec new file mode 100644 index 0000000..685d44d --- /dev/null +++ b/python-recordclass.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-recordclass +# +# Copyright (c) 2022 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-recordclass +Version: 0.17.2 +Release: 0 +Summary: Library implementing a mutable variant of namedtuple +License: MIT +URL: https://bitbucket.org/intellimath/recordclass +Source: https://files.pythonhosted.org/packages/source/r/recordclass/recordclass-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +# SECTION Test requirements +BuildRequires: %{python_module psutil} +BuildRequires: %{python_module pyperf} +# /SECTION +%python_subpackages + +%description +Mutable variant of namedtuple -- recordclass, which support assignments, and +other memory saving variants. + +%prep +%setup -q -n recordclass-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +# Crashes when run using pytest +%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} python%{$python_version} test_all.py + +%files %{python_files} +%doc README.md +%license LICENSE.txt +%{python_sitearch}/recordclass/ +%{python_sitearch}/recordclass-%{version}-py%{python_version}.egg-info/ + +%changelog diff --git a/recordclass-0.17.2.tar.gz b/recordclass-0.17.2.tar.gz new file mode 120000 index 0000000..a8bdf94 --- /dev/null +++ b/recordclass-0.17.2.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeidr6v3f3cjontl7ntyjyve4upm2henxvt6r3q6jhtl5ogzpdkq2lu \ No newline at end of file