mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
Revert "gnu: python-yewtube: Drop phase 'fix-entry-points."
This reverts commit eee1ff3ae4.
This commit was intended for a different Python entry point
script template.
References: https://codeberg.org/guix/guix/pulls/5708
This commit is contained in:
@@ -6899,6 +6899,14 @@ can also directly record to WebM or MP4 if you prefer.")
|
|||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-entry-points
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.py"
|
||||||
|
;; main.py is in a "mps_youtube" and not in
|
||||||
|
;; "mps_youtube/main", see:
|
||||||
|
;; <https://github.com/mps-youtube/yewtube/pull/1334>.
|
||||||
|
(("yt = mps_youtube:main.main")
|
||||||
|
"yt = mps_youtube.main:main"))))
|
||||||
(add-after 'unpack 'relax-requirements
|
(add-after 'unpack 'relax-requirements
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "mps_youtube/__init__.py"
|
(substitute* "mps_youtube/__init__.py"
|
||||||
|
|||||||
Reference in New Issue
Block a user