[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add python-photutils.
From: |
guix-commits |
Subject: |
07/08: gnu: Add python-photutils. |
Date: |
Tue, 25 Jan 2022 17:56:56 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 5e51ccc120871502609de10f21b897af33594a65
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sun Jan 9 04:38:40 2022 +0000
gnu: Add python-photutils.
* gnu/packages/astronomy.scm (python-photutils): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1573003c7e..20961e1436 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -789,6 +789,40 @@ astronomy and astrophysics.")
to access online Astronomical data. Each web service has its own
sub-package.")
(license license:bsd-3)))
+(define-public python-photutils
+ (package
+ (name "python-photutils")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "photutils" version))
+ (sha256
+ (base32 "1a8djakaya6w5iv9237gkcz39brqzgrfs2wqrl0izi1s85cfdymn"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:test-target "pytest"
+ #:phases
+ (modify-phases %standard-phases
+ ;; This file is opened in both install and check phases.
+ (add-before 'install 'writable-compiler
+ (lambda _ (make-file-writable "photutils/_compiler.c")))
+ (add-before 'check 'writable-compiler
+ (lambda _ (make-file-writable "photutils/_compiler.c"))))))
+ (propagated-inputs
+ (list python-astropy python-numpy))
+ (native-inputs
+ (list python-cython
+ python-extension-helpers
+ python-pytest-astropy
+ python-pytest-runner
+ python-setuptools-scm))
+ (home-page "https://github.com/astropy/photutils")
+ (synopsis "Source detection and photometry")
+ (description "Photutils is an Astropy package for detection and photometry
+of astronomical sources.")
+ (license license:bsd-3)))
+
(define-public python-pyvo
(package
(name "python-pyvo")
- branch master updated (c0139a595b -> ebac201995), guix-commits, 2022/01/25
- 01/08: environment: '--check' does nothing when used with '--container'., guix-commits, 2022/01/25
- 04/08: gnu: Add python-pyvo., guix-commits, 2022/01/25
- 03/08: doc: Document 'invoke' & co., guix-commits, 2022/01/25
- 02/08: build: Require Guile >= 3.0.3., guix-commits, 2022/01/25
- 07/08: gnu: Add python-photutils.,
guix-commits <=
- 05/08: gnu: Add python-astroquery., guix-commits, 2022/01/25
- 08/08: gnu: Add python-regions., guix-commits, 2022/01/25
- 06/08: gnu: Add python-astropy-healpix., guix-commits, 2022/01/25