gnu: python-ndcube: Update to 2.2.2.
* gnu/packages/astronomy.scm (python-ndcube): Update to 2.2.2. Change-Id: Ie7c31312e4b5cc6087d17e9572bf202abd13fc50
This commit is contained in:
		
							parent
							
								
									9b59bd0817
								
							
						
					
					
						commit
						486d8339bd
					
				
					 1 changed files with 9 additions and 2 deletions
				
			
		| 
						 | 
					@ -2410,18 +2410,25 @@ the easy construction of interactive matplotlib widget based animations.")
 | 
				
			||||||
(define-public python-ndcube
 | 
					(define-public python-ndcube
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-ndcube")
 | 
					    (name "python-ndcube")
 | 
				
			||||||
    (version "2.2.0")
 | 
					    (version "2.2.2")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (pypi-uri "ndcube" version))
 | 
					       (uri (pypi-uri "ndcube" version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "1b3vbnm438j5jb48vilp145lq137fbrg1l4845rc55mz2p025x34"))))
 | 
					        (base32 "0d82xldinvjw4csql4w3k44ibprbz0b0g5ixq9a5f6c7zbvfc24l"))))
 | 
				
			||||||
    (build-system pyproject-build-system)
 | 
					    (build-system pyproject-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     (list
 | 
					     (list
 | 
				
			||||||
 | 
					      ;; Break cycle: python-ndcube -> python-specutils -> python-ndcube, see
 | 
				
			||||||
 | 
					      ;; <https://github.com/sunpy/ndcube/issues/733>.
 | 
				
			||||||
 | 
					      #:test-flags #~(list "-k" "not test_rebin_specutils")
 | 
				
			||||||
      #:phases
 | 
					      #:phases
 | 
				
			||||||
      #~(modify-phases %standard-phases
 | 
					      #~(modify-phases %standard-phases
 | 
				
			||||||
 | 
					          (add-after 'unpack 'break-cycle
 | 
				
			||||||
 | 
					            (lambda _
 | 
				
			||||||
 | 
					              (substitute* "ndcube/tests/test_ndcube.py"
 | 
				
			||||||
 | 
					                (("from specutils import Spectrum1D") ""))))
 | 
				
			||||||
          (add-before 'check 'set-home-env
 | 
					          (add-before 'check 'set-home-env
 | 
				
			||||||
            (lambda _
 | 
					            (lambda _
 | 
				
			||||||
              ;; Tests require HOME to be set.
 | 
					              ;; Tests require HOME to be set.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue