Sync from SUSE:SLFO:Main python-first revision afa46cf9ceceb998515af57357bcbffe
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
|
BIN
first-2.0.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
first-2.0.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
27
python-first.changes
Normal file
27
python-first.changes
Normal file
@@ -0,0 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 07:18:51 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use https for urls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 17 11:11:53 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- use %pytest macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 17:42:44 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Use noun phrase in descriptions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 06:01:15 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Use tests from upstream sdist
|
||||
- Update to v2.0.2
|
||||
* Package tests as part of the dist.
|
||||
* Update docs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 10:35:25 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v2.0.1
|
56
python-first.spec
Normal file
56
python-first.spec
Normal file
@@ -0,0 +1,56 @@
|
||||
#
|
||||
# spec file for package python-first
|
||||
#
|
||||
# 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-first
|
||||
Version: 2.0.2
|
||||
Release: 0
|
||||
Summary: Python library to return the first true value of an iterable
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/hynek/first/
|
||||
Source: https://files.pythonhosted.org/packages/source/f/first/first-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A Python library that returns the first true value of an iterable.
|
||||
|
||||
%prep
|
||||
%setup -q -n first-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user