#2 Update to 0.3.1
Merged 3 years ago by thrnciar. Opened 3 years ago by thrnciar.
rpms/ thrnciar/python-parver update-to-0.3.1  into  master

file modified
+15 -18
@@ -1,7 +1,7 @@ 

  %global pypi_name parver

  Name:           python-%{pypi_name}

- Version:        0.3.0

- Release:        3%{?dist}

+ Version:        0.3.1

+ Release:        1%{?dist}

  Summary:        Parse and manipulate version numbers

  

  License:        MIT
@@ -10,15 +10,7 @@ 

  BuildArch:      noarch

  

  BuildRequires:  python3-devel

- BuildRequires:  python3dist(arpeggio)

- BuildRequires:  python3dist(attrs) >= 17.4

- BuildRequires:  python3dist(hypothesis)

- BuildRequires:  python3dist(pretend)

- BuildRequires:  python3dist(pytest)

- BuildRequires:  python3dist(setuptools)

- BuildRequires:  python3dist(six)

- 

- %?python_enable_dependency_generator

+ BuildRequires:  pyproject-rpm-macros

  

  %description

  Parver allows parsing and manipulation of PEP 440 version numbers.
@@ -36,26 +28,31 @@ 

  %autosetup -n %{pypi_name}-%{version}

  

  

+ %generate_buildrequires

+ %pyproject_buildrequires -x test -x doctest

+ 

+ 

  %build

- %py3_build

+ %pyproject_wheel

  

  

  %install

- %py3_install

- 

+ %pyproject_install

+ %pyproject_save_files parver

  

  %check

- PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v

+ %pytest -v

  

  

- %files -n python3-%{pypi_name}

+ %files -n python3-%{pypi_name} -f %{pyproject_files}

  %license LICENSE

  %doc README.rst

- %{python3_sitelib}/%{pypi_name}

- %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info

  

  

  %changelog

+ * Mon Oct 12 2020 Tomas Hrnciar <thrnciar@redhat.com> - 0.3.1-1

+ - Update to 0.3.1 (#1883344)

+ 

  * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (parver-0.3.0.tar.gz) = b789d9a5faa419081b6138c606f148a0ad4911863202319f0d0eb390ec50b5fcd337f601c918daf69ce9093a182348c38a25fd1cc62d70dc9ef10367a4be9184

+ SHA512 (parver-0.3.1.tar.gz) = b2ba0bb367784d61ca5cd49b14389588e0ba69247c525debde2092930bcaa82fbb35e5e58691c7d252be14e2f4ed56dcefe983e61c64063b43cd533a39919847

Tested in Copr.
Converted to use pyproject-rpm-macros.

rebased onto 4ee4ebe

3 years ago

Light suggestion: Use %pytest -v here instead of the entire line.

Sorry, I've somehow missed this PR. Looking good, love the multiple -x options (they appear to work, :tada:). Feel free to apply my suggestion (or not) and ship it.

Another light suggestion: Does it build without -x pep8test? If so, I'd rather not run pep8 related checks during build.

rebased onto 8a1edf0

3 years ago

It builds also without -x pep8test. Thank you for review.

Pull-Request has been merged by thrnciar

3 years ago