~ruther/guix-local

798427c6be075e28dd35237a3e6e9e29094a5377 — Sharlatan Hellseher 3 months ago f6280d1
gnu: Remove python-eventio-1.

* gnu/packages/astronomy.scm (python-eventio-1): Delete variable.

Fixes: guix/guix#5305
Change-Id: If753c3b722e748aafb52329e9fe8bab338617437
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 0 insertions(+), 29 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +0 -29
@@ 4707,35 4707,6 @@ tools for astronomers.")
     "Python read-only implementation of the @code{EventIO} file format.")
    (license license:expat)))

;; 2.0.0 introduced breaching changes in API.
(define-public python-eventio-1
  (package
    (inherit python-eventio)
    (name "python-eventio")
    (version "1.16.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/cta-observatory/pyeventio")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0jg2zgs0z5jfkdkbgxiiclxkyxrz4zhb57x1ji0c5pd2vsrn4g92"))))
    (arguments
     (list
      ;; tests: 136 passed, 3 skipped, 4 xfailed
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'set-env-version
            (lambda _
              (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
          (add-after 'unpack 'relax-requirements
            (lambda _
              (substitute* "pyproject.toml"
                (("corsikaio >= 0.3.3,<0.6.0")
                 "corsikaio >= 0.3.3")))))))))

(define-public python-extinction
  (package
    (name "python-extinction")