[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/33: gnu: python-cdflib: Fix version detection.
From: |
guix-commits |
Subject: |
14/33: gnu: python-cdflib: Fix version detection. |
Date: |
Wed, 27 Sep 2023 07:09:13 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 4cef9cb160ce2e88d42e93d22d43bf0739d13e79
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Sep 7 23:32:14 2023 +0100
gnu: python-cdflib: Fix version detection.
* gnu/packages/astronomy.scm (python-cdflib): Fix version detection
during build Wheel package.
[arguments]: Add new phase 'set-env-version.
[native-inputs]: Add python-setuptools-scm.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/astronomy.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 95b29ec2ea..335c075a68 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1657,6 +1657,10 @@ bad pixel tracking throughout the reduction process.")
(arguments
(list #:phases
#~(modify-phases %standard-phases
+ (add-before 'build 'set-env-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
+ #$version)))
(add-before 'check 'set-home-env
(lambda _
(setenv "HOME" (getcwd)))))))
@@ -1668,6 +1672,7 @@ bad pixel tracking throughout the reduction process.")
python-pytest
python-pytest-cov
python-pytest-remotedata
+ python-setuptools-scm
python-xarray))
(home-page "https://github.com/MAVENSDC/cdflib")
(synopsis "Python library to deal with NASA's CDF astronmical data format")
- 01/33: gnu: python-nbxmpp: Update to 4.2.2., (continued)
- 01/33: gnu: python-nbxmpp: Update to 4.2.2., guix-commits, 2023/09/27
- 04/33: gnu: gajim-openpgp: Update to 1.5.0., guix-commits, 2023/09/27
- 03/33: gnu: gajim-omemo: Update to 2.9.0., guix-commits, 2023/09/27
- 02/33: gnu: gajim: Update to 1.7.3., guix-commits, 2023/09/27
- 05/33: gnu: python-nbxmpp: Clean up formatting., guix-commits, 2023/09/27
- 08/33: gnu: python-coloful: Update to 0.5.5., guix-commits, 2023/09/27
- 07/33: gnu: python-pyotp: Update to 2.9.0., guix-commits, 2023/09/27
- 06/33: gnu: gajim: Clean up formatting., guix-commits, 2023/09/27
- 11/33: gnu: splash: Update to 3.8.4., guix-commits, 2023/09/27
- 10/33: gnu: libxisf: Extend description., guix-commits, 2023/09/27
- 14/33: gnu: python-cdflib: Fix version detection.,
guix-commits <=
- 09/33: gnu: libxisf: Update to 0.2.9., guix-commits, 2023/09/27
- 12/33: gnu: python-astropy-healpix: Update to 1.0.0., guix-commits, 2023/09/27
- 15/33: gnu: python-sunpy: Enable more tests., guix-commits, 2023/09/27
- 20/33: gnu: python-photutils: Update to 1.9.0., guix-commits, 2023/09/27
- 18/33: gnu: python-fitsio: Update to 1.2.0., guix-commits, 2023/09/27
- 33/33: gnu: sssd: Update to 2.9.2., guix-commits, 2023/09/27
- 32/33: gnu: wvkbd: Update to 0.14.1., guix-commits, 2023/09/27
- 21/33: gnu: python-pyvo: Update to 1.4.2., guix-commits, 2023/09/27
- 22/33: gnu: python-rad: Update to 0.17.1., guix-commits, 2023/09/27
- 25/33: gnu: python-stdatamodels: Update to 1.8.0., guix-commits, 2023/09/27