me
/
guix
Archived
1
0
Fork 0

gnu: Remove python2-lirc.

* gnu/packages/lirc.scm (python2-lirc): Delete variable.
(python-lirc)[properties]: Delete field.
Maxim Cournoyer 2022-05-13 13:50:14 -04:00
parent fdf967e8fe
commit 0b478a5d70
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 14 deletions

View File

@ -133,17 +133,4 @@ on just one button press.")
(home-page "https://github.com/tompreston/python-lirc") (home-page "https://github.com/tompreston/python-lirc")
(synopsis "Python bindings for LIRC") (synopsis "Python bindings for LIRC")
(description "@code{lirc} is a Python module which provides LIRC bindings.") (description "@code{lirc} is a Python module which provides LIRC bindings.")
(license license:gpl3) (license license:gpl3))))
(properties `((python2-variant . ,(delay python2-lirc)))))))
(define-public python2-lirc
(let ((base (package-with-python2 (strip-python2-variant python-lirc))))
(package/inherit base
(arguments
`(#:tests? #f ; the only tests that exist are human-interactive
#:phases
(modify-phases %standard-phases
(add-before 'build 'build-from-cython-files
(lambda _ (invoke "make" "py2"))))))
(native-inputs
`(("python2-cython" ,python2-cython))))))