commit ab50bfa426240c92804cb36cefbfb2dd4376b6ad7a896f754d5e6b172cd67749 Author: Matej Cepl Date: Fri Feb 11 20:15:14 2022 +0000 Accepting request 953782 from home:jaimeMF:branches:multimedia:apps Create package required by the new versions of multimedia:apps/beets OBS-URL: https://build.opensuse.org/request/show/953782 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-confuse?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/confuse-1.7.0.tar.gz b/confuse-1.7.0.tar.gz new file mode 100644 index 0000000..73b0704 --- /dev/null +++ b/confuse-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9fe8474516a62397f8e52fcf89547bb2f2737b1a4a6f6dec11a286f0b3a7401 +size 50503 diff --git a/python-confuse.changes b/python-confuse.changes new file mode 100644 index 0000000..50bbff5 --- /dev/null +++ b/python-confuse.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Feb 10 21:40:00 UTC 2022 - Jaime Marquínez Ferrándiz + +- Create package for version 1.7.0 diff --git a/python-confuse.spec b/python-confuse.spec new file mode 100644 index 0000000..f40a816 --- /dev/null +++ b/python-confuse.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-confuse +# +# 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-confuse +Version: 1.7.0 +Release: 0 +Summary: Painless YAML configuration +License: MIT +URL: https://github.com/beetbox/confuse +Source: https://files.pythonhosted.org/packages/source/c/confuse/confuse-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module flit < 4} +BuildRequires: %{python_module flit >= 2} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +Requires: python-PyYAML +BuildArch: noarch +%python_subpackages + +%description +Painless YAML configuration. + +%prep +%setup -q -n confuse-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pyunittest -v + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog