Accepting request 1005677 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1005677 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pep440?expand=0&rev=2
This commit is contained in:
commit
a74b81f241
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:13d17898769abd028af0f62745c9ce75f5bb9977012a7d5d4c89c29272de34ee
|
|
||||||
size 2975
|
|
BIN
pep440-0.1.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
pep440-0.1.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 16 21:17:55 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.1.2
|
||||||
|
* update build and test
|
||||||
|
- Clean specfile
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 13 15:51:59 UTC 2022 - Arun Persaud <arun@gmx.de>
|
Tue Sep 13 15:51:59 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -16,21 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-pep440
|
Name: python-pep440
|
||||||
Version: 0.1.1
|
Version: 0.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Check whether versions number match PEP 440
|
Summary: Check whether versions number match PEP 440
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/Carreau/pep440
|
URL: https://github.com/Carreau/pep440
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pep440/pep440-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pep440/pep440-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module flit-core}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module flit-core >= 3.4}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest-console-scripts}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -45,14 +48,23 @@ A simple package with utils to check whether versions number match Pep 440.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/pep440
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest tests
|
%pytest tests
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative pep440
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative pep440
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc readme.md
|
%doc readme.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/pep440*
|
%python_alternative %{_bindir}/pep440
|
||||||
|
%{python_sitelib}/pep440
|
||||||
|
%{python_sitelib}/pep440-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user