guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ed21c87a71c7e186e931e707add197073bccdd37
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Oct 11 08:37:55 2025 +0100
gnu: python-intervaltree: Move to python-xyz.
* gnu/packages/bioinformatics.scm (python-intervaltree): Move from here ...
* gnu/packages/python-xyz.scm: ... to here.
Change-Id: I49d3e4959f2aff99fc3faf42b3f5dae60622ef47
---
gnu/packages/bioinformatics.scm | 38 --------------------------------------
gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c6f58f741b..1e5108335e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -20335,44 +20335,6 @@ provides a basic implementation of an interval tree
using C++ templates,
allowing the insertion of arbitrary types into the tree.")
(license license:expat))))
-(define-public python-intervaltree
- (package
- (name "python-intervaltree")
- (version "3.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "intervaltree" version))
- (sha256
- (base32
- "0bcm6c6r4ck9nfj9xwz4rm2swc5lrjvmw3lyl6rgj639jf41nawh"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; pytest seems to have a check to make sure the user is testing
- ;; their checked-out code and not an installed, potentially
- ;; out-of-date copy. This is harmless here, since we just installed
- ;; the package, so we disable the check to avoid skipping tests
- ;; entirely.
- (add-before 'check 'import-mismatch-error-workaround
- (lambda _
- (setenv "PY_IGNORE_IMPORTMISMATCH" "1")
- #t)))))
- (propagated-inputs
- (list python-sortedcontainers))
- (native-inputs
- (list python-pytest))
- (home-page "https://github.com/chaimleib/intervaltree")
- (synopsis "Editable interval tree data structure")
- (description
- "This package provides a mutable, self-balancing interval tree
-implementation for Python. Queries may be by point, by range overlap, or by
-range envelopment. This library was designed to allow tagging text and time
-intervals, where the intervals include the lower bound but not the upper
-bound.")
- (license license:asl2.0)))
-
(define-public python-pypairix
(package
(name "python-pypairix")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7ed1325311..ea5556d6d0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1138,6 +1138,44 @@ identities.")
activity monitor) library for Python.")
(license license:gpl2)))
+(define-public python-intervaltree
+ (package
+ (name "python-intervaltree")
+ (version "3.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "intervaltree" version))
+ (sha256
+ (base32
+ "0bcm6c6r4ck9nfj9xwz4rm2swc5lrjvmw3lyl6rgj639jf41nawh"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; pytest seems to have a check to make sure the user is testing
+ ;; their checked-out code and not an installed, potentially
+ ;; out-of-date copy. This is harmless here, since we just installed
+ ;; the package, so we disable the check to avoid skipping tests
+ ;; entirely.
+ (add-before 'check 'import-mismatch-error-workaround
+ (lambda _
+ (setenv "PY_IGNORE_IMPORTMISMATCH" "1")
+ #t)))))
+ (propagated-inputs
+ (list python-sortedcontainers))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/chaimleib/intervaltree")
+ (synopsis "Editable interval tree data structure")
+ (description
+ "This package provides a mutable, self-balancing interval tree
+implementation for Python. Queries may be by point, by range overlap, or by
+range envelopment. This library was designed to allow tagging text and time
+intervals, where the intervals include the lower bound but not the upper
+bound.")
+ (license license:asl2.0)))
+
(define-public python-jsonpath-ng
(package
(name "python-jsonpath-ng")