mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: seqmagick: Fix build and remove python-nose.
* gnu/packages/bioinformatics.scm (seqmagick) [arguments]<#:phases>: Add phase 'set-version. [native-inputs]: Remove python-wheel. Replace python-nose by python-pynose. Change-Id: I5a10d7702d59c6f837761ff96e11f0ff470e0626 Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
988d0a2f74
commit
290a91c5cb
1 changed files with 23 additions and 5 deletions
|
|
@ -12056,16 +12056,34 @@ bioinformatics file formats, sequence alignment, and more.")
|
|||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/fhcrc/seqmagick")
|
||||
(commit commit)))
|
||||
(url "https://github.com/fhcrc/seqmagick")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0syipb7m44s5bqrhs17bwr28svy2s83j8d93kbazav92jzszzsw4"))))
|
||||
(build-system pyproject-build-system)
|
||||
(inputs
|
||||
(list python-biopython python-pygtrie))
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
;; Alternative of setup.py version check:
|
||||
;;
|
||||
;; subprocess.call(
|
||||
;; ('mkdir -p seqmagick/data && '
|
||||
;; 'git describe --tags --dirty > seqmagick/data/ver.tmp '
|
||||
;; '&& mv seqmagick/data/ver.tmp seqmagick/data/ver '
|
||||
;; '|| rm -f seqmagick/data/ver.tmp'),
|
||||
;; shell=True, stderr=open(os.devnull, "w"))
|
||||
;;
|
||||
(lambda _
|
||||
(mkdir "seqmagick/data")
|
||||
(with-output-to-file "seqmagick/data/ver"
|
||||
(lambda _ (display #$version))))))))
|
||||
(native-inputs
|
||||
(list python-nose python-setuptools python-wheel))
|
||||
(list python-pynose
|
||||
python-setuptools))
|
||||
(inputs (list python-biopython python-pygtrie))
|
||||
(home-page "https://github.com/fhcrc/seqmagick")
|
||||
(synopsis "Tools for converting and modifying sequence files")
|
||||
(description
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue