commit 41a33bb138f3fa954afc31d7ecd1dafaff44bf9f96e58d0f1e65a7ae1ef153de Author: Matej Cepl Date: Thu Nov 21 10:48:15 2024 +0000 Accepting request 1225309 from home:ojkastl_buildservice:Branch_devel_languages_python new package python-extra-platforms, required by python-click-extra (which is required by mail-deduplicate) OBS-URL: https://build.opensuse.org/request/show/1225309 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extra-platforms?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/extra_platforms-1.6.0.tar.gz b/extra_platforms-1.6.0.tar.gz new file mode 100644 index 0000000..abf542b --- /dev/null +++ b/extra_platforms-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbef8d68019362690bd87fcb98ea287e7d381d7b1758a500d66abea320485234 +size 40464 diff --git a/python-extra-platforms.changes b/python-extra-platforms.changes new file mode 100644 index 0000000..3a0dab1 --- /dev/null +++ b/python-extra-platforms.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Nov 20 13:47:55 UTC 2024 - Johannes Kastl + +- new package python-extra-platforms, required by + python-click-extra diff --git a/python-extra-platforms.spec b/python-extra-platforms.spec new file mode 100644 index 0000000..ed16e43 --- /dev/null +++ b/python-extra-platforms.spec @@ -0,0 +1,78 @@ +# +# spec file for package python-extra-platforms +# +# 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/ +# + +# 20241120 +%define skip_python313 1 + +%{?sle15_python_module_pythons} +Name: python-extra-platforms +Version: 1.6.0 +Release: 0 +Summary: Detect platforms and group them by family +License: GPL-2.0-or-later +URL: https://github.com/kdeldycke/extra-platforms +Source: https://files.pythonhosted.org/packages/source/e/extra-platforms/extra_platforms-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +# SECTION test requirements +BuildRequires: %{python_module boltons >= 24.1.0} +BuildRequires: %{python_module distro >= 1.9.0} +BuildRequires: %{python_module pytest >= 8.3.1} +BuildRequires: %{python_module pytest-randomly >= 3.16.0} +# /SECTION +BuildRequires: fdupes +Requires: python-boltons >= 24.1.0 +Requires: python-distro >= 1.9.0 +Suggests: python-pytest >= 8 +Suggests: python-furo >= 2024.8.6 +Suggests: python-myst-parser >= 4.0.0 +Suggests: python-sphinx >= 8.1.3 +Suggests: python-sphinx-autodoc-typehints >= 2.5.0 +Suggests: python-sphinx-copybutton >= 0.5.2 +Suggests: python-sphinx-design >= 0.6.0 +Suggests: python-sphinx-issues >= 5.0.0 +Suggests: python-sphinxcontrib-mermaid >= 1.0.0 +Suggests: python-sphinxext-opengraph >= 0.9.0 +BuildArch: noarch +%python_subpackages + +%description +Detect platforms and group them by family + +%prep +%autosetup -p1 -n extra_platforms-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# remove coverage configuration +sed -i '/cov=/d' pyproject.toml +sed -i '/cov-report=/d' pyproject.toml +%pytest + +%files %{python_files} +%{python_sitelib}/extra_platforms +%{python_sitelib}/extra_platforms-%{version}.dist-info + +%changelog