commit 4e2442b7c25c67a22c8c7cf402d43b15687b882435f9d4bb682dbcdd03c213d5 Author: Matej Cepl Date: Wed Sep 14 15:48:48 2022 +0000 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 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/pep440-0.1.1.tar.gz b/pep440-0.1.1.tar.gz new file mode 100644 index 0000000..f0587d6 --- /dev/null +++ b/pep440-0.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13d17898769abd028af0f62745c9ce75f5bb9977012a7d5d4c89c29272de34ee +size 2975 diff --git a/python-pep440.changes b/python-pep440.changes new file mode 100644 index 0000000..adfd055 --- /dev/null +++ b/python-pep440.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Sep 13 15:51:59 UTC 2022 - Arun Persaud + +- initial version diff --git a/python-pep440.spec b/python-pep440.spec new file mode 100644 index 0000000..f6ea613 --- /dev/null +++ b/python-pep440.spec @@ -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