commit 784f9167841d60aa858583b86269421419fea7b495e02b44ccdd5ecc399e5a85 Author: Markéta Machová Date: Mon Jun 2 14:07:48 2025 +0000 - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multipledispatch?expand=0&rev=13 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/1.0.0.tar.gz b/1.0.0.tar.gz new file mode 100644 index 0000000..44e850f --- /dev/null +++ b/1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9eb21390e5051ce28b2ee7acd02bb21885b9e2a4ce6e5fdbb1f338b48b54203 +size 24244 diff --git a/python-multipledispatch.changes b/python-multipledispatch.changes new file mode 100644 index 0000000..a6c7d10 --- /dev/null +++ b/python-multipledispatch.changes @@ -0,0 +1,75 @@ +------------------------------------------------------------------- +Mon Jun 2 14:07:32 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Thu Sep 14 12:38:16 UTC 2023 - pgajdos@suse.com + +- version update to 1.0.0 + * no upstream changelog +- python-six is not required + +------------------------------------------------------------------- +Mon Nov 8 14:01:40 UTC 2021 - Dirk Müller + +- add missing six dependency + +------------------------------------------------------------------- +Fri Apr 12 14:24:40 UTC 2019 - pgajdos@suse.com + +- version update to 0.6.0 + * no upstream changelog +- turn testsuite on +- deleted sources + - LICENSE.txt (not needed) + +------------------------------------------------------------------- +Tue Dec 4 12:50:35 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Thu Jun 7 20:36:28 UTC 2018 - jengelh@inai.de + +- Ensure neutrality of description. + +------------------------------------------------------------------- +Thu May 3 14:07:08 UTC 2018 - toddrme2178@gmail.com + +- Add license file +- Use %license tag + +------------------------------------------------------------------- +Sun Mar 11 00:20:30 UTC 2018 - arun@gmx.de + +- specfile: + * update copyright year + +- update to version 0.5.0: + * ENH: optimize import times (#66) + * Switch testing to pytest add benchmark test (#70) + * support PEP484 function argument annotation (#65) + * setup.py improvements (#62) + * Convert readthedocs links for their .org -> .io migration for + hosted projects (#61) + +------------------------------------------------------------------- +Thu May 11 01:21:27 UTC 2017 - toddrme2178@gmail.com + +- Implement single-spec version +- Fix source URL. +- Update to 0.4.9 + * No upstream changelog + +------------------------------------------------------------------- +Fri Jul 10 08:01:31 UTC 2015 - toddrme2178@gmail.com + +- Update to 0.4.8 + * No upstream changelog + +------------------------------------------------------------------- +Thu Sep 4 12:29:30 UTC 2014 - toddrme2178@gmail.com + +- Initial version + diff --git a/python-multipledispatch.spec b/python-multipledispatch.spec new file mode 100644 index 0000000..ca1810c --- /dev/null +++ b/python-multipledispatch.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-multipledispatch +# +# Copyright (c) 2025 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/ +# + + +Name: python-multipledispatch +Version: 1.0.0 +Release: 0 +Summary: Multiple dispatch in Python +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://multiple-dispatch.readthedocs.io/ +Source: https://github.com/mrocklin/multipledispatch/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest-benchmark} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +A relatively sane approach to multiple dispatch in Python. + +This implementation of multiple dispatch is mostly complete, +performs static analysis to avoid conflicts, and provides optional namespace +support. + +%prep +%autosetup -n multipledispatch-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%{python_sitelib}/multipledispatch* + +%changelog