gnu: Remove python-activepapers.

<https://issues.guix.gnu.org/68425>

This package fails to build and has been not maintained since 2017.

* gnu/packages/python-xyz.scm (python-activepapers): Remove variable.

Reported-by: Troy Figiel <troy@troyfigiel.com>
Change-Id: Id1e968cd4e06919a80ad05e5c8d3fb207426fdde
This commit is contained in:
Sharlatan Hellseher 2024-01-15 20:56:22 +00:00
parent 162d6a2fdd
commit 1e3f1f9f92
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -24135,58 +24135,6 @@ (define-public python-tempora
Time} values as well as an event scheduler.")
(license license:expat)))
(define-public python-activepapers
(package
(name "python-activepapers")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ActivePapers.Py" version))
(sha256
(base32
"12wkhjh90ffipjzv10swndp2xv9hd7xrxvg6v0n4n3i411pj4xb8"))))
(build-system python-build-system)
(arguments
`(#:modules ((ice-9 ftw)
(srfi srfi-1)
(guix build utils)
(guix build python-build-system))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'delete-python2-code
(lambda _
(for-each delete-file
'("lib/activepapers/builtins2.py"
"lib/activepapers/standardlib2.py"
"lib/activepapers/utility2.py"))))
(replace 'check
(lambda _
;; Deactivate the test cases that download files
(setenv "NO_NETWORK_ACCESS" "1")
;; For some strange reason, some tests fail if nosetests runs all
;; test modules in a single execution. They pass if each test
;; module is run individually.
(for-each (lambda (filename)
(invoke "nosetests"
(string-append "tests/" filename)))
(scandir "tests"
(lambda (filename)
(string-suffix? ".py" filename)))))))))
(native-inputs
(list python-tempdir python-nose))
(propagated-inputs
(list python-h5py))
(home-page "https://www.activepapers.org/")
(synopsis "Executable papers for scientific computing")
(description
"ActivePapers is a tool for working with executable papers, which
combine data, code, and documentation in single-file packages,
suitable for publication as supplementary material or on repositories
such as figshare or Zenodo.")
(license license:bsd-3)))
(define-public python-semver
(package
(name "python-semver")