Sync from SUSE:SLFO:Main python-roman-numerals revision 767e041de99bc5205a703066218a6d0a
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
15
python-roman-numerals.changes
Normal file
15
python-roman-numerals.changes
Normal file
@@ -0,0 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 14:15:00 UTC 2025 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
|
||||
|
||||
- Enable sle15_python_module_pythons to only build for Python 3.11 on Leap
|
||||
(does not build with old pytest anymore)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 14:15:24 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use pytest macro rather than calling pytest directly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 07:20:25 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Initial version
|
61
python-roman-numerals.spec
Normal file
61
python-roman-numerals.spec
Normal file
@@ -0,0 +1,61 @@
|
||||
#
|
||||
# spec file for package python-roman-numerals
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-roman-numerals
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: Manipulate well-formed Roman numerals
|
||||
License: 0BSD
|
||||
URL: https://github.com/AA-Turner/roman-numerals/
|
||||
Source: https://files.pythonhosted.org/packages/source/r/roman-numerals/roman_numerals-%{version}.tar.gz
|
||||
BuildRequires: %{python_module flit-core >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Suggests: python-mypy = 1.15.0
|
||||
Suggests: python-pyright = 1.1.394
|
||||
Suggests: python-ruff = 0.9.7
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest >= 8}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A library for manipulating well-formed Roman numerals.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n roman_numerals-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENCE.rst
|
||||
%{python_sitelib}/roman_numerals
|
||||
%{python_sitelib}/roman_numerals-%{version}.dist-info
|
||||
|
||||
%changelog
|
BIN
roman_numerals-3.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
roman_numerals-3.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user