[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
244/377: gnu: python-anndata: Fetch sources from git.
From: |
guix-commits |
Subject: |
244/377: gnu: python-anndata: Fetch sources from git. |
Date: |
Thu, 2 Sep 2021 17:55:45 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit d3364b9c37f0c2ca005e90619ace9b5ed8326cd4
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Aug 30 18:26:14 2021 +0200
gnu: python-anndata: Fetch sources from git.
* gnu/packages/python-xyz.scm (python-anndata)[source]: Fetch from git to
include test data.
[arguments]: Enable tests. Do not let setuptools_scm guess the version.
---
gnu/packages/python-xyz.scm | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5acd237..577353e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21386,15 +21386,18 @@ N-dimensional arrays for Python.")
(version "0.7.6")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "anndata" version))
+ ;; The tarball from PyPi doesn't include tests.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/theislab/anndata")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1ch8yp0xmag6z0kl01pljm35lbbwax7lrimfhiclpkd4m6xngk53"))))
+ "1q30bsfsq9xfqm8nmabg3bjh9gix3yng0170xiiyw1lin4xncf0q"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ; The tarball from PyPi doesn't include tests.
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(delete 'check)
(add-before 'build 'relax-dependency-requirements
@@ -21405,6 +21408,7 @@ N-dimensional arrays for Python.")
(("pandas>=1.1.1") "pandas>=1.0.5"))))
(replace 'build
(lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" ,version)
;; ZIP does not support timestamps before 1980.
(setenv "SOURCE_DATE_EPOCH" "315532800")
(invoke "flit" "build")))
- 228/377: build: Build (gnu packages rocm)., (continued)
- 228/377: build: Build (gnu packages rocm)., guix-commits, 2021/09/02
- 220/377: gnu: mu: Update to 1.6.5., guix-commits, 2021/09/02
- 217/377: gnu: rofi: Update to 1.7.0., guix-commits, 2021/09/02
- 226/377: bootloader: Report location of the deprecated 'target' field., guix-commits, 2021/09/02
- 222/377: gnu: guile-websocket: Update to 0.1-d17878f6., guix-commits, 2021/09/02
- 213/377: gnu: python-pytest-django: Update to 4.4.0., guix-commits, 2021/09/02
- 224/377: gnu: extra-cmake-modules: Avoid dependency on qtbase when on armhf., guix-commits, 2021/09/02
- 225/377: build: Build (gnu system setuid)., guix-commits, 2021/09/02
- 236/377: gnu: Add python-svgutils., guix-commits, 2021/09/02
- 245/377: gnu: python-scikit-learn: Update to 0.24.2., guix-commits, 2021/09/02
- 244/377: gnu: python-anndata: Fetch sources from git.,
guix-commits <=
- 243/377: gnu: python-scanpy: Update to 1.8.1., guix-commits, 2021/09/02
- 264/377: gnu: glibmm: Enable documentation., guix-commits, 2021/09/02
- 269/377: gnu: gtk-doc: Update to 1.32., guix-commits, 2021/09/02
- 247/377: gnu: Add python-coolbox., guix-commits, 2021/09/02
- 263/377: gnu: glibmm: Update to 2.68.0., guix-commits, 2021/09/02
- 279/377: gnu: cairomm: Enable documentation., guix-commits, 2021/09/02
- 249/377: gnu: go-github-com-gdamore-tcell: Correct license to Apache 2.0., guix-commits, 2021/09/02
- 260/377: gnu: Temporarily use glib without documentation., guix-commits, 2021/09/02
- 273/377: gnu: cairo: Make some cosmetic changes., guix-commits, 2021/09/02
- 254/377: gnu: glib: Make some cosmetic changes., guix-commits, 2021/09/02