~ruther/guix-local

ec9fd2980f93f3193419c8b88ae1574c3c632604 — Sharlatan Hellseher a month ago 571bc15
gnu: python-dockerpty: Fix build.

* gnu/packages/docker.scm (python-dockerpty):
[build-system]: Switch to pyproject-build-system.
[arguments] <tests?>: Disable for now.
[native-inputs]: Add python-setuptools.

Fixes: guix/guix#5164
Change-Id: Ib8e1cb4658f28706b210c940f5fa6a08642a4874
1 files changed, 7 insertions(+), 2 deletions(-)

M gnu/packages/docker.scm
M gnu/packages/docker.scm => gnu/packages/docker.scm +7 -2
@@ 264,6 264,9 @@ management tool.")
     (modify-inputs (package-propagated-inputs python-docker)
       (prepend python-docker-pycreds python-urllib3-1.26)))))

;; Needed for old v1 of docker-compose; remove once Docker is updated to a
;; more recent version which has the command "docker compose" built-in, see:
;; <https://codeberg.org/guix/guix/milestone/30347>.
(define-public python-dockerpty
  (package
    (name "python-dockerpty")


@@ 275,9 278,11 @@ management tool.")
       (sha256
        (base32
         "1kjn64wx23jmr8dcc6g7bwlmrhfmxr77gh6iphqsl39sayfxdab9"))))
    (build-system python-build-system)
    (build-system pyproject-build-system)
    (arguments
     (list #:tests? #f)) ; XXX: Requires outdated python-expects
    (native-inputs
     (list python-six))
     (list python-setuptools python-six))
    (home-page "https://github.com/d11wtq/dockerpty")
    (synopsis "Python library to use the pseudo-TTY of a Docker container")
    (description "Docker PTY provides the functionality needed to operate the