3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Remove python2-lirc.

* gnu/packages/lirc.scm (python2-lirc): Delete variable.
(python-lirc)[properties]: Delete field.
This commit is contained in:
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

View file

@ -133,17 +133,4 @@ on just one button press.")
(home-page "https://github.com/tompreston/python-lirc")
(synopsis "Python bindings for LIRC")
(description "@code{lirc} is a Python module which provides LIRC bindings.")
(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))))))
(license license:gpl3))))