From d59508b9b4e4a58a3e591ecd9b4bf7a6009cbc8b Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Fri, 26 Sep 2025 11:46:13 +0200 Subject: [PATCH] gnu: python-bcbio-gff: Update to 0.7.1. * gnu/packages/bioinformatics.scm (python-bcbio-gff): Update to 0.7.1. [source]: Switch to git-fetch. [arguments] <#:phases>: Enter correct directory. [propagated-inputs]: Remove python-setuptools and python-wheel. [native-inputs]: Add python-setuptools. Change-Id: Ie961c40e9335f31d512e23658cbc3269a61126d0 Signed-off-by: Sharlatan Hellseher --- gnu/packages/bioinformatics.scm | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index d3d50d30826e6e56927f96ed1daa102cf1a36620..5d218e6a6909a3b52a997f6af0f5e1b8cece6f19 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2204,26 +2204,38 @@ intended to behave exactly the same as the original BWK awk.") (define-public python-bcbio-gff (package (name "python-bcbio-gff") - (version "0.6.9") + ;; python-bcbio-gff can only be refreshed manually, because guix refresh + ;; does not understand the tags on the github repository. + (version "0.7.1") (source (origin - (method url-fetch) - (uri (pypi-uri "bcbio-gff" version)) + ;; No tests in PyPI package. + (method git-fetch) + (uri (git-reference + (url "https://github.com/chapmanb/bcbb") + (commit (string-append "bcbio-gff-v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1pm1szyxabhn8jismrj9cjhf88ajgcmm39f0cgf36iagw5qakprl")))) + "0144xxzibq4mrg8a1w2scs120rd9svq07hm5ccs91n3a4nvwjfsd")))) (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'enter-directory + (lambda _ (chdir "gff")))))) (native-inputs - (list python-pytest)) + (list python-setuptools python-pytest)) (propagated-inputs (list python-biopython - python-setuptools - python-six - python-wheel)) + python-six)) (home-page "https://github.com/chapmanb/bcbb/tree/master/gff") (synopsis "Read and write GFF files with Biopython integration") (description "This package lets you read and write files in Generic Feature Format (GFF) with Biopython integration.") + (properties + '((upstream-name . "bcbio-gff"))) (license (license:non-copyleft "http://www.biopython.org/DIST/LICENSE")))) (define-public python-bcbio-gff/biopython-1.73