#3 Disable tests for now (RHBZ#2226296)
Merged 8 months ago by gui1ty. Opened 8 months ago by gui1ty.
rpms/ gui1ty/python-pyphi rawhide  into  rawhide

file modified
+9 -5
@@ -1,4 +1,6 @@ 

- %bcond_without tests

+ %bcond_with tests

+ 

+ %global forgeurl https://github.com/wmayner/pyphi

  

  # Sphinx-generated HTML documentation is not suitable for packaging; see

  # https://bugzilla.redhat.com/show_bug.cgi?id=2006555 for discussion.
@@ -10,14 +12,14 @@ 

  Version:        1.2.1

  Release:        %autorelease

  Summary:        A toolbox for integrated information theory

- 

+ %forgemeta

  # The entire source is GPL-3.0-or-later, except:

  #

  #   - docs/_themes/ contains “krTheme Sphinx Style,” which is BSD-3-Clause; but

  #     we remove it in %%prep and do not use it.

  License:        GPL-3.0-or-later

- URL:            https://github.com/wmayner/pyphi/

- Source0:        %{url}/%{version}/pyphi-%{version}.tar.gz

+ URL:            %forgeurl

+ Source0:        %forgesource

  

  # https://github.com/wmayner/pyphi/pull/50

  Patch:          0001-fix-py3.10-correct-collections-import.patch
@@ -110,7 +112,9 @@ 

  

  %check

  %if %{with tests}

- %{pytest}

+   %pytest

+ %else

+   %pyproject_check_import

  %endif

  

  %files -n python3-pyphi -f %{pyproject_files}

  • Use forge macros for pulling from GitHub
  • Close RHBZ#2220443 RHBZ#2226296
  • Also close RHBZ#2010104 - we no longer build for s390x

Pull-Request has been merged by gui1ty

8 months ago
Metadata