[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73915] [PATCH 16/42] gnu: python-pyregion: Update to 2.3.0.
From: |
Sharlatan Hellseher |
Subject: |
[bug#73915] [PATCH 16/42] gnu: python-pyregion: Update to 2.3.0. |
Date: |
Sun, 20 Oct 2024 20:52:18 +0100 |
* gnu/packages/astronomy.scm (python-pyregion): Update to 2.3.0.
[arguments] <#:phases>: Add 'create-setup.py phase.
[native-inputs]: Add python-extension-helpers, python-pytest-astropy, and
python-setuptools.
Change-Id: I4c114a5ec51a7dae2197f60579f1e63597c23ea7
---
gnu/packages/astronomy.scm | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 2d37ae3999..00a7e0d17b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5233,28 +5233,42 @@ (define-public python-pynbody
(define-public python-pyregion
(package
(name "python-pyregion")
- (version "2.2.0")
+ (version "2.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyregion" version))
(sha256
- (base32 "0l7qb7r8fnv46mdih4m5b8jaxixgpw6m7v37dpikjkblgh0vigaw"))))
+ (base32 "09a98v3zk1vdjns1q64al58mapr4cns3nlnyi6b26wqi888qfjg8"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
+ ;; setup.py was removed in b26ec4fe88e29447dc8391fcdef7082a4f7876ce
+ ;; TODO: Check how to implement it in python-build-system.
+ (add-after 'unpack 'create-setup.py
+ (lambda _
+ (call-with-output-file "setup.py"
+ (lambda (port)
+ (format port "from setuptools import setup
+from extension_helpers import get_extensions
+setup(ext_modules=get_extensions())")))))
(add-before 'check 'build-extensions
(lambda _
;; Cython extensions have to be built before running the tests.
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
(propagated-inputs
- (list python-astropy python-numpy python-pyparsing))
+ (list python-astropy
+ python-numpy
+ python-pyparsing))
(native-inputs
(list python-cython
+ python-extension-helpers
python-pytest
+ python-pytest-astropy
python-pytest-astropy-header
+ python-setuptools
python-setuptools-scm))
(home-page "https://github.com/astropy/pyregion")
(synopsis "Python parser for ds9 region files")
--
2.46.0
- [bug#73915] [PATCH 06/42] gnu: wcslib: Update to 8.3., (continued)
- [bug#73915] [PATCH 06/42] gnu: wcslib: Update to 8.3., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 08/42] gnu: python-astropy-iers-data: Update to 0.2024.10.14.0.32.55., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 13/42] gnu: python-ndcube: Update to 2.2.3., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 09/42] gnu: python-astropy: Update to 6.1.4., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 14/42] gnu: python-photutils: Update to 2.0.1., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 10/42] gnu: python-crds: Update to 12.0.4., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 19/42] gnu: python-radio-beam: Update to 0.3.8., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 12/42] gnu: python-glymur: Update to 0.13.6., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 15/42] gnu: python-pynbody: Update to 1.6.0.post0., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 17/42] gnu: python-pyvo: Update to 1.5.3., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 16/42] gnu: python-pyregion: Update to 2.3.0.,
Sharlatan Hellseher <=
- [bug#73915] [PATCH 21/42] gnu: python-sep-pjw: Update to 1.3.6., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 18/42] gnu: python-pyxsim: Update to 4.4.2., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 20/42] gnu: python-regions: Update to 0.10., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 22/42] gnu: python-spectral-cube: Disable tests., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 25/42] gnu: python-sunpy: Update to 6.0.3., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 24/42] gnu: python-stdatamodels: Update to 2.1.1., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 23/42] gnu: python-specutils: Update to 1.18.0., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 30/42] gnu: python-glue-core: Adjust inputs., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 27/42] gnu: python-zodipy: Update to 1.1.0., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 29/42] gnu: Add python-astrodendro., Sharlatan Hellseher, 2024/10/20