14
0

Accepting request 1206468 from home:glaubitz:branches:devel:languages:python

- Initial build
  * Version 0.2.0

OBS-URL: https://build.opensuse.org/request/show/1206468
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-propcache?expand=0&rev=1
This commit is contained in:
2024-10-09 11:48:40 +00:00
committed by Git OBS Bridge
commit ce4630f486
5 changed files with 97 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

BIN
propcache-0.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

5
python-propcache.changes Normal file
View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Oct 9 07:35:20 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Initial build
* Version 0.2.0

65
python-propcache.spec Normal file
View File

@@ -0,0 +1,65 @@
#
# spec file for package python-propcache
#
# Copyright (c) 2024 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/
#
%{?sle15_python_module_pythons}
Name: python-propcache
Version: 0.2.0
Release: 0
Summary: Accelerated property cache
License: Apache-2.0
URL: https://github.com/aio-libs/propcache
Source: https://files.pythonhosted.org/packages/source/p/propcache/propcache-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module Cython >= 3.0.11}
BuildRequires: %{python_module expandvars}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 47}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module covdefaults}
BuildRequires: %{python_module propcache = %{version}}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: fdupes
%python_subpackages
%description
Accelerated property cache
%prep
%autosetup -p1 -n propcache-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%{python_expand %fdupes %{buildroot}%{$python_sitearch}
find %{_builddir} -name ".gitignore" -delete
find %{_builddir} -name ".TEMPLATE.rst" -delete
}
%check
%pytest_arch
%files %{python_files}
%doc CHANGES CHANGES.rst CHANGES/README.rst README.rst
%license LICENSE
%{python_sitearch}/propcache
%{python_sitearch}/propcache-%{version}.dist-info
%changelog