commit cd2cf3ab8326c5a1e114117a55d0bd01bcdf3d23972ec059785414006d0dee32 Author: Matej Cepl Date: Mon Nov 30 14:43:14 2020 +0000 Accepting request 851594 from home:jayvdb:py-submit dep of several aio-libs projects, include aiosignal (not in d-l-py yet), and aiohttp which is already in d-l-py, and I activated most of its tests recently, but some are still broken due this and other packaging bugs. It is also an exposed datatype of aiohttp, so this library is needed by users of the relevant part of aiohttp, and they will be expecting it pre-installed by aiohttp. OBS-URL: https://build.opensuse.org/request/show/851594 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?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/frozenlist-1.1.1.tar.gz b/frozenlist-1.1.1.tar.gz new file mode 100644 index 0000000..cbbfa82 --- /dev/null +++ b/frozenlist-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32fa8c86eee5c6f11b44863c0d3e945b2b1a03df3bf218617e832f1f04ba3146 +size 64059 diff --git a/python-frozenlist.changes b/python-frozenlist.changes new file mode 100644 index 0000000..c33c3cc --- /dev/null +++ b/python-frozenlist.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Nov 29 12:25:14 AM UTC 2020 - John Vandenberg + +- Initial spec for v1.1.1 diff --git a/python-frozenlist.spec b/python-frozenlist.spec new file mode 100644 index 0000000..81de31a --- /dev/null +++ b/python-frozenlist.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-frozenlist +# +# Copyright (c) 2020 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-%{**}} +%define skip_python2 1 +Name: python-frozenlist +Version: 1.1.1 +Release: 0 +Summary: Python list-like structure which implements MutableSequence +License: Apache-2.0 +URL: https://github.com/aio-libs/frozenlist +Source: https://files.pythonhosted.org/packages/source/f/frozenlist/frozenlist-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%python_subpackages + +%description +Python list-like structure which implements collections.abc.MutableSequence. + +%prep +%setup -q -n frozenlist-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%{python_expand rm %{buildroot}%{$python_sitearch}/frozenlist/_frozenlist.c +%fdupes %{buildroot}%{$python_sitearch} +} + +%check +%pytest_arch + +%files %{python_files} +%doc CHANGES.rst README.rst +%license LICENSE.txt +%{python_sitearch}/* + +%changelog