forked from pool/python-parver
Accepting request 1073084 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1073084 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parver?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c902e0653bcce927cc156a7fd9b3a51924cbce3bf3d0bfd49fc282bfd0c5dfd3
|
||||
size 30287
|
||||
3
parver-0.4.tar.gz
Normal file
3
parver-0.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4a3dbb93c53373ee9a0ba055e4858c44169b204b912e49d003ead95db9a9bca
|
||||
size 25526
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 09:30:41 UTC 2023 - pgajdos@suse.com
|
||||
|
||||
- version update to 0.4
|
||||
Added
|
||||
Type hints.
|
||||
Removed
|
||||
Support for Python 2.7, 3.5, and 3.6.
|
||||
__version__, __author__, and __email__ attributes from parver
|
||||
module. Use :mod:`importlib.metadata` instead.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 8 22:33:56 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-parver
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,23 +16,22 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# hypothesis, as a dependency of this, is not python2 compatible anymore
|
||||
%define skip_python2 1
|
||||
Name: python-parver
|
||||
Version: 0.3.1
|
||||
Version: 0.4
|
||||
Release: 0
|
||||
Summary: Module to parse and manipulate version numbers
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/RazerM/parver
|
||||
Source: https://files.pythonhosted.org/packages/source/p/parver/parver-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Arpeggio >= 1.7
|
||||
Requires: python-attrs >= 19.2
|
||||
Requires: python-six >= 1.13
|
||||
Requires: python-typing_extensions
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Arpeggio >= 1.7}
|
||||
@@ -40,7 +39,7 @@ BuildRequires: %{python_module attrs >= 19.2}
|
||||
BuildRequires: %{python_module hypothesis >= 3.56}
|
||||
BuildRequires: %{python_module pretend >= 1.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six >= 1.13}
|
||||
BuildRequires: %{python_module typing_extensions}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@@ -48,13 +47,13 @@ BuildRequires: %{python_module six >= 1.13}
|
||||
parver allows parsing and manipulation of `PEP 440`_ version numbers.
|
||||
|
||||
%prep
|
||||
%setup -q -n parver-%{version}
|
||||
%autosetup -p1 -n parver-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -62,7 +61,7 @@ parver allows parsing and manipulation of `PEP 440`_ version numbers.
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md README.rst
|
||||
%{python_sitelib}/*
|
||||
%doc README*
|
||||
%{python_sitelib}/parver*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user