1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 20:10:39 +02:00

gnu: Remove python2-activepapers.

* gnu/packages/python-xyz.scm (python2-activepapers): Delete variable.
This commit is contained in:
Maxim Cournoyer 2022-04-29 17:41:34 -04:00
parent fa94ed5173
commit e75781ce7a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -22290,25 +22290,8 @@ Time} values as well as an event scheduler.")
combine data, code, and documentation in single-file packages,
suitable for publication as supplementary material or on repositories
such as figshare or Zenodo.")
(properties `((python2-variant . ,(delay python2-activepapers))))
(license license:bsd-3)))
(define-public python2-activepapers
(let ((base (package-with-python2
(strip-python2-variant python-activepapers))))
(package/inherit base
(arguments
(substitute-keyword-arguments (package-arguments base)
((#:phases phases)
`(modify-phases ,phases
(delete 'delete-python2-code)
(add-after 'unpack 'delete-python3-code
(lambda _
(for-each delete-file
'("lib/activepapers/builtins3.py"
"lib/activepapers/standardlib3.py"
"lib/activepapers/utility3.py")))))))))))
(define-public python-semver
(package
(name "python-semver")