mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-mappy: Switch to pyproject.
* gnu/packages/bioinformatics.scm (python-mappy): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#test-backend, #test-flags>: Replace check phase with example (no tests). [native-inputs]: Add python-setuptools. Change-Id: I9561de7e0ee94dbd1134c23c608d262169407456 Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
2ede88e3bc
commit
14ab247ece
@@ -18689,15 +18689,26 @@ cases include:
|
|||||||
(package
|
(package
|
||||||
(name "python-mappy")
|
(name "python-mappy")
|
||||||
(version "2.24")
|
(version "2.24")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (pypi-uri "mappy" version))
|
(method git-fetch)
|
||||||
(sha256
|
(uri (git-reference
|
||||||
(base32
|
(url "https://github.com/lh3/minimap2")
|
||||||
"1ycszza87p9qvx8mis9v1hry0ac465x1xcxbsn1k45qlxxrzp8im"))))
|
(commit (string-append "v" version))))
|
||||||
(build-system python-build-system)
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0k658659ivxk2xnyawrfqdhcji6a3xcqdr5a9r5myzb2ivypnjmh"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-backend #~'custom
|
||||||
|
#:test-flags
|
||||||
|
#~(list "-c" (string-append "import mappy;"
|
||||||
|
" print(mappy.revcomp("
|
||||||
|
"mappy.Aligner('test/MT-human.fa')"
|
||||||
|
".seq('MT_human', 100, 200)))"))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-cython))
|
(list python-cython python-setuptools))
|
||||||
(inputs
|
(inputs
|
||||||
(list zlib))
|
(list zlib))
|
||||||
(home-page "https://github.com/lh3/minimap2")
|
(home-page "https://github.com/lh3/minimap2")
|
||||||
|
|||||||
Reference in New Issue
Block a user