Accepting request 1003372 from home:apersaud:branches:devel:languages:python:jupyter

Needed for a package in dlp:jupyter

OBS-URL: https://build.opensuse.org/request/show/1003372
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pep440?expand=0&rev=1
This commit is contained in:
Matej Cepl 2022-09-14 15:48:48 +00:00 committed by Git OBS Bridge
commit 4e2442b7c2
5 changed files with 89 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
pep440-0.1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13d17898769abd028af0f62745c9ce75f5bb9977012a7d5d4c89c29272de34ee
size 2975

4
python-pep440.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Sep 13 15:51:59 UTC 2022 - Arun Persaud <arun@gmx.de>
- initial version

58
python-pep440.spec Normal file
View File

@ -0,0 +1,58 @@
#
# spec file for package python-pep440
#
# 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-pep440
Version: 0.1.1
Release: 0
Summary: Check whether versions number match PEP 440
License: MIT
Group: Development/Languages/Python
URL: https://github.com/Carreau/pep440
Source: https://files.pythonhosted.org/packages/source/p/pep440/pep440-%{version}.tar.gz
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
A simple package with utils to check whether versions number match Pep 440.
%prep
%setup -q -n pep440-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests
%files %{python_files}
%doc readme.md
%license LICENSE
%{python_sitelib}/pep440*
%changelog